diff options
Diffstat (limited to 'Source/WebKit/wince')
8 files changed, 101 insertions, 21 deletions
diff --git a/Source/WebKit/wince/ChangeLog b/Source/WebKit/wince/ChangeLog index f44bddf..77d6ef3 100644 --- a/Source/WebKit/wince/ChangeLog +++ b/Source/WebKit/wince/ChangeLog @@ -1,3 +1,86 @@ +2011-02-10 Nate Chapin <japhet@chromium.org> + + Reviewed by Adam Barth. + + Update calls to DocumentWriter. + https://bugs.webkit.org/show_bug.cgi?id=50489 + + * WebCoreSupport/FrameLoaderClientWinCE.cpp: + (WebKit::FrameLoaderClientWinCE::finishedLoading): + +2011-02-08 Adam Barth <abarth@webkit.org> + + Reviewed by Eric Seidel. + + Remove orphan code from old parser + https://bugs.webkit.org/show_bug.cgi?id=53984 + + * WebCoreSupport/ChromeClientWinCE.cpp: + * WebCoreSupport/ChromeClientWinCE.h: + +2011-02-07 Enrica Casucci <enrica@apple.com> + + Reviewed Adam Roben and Darin Adler. + + WebKit2: drag and drop support on Windows. + https://bugs.webkit.org/show_bug.cgi?id=52775 + + Removed createDragImageForLink from DragClient. + + * WebCoreSupport/DragClientWinCE.cpp: + * WebCoreSupport/DragClientWinCE.h: + +2011-02-06 Patrick Gansterer <paroga@webkit.org> + + Reviewed by Martin Robinson. + + [WINCE] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader + https://bugs.webkit.org/show_bug.cgi?id=53896 + + * WebView.cpp: + (WebView::createFrame): Use coreFrame instead of childFrame. + +2011-02-03 Adam Langley <agl@chromium.org> + + Reviewed by Adam Barth. + + Plumb mixed script URL to FrameLoaderClient + https://bugs.webkit.org/show_bug.cgi?id=52384 + + Regressions covered by http/tests/security/mixedContent/* + + * WebCoreSupport/FrameLoaderClientWinCE.cpp: + (WebKit::FrameLoaderClientWinCE::didRunInsecureContent): + * WebCoreSupport/FrameLoaderClientWinCE.h: + +2011-02-02 Patrick Gansterer <paroga@webkit.org> + + Unreviewed WinCE build fix for r77398. + + * WebView.cpp: + (WebView::paint): + +2011-01-28 Dan Bernstein <mitz@apple.com> + + Reviewed by Sam Weinig. + + <select> can't display right-to-left (rtl) languages + https://bugs.webkit.org/show_bug.cgi?id=19785 + + * WebCoreSupport/ChromeClientWinCE.cpp: + (WebKit::ChromeClientWinCE::selectItemAlignmentFollowsMenuWritingDirection): Added. + * WebCoreSupport/ChromeClientWinCE.h: + +2011-01-25 Patrick Gansterer <paroga@webkit.org> + + Reviewed by Adam Roben. + + [WINCE] Ensure layouted frame when painting + https://bugs.webkit.org/show_bug.cgi?id=53108 + + * WebView.cpp: + (WebView::paint): + 2011-01-04 Patrick Gansterer <paroga@webkit.org> Unreviewed WinCE build fix. diff --git a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp index 659d246..3430c66 100644 --- a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp +++ b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.cpp @@ -370,11 +370,6 @@ void ChromeClientWinCE::formStateDidChange(const Node*) notImplemented(); } -PassOwnPtr<HTMLParserQuirks> ChromeClientWinCE::createHTMLParserQuirks() -{ - return 0; -} - void ChromeClientWinCE::requestGeolocationPermissionForFrame(Frame*, Geolocation*) { notImplemented(); @@ -390,6 +385,11 @@ bool ChromeClientWinCE::selectItemWritingDirectionIsNatural() return false; } +bool ChromeClientWinCE::selectItemAlignmentFollowsMenuWritingDirection() +{ + return false; +} + PassRefPtr<PopupMenu> ChromeClientWinCE::createPopupMenu(PopupMenuClient* client) const { return adoptRef(new PopupMenuWin(client)); diff --git a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h index 4e7fb28..781989d 100644 --- a/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h +++ b/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h @@ -154,8 +154,6 @@ public: // will be called frequently, so handling should be very fast. virtual void formStateDidChange(const WebCore::Node*); - virtual PassOwnPtr<WebCore::HTMLParserQuirks> createHTMLParserQuirks(); - #if USE(ACCELERATED_COMPOSITING) // Pass 0 as the GraphicsLayer to detatch the root layer. virtual void attachRootGraphicsLayer(WebCore::Frame*, WebCore::GraphicsLayer*); @@ -174,6 +172,7 @@ public: #endif virtual bool selectItemWritingDirectionIsNatural(); + virtual bool selectItemAlignmentFollowsMenuWritingDirection(); virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::PopupMenuClient*) const; virtual PassRefPtr<WebCore::SearchPopupMenu> createSearchPopupMenu(WebCore::PopupMenuClient*) const; diff --git a/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.cpp b/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.cpp index 1fc4379..904c61a 100644 --- a/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.cpp +++ b/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.cpp @@ -58,12 +58,6 @@ void DragClientWinCE::startDrag(DragImageRef, const IntPoint&, const IntPoint&, notImplemented(); } -DragImageRef DragClientWinCE::createDragImageForLink(KURL&, const String& label, Frame*) -{ - notImplemented(); - return 0; -} - void DragClientWinCE::dragControllerDestroyed() { delete this; diff --git a/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.h b/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.h index dc5168c..ec81f30 100644 --- a/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.h +++ b/Source/WebKit/wince/WebCoreSupport/DragClientWinCE.h @@ -38,7 +38,6 @@ public: virtual WebCore::DragSourceAction dragSourceActionMaskForPoint(const WebCore::IntPoint&); virtual void startDrag(WebCore::DragImageRef, const WebCore::IntPoint&, const WebCore::IntPoint&, WebCore::Clipboard*, WebCore::Frame*, bool = false); - virtual WebCore::DragImageRef createDragImageForLink(WebCore::KURL&, const WTF::String&, WebCore::Frame*); virtual void dragControllerDestroyed(); }; diff --git a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp index 6a8fb74..7d8f614 100644 --- a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp +++ b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.cpp @@ -265,7 +265,7 @@ void FrameLoaderClientWinCE::didDisplayInsecureContent() notImplemented(); } -void FrameLoaderClientWinCE::didRunInsecureContent(SecurityOrigin*) +void FrameLoaderClientWinCE::didRunInsecureContent(SecurityOrigin*, const KURL&) { notImplemented(); } @@ -450,8 +450,7 @@ String FrameLoaderClientWinCE::generatedMIMETypeForURLScheme(const String&) cons void FrameLoaderClientWinCE::finishedLoading(DocumentLoader* documentLoader) { if (!m_pluginView) { - FrameLoader* loader = documentLoader->frameLoader(); - loader->writer()->setEncoding(m_response.textEncodingName(), false); + documentLoader->writer()->setEncoding(m_response.textEncodingName(), false); return; } diff --git a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h index c4dcf6d..ed49d89 100644 --- a/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h +++ b/Source/WebKit/wince/WebCoreSupport/FrameLoaderClientWinCE.h @@ -140,7 +140,7 @@ public: virtual void dispatchDidChangeBackForwardIndex() const; virtual void didDisplayInsecureContent(); - virtual void didRunInsecureContent(WebCore::SecurityOrigin*); + virtual void didRunInsecureContent(WebCore::SecurityOrigin*, const WebCore::KURL&); virtual WebCore::ResourceError cancelledError(const WebCore::ResourceRequest&); virtual WebCore::ResourceError blockedError(const WebCore::ResourceRequest&); diff --git a/Source/WebKit/wince/WebView.cpp b/Source/WebKit/wince/WebView.cpp index ce90149..c21a7fd 100644 --- a/Source/WebKit/wince/WebView.cpp +++ b/Source/WebKit/wince/WebView.cpp @@ -169,7 +169,7 @@ PassRefPtr<Frame> WebView::createFrame(const KURL& url, const String& name, HTML if (!childFrame->page()) return 0; - childFrame->loader()->loadURLIntoChildFrame(url, referrer, childFrame.get()); + coreFrame->loader()->loadURLIntoChildFrame(url, referrer, childFrame.get()); // The frame's onload handler may have removed it from the document. if (!childFrame->tree()->parent()) @@ -232,11 +232,17 @@ void WebView::stop() void WebView::paint(HDC hDC, const IntRect& clipRect) { - OwnPtr<HRGN> clipRgn(CreateRectRgn(clipRect.x(), clipRect.y(), clipRect.right(), clipRect.bottom())); + FrameView* frameView = view(); + if (!frameView) + return; + + OwnPtr<HRGN> clipRgn(CreateRectRgn(clipRect.x(), clipRect.y(), clipRect.maxX(), clipRect.maxY())); SelectClipRgn(hDC, clipRgn.get()); + frameView->updateLayoutAndStyleIfNeededRecursive(); + GraphicsContext gc(hDC); - view()->paint(&gc, clipRect); + frameView->paint(&gc, clipRect); } bool WebView::handlePaint(HWND hWnd) |