diff options
Diffstat (limited to 'Source/WebKit/wince')
-rw-r--r-- | Source/WebKit/wince/ChangeLog | 93 | ||||
-rw-r--r-- | Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp | 10 | ||||
-rw-r--r-- | Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h | 7 | ||||
-rw-r--r-- | Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp | 19 | ||||
-rw-r--r-- | Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h | 5 | ||||
-rw-r--r-- | Source/WebKit/wince/WebView.cpp | 2 | ||||
-rw-r--r-- | Source/WebKit/wince/WebView.h | 4 |
7 files changed, 100 insertions, 40 deletions
diff --git a/Source/WebKit/wince/ChangeLog b/Source/WebKit/wince/ChangeLog index 5ca6d91b7..dce1b2225 100644 --- a/Source/WebKit/wince/ChangeLog +++ b/Source/WebKit/wince/ChangeLog @@ -1,3 +1,96 @@ +2012-05-04 Nate Chapin <japhet@chromium.org> + + Don't require FrameLoaderClient to manufacture a commitData() call for empty documents. + https://bugs.webkit.org/show_bug.cgi?id=85533 + + Reviewed by Alexey Proskuryakov. + + * WebCoreSupport/FrameLoaderClientWinCE.cpp: + (WebKit::FrameLoaderClientWinCE::finishedLoading): + +2012-04-18 Jon Honeycutt <jhoneycutt@apple.com> + + FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more + information about the form being submitted + https://bugs.webkit.org/show_bug.cgi?id=84297 + + Reviewed by Andy Estes. + + * WebCoreSupport/FrameLoaderClientWinCE.h: + (WebKit::FrameLoaderClientWinCE::dispatchWillSendSubmitEvent): + Updated method declaration. + +2012-03-30 Patrick Gansterer <paroga@webkit.org> + + [WinCE] Correct <wtf/*.h> include paths. + https://bugs.webkit.org/show_bug.cgi?id=82713 + + Reviewed by Eric Seidel. + + Modify the #include declarations for several WinCE-related files + so that the wtf types are included using the full path. + + * WebView.cpp: + * WebView.h: + +2012-03-28 Nate Chapin <japhet@chromium.org> + + Remove dispatchDidLoadMainResource callback, since no + port implements it. + https://bugs.webkit.org/show_bug.cgi?id=82539 + + Reviewed by Alexey Proskuryakov. + + * WebCoreSupport/FrameLoaderClientWinCE.cpp: + (WebKit): + * WebCoreSupport/FrameLoaderClientWinCE.h: + (FrameLoaderClientWinCE): + +2012-03-19 Adam Barth <abarth@webkit.org> + + Remove support for "magic" iframe + https://bugs.webkit.org/show_bug.cgi?id=81590 + + Reviewed by Eric Seidel. + + Remove FrameLoaderClient methods that no longer exist. + + * WebCoreSupport/FrameLoaderClientWinCE.cpp: + (WebKit): + * WebCoreSupport/FrameLoaderClientWinCE.h: + (FrameLoaderClientWinCE): + +2012-03-13 Jon Lee <jonlee@apple.com> + + Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS + https://bugs.webkit.org/show_bug.cgi?id=80922 + <rdar://problem/11035082> + + Reviewed by Jian Li. + + You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API. + LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the + new API. Therefore, APIs that are common between the two will have: + #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) + + This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to + the new API, the defines will begin to split. This allows ports to decide which set of APIs to include. + + Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) + * WebCoreSupport/ChromeClientWinCE.h: + (ChromeClientWinCE): + +2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com> + + Always enable ENABLE(CLIENT_BASED_GEOLOCATION) + https://bugs.webkit.org/show_bug.cgi?id=78853 + + Reviewed by Adam Barth. + + * WebCoreSupport/ChromeClientWinCE.cpp: + * WebCoreSupport/ChromeClientWinCE.h: + (ChromeClientWinCE): + 2012-03-09 Jon Lee <jonlee@apple.com> Rename NotificationPresenter to NotificationClient diff --git a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp index 6a0e25a4d..ac0b26da7 100644 --- a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp +++ b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp @@ -369,16 +369,6 @@ void ChromeClientWinCE::formStateDidChange(const Node*) notImplemented(); } -void ChromeClientWinCE::requestGeolocationPermissionForFrame(Frame*, Geolocation*) -{ - notImplemented(); -} - -void ChromeClientWinCE::cancelGeolocationPermissionRequestForFrame(Frame*, Geolocation*) -{ - notImplemented(); -} - bool ChromeClientWinCE::selectItemWritingDirectionIsNatural() { return false; diff --git a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h index 41792026b..57c2f9388 100644 --- a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h +++ b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h @@ -131,15 +131,10 @@ public: // for this origin. virtual void reachedApplicationCacheOriginQuota(WebCore::SecurityOrigin*, int64_t totalSpaceNeeded); -#if ENABLE(NOTIFICATIONS) +#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) virtual WebCore::NotificationClient* notificationPresenter() const; #endif - // This can be either a synchronous or asynchronous call. The ChromeClient can display UI asking the user for permission - // to use Geolocation. - virtual void requestGeolocationPermissionForFrame(WebCore::Frame*, WebCore::Geolocation*); - virtual void cancelGeolocationPermissionRequestForFrame(WebCore::Frame*, WebCore::Geolocation*); - virtual void runOpenPanel(WebCore::Frame*, PassRefPtr<WebCore::FileChooser>); // Asynchronous request to load an icon for specified filenames. virtual void loadIconForFiles(const Vector<WTF::String>&, WebCore::FileIconLoader*); diff --git a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp index 286f8b7f8..839f4b9b8 100644 --- a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp +++ b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp @@ -172,14 +172,6 @@ PassRefPtr<Frame> FrameLoaderClientWinCE::createFrame(const KURL& url, const Str return m_webView->createFrame(url, name, ownerElement, referrer, allowsScrolling, marginWidth, marginHeight); } -void FrameLoaderClientWinCE::didTransferChildFrameToNewDocument(Page*) -{ -} - -void FrameLoaderClientWinCE::transferLoadingResourceFromPage(ResourceLoader*, const WebCore::ResourceRequest&, Page*) -{ -} - void FrameLoaderClientWinCE::redirectDataToPlugin(Widget* pluginWidget) { ASSERT(!m_pluginView); @@ -404,11 +396,6 @@ void FrameLoaderClientWinCE::cancelPolicyCheck() notImplemented(); } -void FrameLoaderClientWinCE::dispatchDidLoadMainResource(DocumentLoader*) -{ - notImplemented(); -} - void FrameLoaderClientWinCE::revertToProvisionalState(DocumentLoader*) { notImplemented(); @@ -456,12 +443,10 @@ String FrameLoaderClientWinCE::generatedMIMETypeForURLScheme(const String&) cons return String(); } -void FrameLoaderClientWinCE::finishedLoading(DocumentLoader* documentLoader) +void FrameLoaderClientWinCE::finishedLoading(DocumentLoader*) { - if (!m_pluginView) { - documentLoader->writer()->setEncoding(m_response.textEncodingName(), false); + if (!m_pluginView) return; - } m_pluginView->didFinishLoading(); m_pluginView = 0; diff --git a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h index 8c2559abb..54e23926d 100644 --- a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h +++ b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h @@ -96,10 +96,9 @@ public: virtual void dispatchUnableToImplementPolicy(const WebCore::ResourceError&); - virtual void dispatchWillSendSubmitEvent(WebCore::HTMLFormElement*) { } + virtual void dispatchWillSendSubmitEvent(WTF::PassRefPtr<WebCore::FormState>) { } virtual void dispatchWillSubmitForm(WebCore::FramePolicyFunction, WTF::PassRefPtr<WebCore::FormState>); - virtual void dispatchDidLoadMainResource(WebCore::DocumentLoader*); virtual void revertToProvisionalState(WebCore::DocumentLoader*); virtual void setMainDocumentError(WebCore::DocumentLoader*, const WebCore::ResourceError&); @@ -109,8 +108,6 @@ public: virtual PassRefPtr<WebCore::Frame> createFrame(const WebCore::KURL& url, const WTF::String& name, WebCore::HTMLFrameOwnerElement* ownerElement, const WTF::String& referrer, bool allowsScrolling, int marginWidth, int marginHeight); - virtual void didTransferChildFrameToNewDocument(WebCore::Page*); - virtual void transferLoadingResourceFromPage(WebCore::ResourceLoader*, const WebCore::ResourceRequest&, WebCore::Page*); virtual PassRefPtr<WebCore::Widget> createPlugin(const WebCore::IntSize&, WebCore::HTMLPlugInElement*, const WebCore::KURL&, const WTF::Vector<WTF::String>&, const WTF::Vector<WTF::String>&, const WTF::String&, bool); virtual void redirectDataToPlugin(WebCore::Widget* pluginWidget); virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget(const WebCore::IntSize&, WebCore::HTMLAppletElement*, const WebCore::KURL& baseURL, const WTF::Vector<WTF::String>& paramNames, const WTF::Vector<WTF::String>& paramValues); diff --git a/Source/WebKit/wince/WebView.cpp b/Source/WebKit/wince/WebView.cpp index dde378f02..032a32f22 100644 --- a/Source/WebKit/wince/WebView.cpp +++ b/Source/WebKit/wince/WebView.cpp @@ -39,7 +39,6 @@ #include "InitializeThreading.h" #include "InspectorClientWinCE.h" #include "IntSize.h" -#include "MainThread.h" #include "NotImplemented.h" #include "Page.h" #include "PlatformKeyboardEvent.h" @@ -50,6 +49,7 @@ #include "Settings.h" #include "SharedBuffer.h" #include "WebCoreInstanceHandle.h" +#include <wtf/MainThread.h> using namespace WebCore; diff --git a/Source/WebKit/wince/WebView.h b/Source/WebKit/wince/WebView.h index c6e66849b..dc4006da5 100644 --- a/Source/WebKit/wince/WebView.h +++ b/Source/WebKit/wince/WebView.h @@ -26,8 +26,8 @@ #define WebView_h #include "IntRect.h" -#include "OwnPtr.h" -#include "PassRefPtr.h" +#include <wtf/OwnPtr.h> +#include <wtf/PassRefPtr.h> namespace WTF { class String; |