Changeset 57970 in webkit
- Timestamp:
- Apr 21, 2010 5:32:36 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r57969 r57970 1 2010-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 1 18 2010-04-21 Avi Drissman <avi@chromium.org> 2 19 -
trunk/WebCore/platform/efl/FileSystemEfl.cpp
r56825 r57970 90 90 } 91 91 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 119 92 bool unloadModule(PlatformModule module) 120 93 { -
trunk/WebCore/platform/efl/LocalizedStringsEfl.cpp
r55344 r57970 406 406 } 407 407 408 } 408 String missingPluginText() 409 { 410 return String::fromUTF8("Missing Plug-in"); 411 } 412 413 String crashedPluginText() 414 { 415 return String::fromUTF8("Plug-in Crashed"); 416 } 417 418 } -
trunk/WebCore/platform/efl/MIMETypeRegistryEfl.cpp
r55328 r57970 84 84 } 85 85 86 bool MIMETypeRegistry::isApplicationPluginMIMEType(const String&) 87 { 88 return false; 86 89 } 90 91 } -
trunk/WebCore/platform/graphics/efl/ImageEfl.cpp
r55526 r57970 31 31 32 32 #include "BitmapImage.h" 33 #include "SharedBuffer.h" 33 34 34 35 #include <cairo.h> -
trunk/WebKit/ChangeLog
r57716 r57970 1 2010-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 1 16 2010-04-15 Leandro Pereira <leandro@profusion.mobi> 2 17 -
trunk/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp
r57665 r57970 30 30 #include "FocusController.h" 31 31 #include "Frame.h" 32 #include "KeyboardCodes.h"33 32 #include "KeyboardEvent.h" 34 33 #include "NotImplemented.h" 35 34 #include "Page.h" 36 35 #include "PlatformKeyboardEvent.h" 36 #include "WindowsKeyboardCodes.h" 37 37 #include "ewk_private.h" 38 38 -
trunk/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp
r57716 r57970 36 36 #include "FrameLoaderClientEfl.h" 37 37 38 #include "CString.h"39 38 #include "DocumentLoader.h" 40 39 #include "EWebKit.h" … … 52 51 #include "ResourceRequest.h" 53 52 #include "ewk_private.h" 53 #include <wtf/text/CString.h> 54 54 55 55 #if PLATFORM(UNIX) … … 356 356 } 357 357 358 void FrameLoaderClientEfl::didTransferChildFrameToNewDocument() 359 { 360 } 361 358 362 void FrameLoaderClientEfl::redirectDataToPlugin(Widget* pluginWidget) 359 363 { … … 386 390 return ObjectContentImage; 387 391 392 #if 0 // PluginDatabase is disabled until we have Plugin system done. 388 393 if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(mimeType)) 389 394 return ObjectContentNetscapePlugin; 395 #endif 390 396 391 397 if (MIMETypeRegistry::isSupportedNonImageMIMEType(type)) … … 561 567 return; 562 568 ewk_view_title_set(m_view, cs.data()); 569 } 570 571 void FrameLoaderClientEfl::dispatchDidChangeIcons() 572 { 573 notImplemented(); 563 574 } 564 575 … … 632 643 return true; 633 644 645 #if 0 // PluginDatabase is disabled until we have Plugin system done. 634 646 if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(MIMEType)) 635 647 return true; 648 #endif 636 649 637 650 return false; -
trunk/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.h
r57716 r57970 103 103 virtual void dispatchDidStartProvisionalLoad(); 104 104 virtual void dispatchDidReceiveTitle(const String&); 105 virtual void dispatchDidChangeIcons(); 105 106 virtual void dispatchDidCommitLoad(); 106 107 virtual void dispatchDidFailProvisionalLoad(const ResourceError&); … … 133 134 virtual PassRefPtr<Frame> createFrame(const KURL& url, const String& name, HTMLFrameOwnerElement* ownerElement, 134 135 const String& referrer, bool allowsScrolling, int marginWidth, int marginHeight); 136 virtual void didTransferChildFrameToNewDocument(); 137 135 138 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const KURL&, const WTF::Vector<String>&, const WTF::Vector<String>&, const String&, bool); 136 139 virtual void redirectDataToPlugin(Widget* pluginWidget);
Note: See TracChangeset
for help on using the changeset viewer.