Changeset 57970 in webkit


Ignore:
Timestamp:
Apr 21, 2010 5:32:36 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-21 Gustavo Sverzut Barbieri <barbieri@profusion.mobi>

Reviewed by Adam Roben.

Update EFL port to match recent API changes.
http://webkit.org/b/37853

No behavior changes, so no new tests were added.

  • platform/efl/FileSystemEfl.cpp:
  • platform/efl/LocalizedStringsEfl.cpp: (WebCore::missingPluginText): (WebCore::crashedPluginText):
  • platform/efl/MIMETypeRegistryEfl.cpp: (WebCore::MIMETypeRegistry::isApplicationPluginMIMEType):
  • platform/graphics/efl/ImageEfl.cpp:

2010-04-21 Gustavo Sverzut Barbieri <barbieri@profusion.mobi>

Reviewed by Adam Roben.

Update EFL port to match recent API changes.
http://webkit.org/b/37853

  • efl/WebCoreSupport/EditorClientEfl.cpp:
  • efl/WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument): (WebCore::FrameLoaderClientEfl::objectContentType): (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons): (WebCore::FrameLoaderClientEfl::canShowMIMEType):
  • efl/WebCoreSupport/FrameLoaderClientEfl.h:
Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57969 r57970  
     12010-04-21  Gustavo Sverzut Barbieri  <barbieri@profusion.mobi>
     2
     3        Reviewed by Adam Roben.
     4
     5        Update EFL port to match recent API changes.
     6        http://webkit.org/b/37853
     7
     8        No behavior changes, so no new tests were added.
     9
     10        * platform/efl/FileSystemEfl.cpp:
     11        * platform/efl/LocalizedStringsEfl.cpp:
     12        (WebCore::missingPluginText):
     13        (WebCore::crashedPluginText):
     14        * platform/efl/MIMETypeRegistryEfl.cpp:
     15        (WebCore::MIMETypeRegistry::isApplicationPluginMIMEType):
     16        * platform/graphics/efl/ImageEfl.cpp:
     17
    1182010-04-21  Avi Drissman  <avi@chromium.org>
    219
  • trunk/WebCore/platform/efl/FileSystemEfl.cpp

    r56825 r57970  
    9090}
    9191
    92 void closeFile(PlatformFileHandle& handle)
    93 {
    94     if (isHandleValid(handle)) {
    95         close(handle);
    96         handle = invalidPlatformFileHandle;
    97     }
    98 }
    99 
    100 int writeToFile(PlatformFileHandle handle, const char* data, int length)
    101 {
    102     size_t totalBytesWritten = 0;
    103     size_t todo = length;
    104     while (todo > 0) {
    105         ssize_t bytesWritten = write(handle, data, todo);
    106         if (bytesWritten < 0) {
    107             if (errno != EINTR && errno != EAGAIN)
    108                 return -1;
    109         } else if (bytesWritten > 0) {
    110             totalBytesWritten += bytesWritten;
    111             data += bytesWritten;
    112             todo -= bytesWritten;
    113         }
    114     }
    115 
    116     return totalBytesWritten;
    117 }
    118 
    11992bool unloadModule(PlatformModule module)
    12093{
  • trunk/WebCore/platform/efl/LocalizedStringsEfl.cpp

    r55344 r57970  
    406406}
    407407
    408 }
     408String missingPluginText()
     409{
     410    return String::fromUTF8("Missing Plug-in");
     411}
     412
     413String crashedPluginText()
     414{
     415    return String::fromUTF8("Plug-in Crashed");
     416}
     417
     418}
  • trunk/WebCore/platform/efl/MIMETypeRegistryEfl.cpp

    r55328 r57970  
    8484}
    8585
     86bool MIMETypeRegistry::isApplicationPluginMIMEType(const String&)
     87{
     88    return false;
    8689}
     90
     91}
  • trunk/WebCore/platform/graphics/efl/ImageEfl.cpp

    r55526 r57970  
    3131
    3232#include "BitmapImage.h"
     33#include "SharedBuffer.h"
    3334
    3435#include <cairo.h>
  • trunk/WebKit/ChangeLog

    r57716 r57970  
     12010-04-21  Gustavo Sverzut Barbieri  <barbieri@profusion.mobi>
     2
     3        Reviewed by Adam Roben.
     4
     5        Update EFL port to match recent API changes.
     6        http://webkit.org/b/37853
     7
     8        * efl/WebCoreSupport/EditorClientEfl.cpp:
     9        * efl/WebCoreSupport/FrameLoaderClientEfl.cpp:
     10        (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
     11        (WebCore::FrameLoaderClientEfl::objectContentType):
     12        (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
     13        (WebCore::FrameLoaderClientEfl::canShowMIMEType):
     14        * efl/WebCoreSupport/FrameLoaderClientEfl.h:
     15
    1162010-04-15  Leandro Pereira  <leandro@profusion.mobi>
    217
  • trunk/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp

    r57665 r57970  
    3030#include "FocusController.h"
    3131#include "Frame.h"
    32 #include "KeyboardCodes.h"
    3332#include "KeyboardEvent.h"
    3433#include "NotImplemented.h"
    3534#include "Page.h"
    3635#include "PlatformKeyboardEvent.h"
     36#include "WindowsKeyboardCodes.h"
    3737#include "ewk_private.h"
    3838
  • trunk/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp

    r57716 r57970  
    3636#include "FrameLoaderClientEfl.h"
    3737
    38 #include "CString.h"
    3938#include "DocumentLoader.h"
    4039#include "EWebKit.h"
     
    5251#include "ResourceRequest.h"
    5352#include "ewk_private.h"
     53#include <wtf/text/CString.h>
    5454
    5555#if PLATFORM(UNIX)
     
    356356}
    357357
     358void FrameLoaderClientEfl::didTransferChildFrameToNewDocument()
     359{
     360}
     361
    358362void FrameLoaderClientEfl::redirectDataToPlugin(Widget* pluginWidget)
    359363{
     
    386390        return ObjectContentImage;
    387391
     392#if 0 // PluginDatabase is disabled until we have Plugin system done.
    388393    if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(mimeType))
    389394        return ObjectContentNetscapePlugin;
     395#endif
    390396
    391397    if (MIMETypeRegistry::isSupportedNonImageMIMEType(type))
     
    561567        return;
    562568    ewk_view_title_set(m_view, cs.data());
     569}
     570
     571void FrameLoaderClientEfl::dispatchDidChangeIcons()
     572{
     573    notImplemented();
    563574}
    564575
     
    632643        return true;
    633644
     645#if 0 // PluginDatabase is disabled until we have Plugin system done.
    634646    if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(MIMEType))
    635647        return true;
     648#endif
    636649
    637650    return false;
  • trunk/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.h

    r57716 r57970  
    103103    virtual void dispatchDidStartProvisionalLoad();
    104104    virtual void dispatchDidReceiveTitle(const String&);
     105    virtual void dispatchDidChangeIcons();
    105106    virtual void dispatchDidCommitLoad();
    106107    virtual void dispatchDidFailProvisionalLoad(const ResourceError&);
     
    133134    virtual PassRefPtr<Frame> createFrame(const KURL& url, const String& name, HTMLFrameOwnerElement* ownerElement,
    134135                               const String& referrer, bool allowsScrolling, int marginWidth, int marginHeight);
     136    virtual void didTransferChildFrameToNewDocument();
     137
    135138    virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const KURL&, const WTF::Vector<String>&, const WTF::Vector<String>&, const String&, bool);
    136139    virtual void redirectDataToPlugin(Widget* pluginWidget);
Note: See TracChangeset for help on using the changeset viewer.