diff options
author | Ben Murdoch <benm@google.com> | 2011-06-02 12:07:03 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-06-10 10:47:21 +0100 |
commit | 2daae5fd11344eaa88a0d92b0f6d65f8d2255c00 (patch) | |
tree | e4964fbd1cb70599f7718ff03e50ea1dab33890b /Source/WebKit/wx | |
parent | 87bdf0060a247bfbe668342b87e0874182e0ffa9 (diff) | |
download | external_webkit-2daae5fd11344eaa88a0d92b0f6d65f8d2255c00.zip external_webkit-2daae5fd11344eaa88a0d92b0f6d65f8d2255c00.tar.gz external_webkit-2daae5fd11344eaa88a0d92b0f6d65f8d2255c00.tar.bz2 |
Merge WebKit at r84325: Initial merge by git.
Change-Id: Ic1a909300ecc0a13ddc6b4e784371d2ac6e3d59b
Diffstat (limited to 'Source/WebKit/wx')
-rw-r--r-- | Source/WebKit/wx/ChangeLog | 64 | ||||
-rw-r--r-- | Source/WebKit/wx/WebKitSupport/ChromeClientWx.cpp | 5 | ||||
-rw-r--r-- | Source/WebKit/wx/WebKitSupport/EditorClientWx.h | 2 | ||||
-rw-r--r-- | Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp | 9 | ||||
-rw-r--r-- | Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h | 4 | ||||
-rw-r--r-- | Source/WebKit/wx/WebView.cpp | 6 |
6 files changed, 76 insertions, 14 deletions
diff --git a/Source/WebKit/wx/ChangeLog b/Source/WebKit/wx/ChangeLog index 980fa8a..908e356 100644 --- a/Source/WebKit/wx/ChangeLog +++ b/Source/WebKit/wx/ChangeLog @@ -1,3 +1,67 @@ +2011-04-14 Kevin Ollivier <kevino@theolliviers.com> + + [wx] Unreviewed build fixes for wxMSW and wx 2.9.1.1. + + * WebKitSupport/ChromeClientWx.cpp: + (WebCore::ChromeClientWx::setCursor): + +2011-04-06 Malcolm MacLeod <malcolm.macleod@tshwanedje.com> + + Reviewed by Kevin Ollivier. + + [wx] Fix cursor handling so that we always call the chrome to set it. + + https://bugs.webkit.org/show_bug.cgi?id=57972 + + * WebKitSupport/ChromeClientWx.cpp: + (WebCore::ChromeClientWx::setCursor): + +2011-04-04 MORITA Hajime <morrita@google.com> + + Reviewed by Ryosuke Niwa. + + [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult + https://bugs.webkit.org/show_bug.cgi?id=56085 + + * WebKitSupport/EditorClientWx.h: + (WebCore::EditorClientWx::requestCheckingOfString): + +2011-04-04 Malcolm MacLeod <mmacleod@webmail.co.za> + + Reviewed by Kevin Ollivier. + + Move to using FrameView::resize to handle changes in view size. + + https://bugs.webkit.org/show_bug.cgi?id=57805 + + * WebView.cpp: + (wxWebView::OnSize): + +2011-04-04 Alexey Proskuryakov <ap@apple.com> + + Reviewed by Dan Bernstein. + + REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2 + https://bugs.webkit.org/show_bug.cgi?id=51230 + <rdar://problem/8780989> + + * WebView.cpp: (wxWebView::OnKeyEvents): Moved Caps Lock handling from + WebKits to WebCore, because WebKit shouldn't be smart. + +2011-03-31 Evan Martin <evan@chromium.org> + + Reviewed by Eric Seidel. + + <title> should support dir attribute + https://bugs.webkit.org/show_bug.cgi?id=50961 + + Update to new FrameLoaderClient interface. + + * WebKitSupport/FrameLoaderClientWx.cpp: + (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle): + (WebCore::FrameLoaderClientWx::setTitle): + * WebKitSupport/FrameLoaderClientWx.h: + 2011-03-25 Andy Estes <aestes@apple.com> Reviewed by Adele Peterson. diff --git a/Source/WebKit/wx/WebKitSupport/ChromeClientWx.cpp b/Source/WebKit/wx/WebKitSupport/ChromeClientWx.cpp index d525c09..19096de 100644 --- a/Source/WebKit/wx/WebKitSupport/ChromeClientWx.cpp +++ b/Source/WebKit/wx/WebKitSupport/ChromeClientWx.cpp @@ -460,9 +460,10 @@ void ChromeClientWx::chooseIconForFiles(const Vector<String>& filenames, FileCho chooser->iconLoaded(Icon::createIconForFiles(filenames)); } -void ChromeClientWx::setCursor(const Cursor&) +void ChromeClientWx::setCursor(const Cursor& cursor) { - notImplemented(); + if (m_webView && cursor.impl()) + m_webView->SetCursor(*cursor.impl()); } void ChromeClientWx::requestGeolocationPermissionForFrame(Frame*, Geolocation*) diff --git a/Source/WebKit/wx/WebKitSupport/EditorClientWx.h b/Source/WebKit/wx/WebKitSupport/EditorClientWx.h index d1d3597..65ee493 100644 --- a/Source/WebKit/wx/WebKitSupport/EditorClientWx.h +++ b/Source/WebKit/wx/WebKitSupport/EditorClientWx.h @@ -114,7 +114,7 @@ public: virtual void willSetInputMethodState(); virtual void setInputMethodState(bool enabled); - virtual void requestCheckingOfString(WebCore::SpellChecker*, int, const WTF::String&) {} + virtual void requestCheckingOfString(WebCore::SpellChecker*, int, WebCore::TextCheckingTypeMask, const WTF::String&) {} virtual TextCheckerClient* textChecker() { return this; } private: diff --git a/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp b/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp index afc255c..b408636 100644 --- a/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp +++ b/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp @@ -295,12 +295,13 @@ void FrameLoaderClientWx::dispatchDidStartProvisionalLoad() } -void FrameLoaderClientWx::dispatchDidReceiveTitle(const String& title) +void FrameLoaderClientWx::dispatchDidReceiveTitle(const StringWithDirection& title) { if (m_webView) { - m_webView->SetPageTitle(title); + // FIXME: use direction of title. + m_webView->SetPageTitle(title.string()); wxWebViewReceivedTitleEvent wkEvent(m_webView); - wkEvent.SetTitle(title); + wkEvent.SetTitle(title.string()); m_webView->GetEventHandler()->ProcessEvent(wkEvent); } } @@ -525,7 +526,7 @@ void FrameLoaderClientWx::prepareForDataSourceReplacement() } -void FrameLoaderClientWx::setTitle(const String& title, const KURL&) +void FrameLoaderClientWx::setTitle(const StringWithDirection& title, const KURL&) { notImplemented(); } diff --git a/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h b/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h index 254f95c..b28d389 100644 --- a/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h +++ b/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h @@ -103,7 +103,7 @@ namespace WebCore { virtual void dispatchWillClose(); virtual void dispatchDidReceiveIcon(); virtual void dispatchDidStartProvisionalLoad(); - virtual void dispatchDidReceiveTitle(const String& title); + virtual void dispatchDidReceiveTitle(const StringWithDirection& title); virtual void dispatchDidCommitLoad(); virtual void dispatchDidFinishDocumentLoad(); virtual void dispatchDidFinishLoad(); @@ -145,7 +145,7 @@ namespace WebCore { virtual void addHistoryItemForFragmentScroll(); virtual void didFinishLoad(); virtual void prepareForDataSourceReplacement(); - virtual void setTitle(const String& title, const KURL&); + virtual void setTitle(const StringWithDirection&, const KURL&); virtual String userAgent(const KURL&); diff --git a/Source/WebKit/wx/WebView.cpp b/Source/WebKit/wx/WebView.cpp index dab3225..acfd0ee 100644 --- a/Source/WebKit/wx/WebView.cpp +++ b/Source/WebKit/wx/WebView.cpp @@ -703,8 +703,7 @@ void wxWebView::OnSize(wxSizeEvent& event) { if (m_isInitialized && m_mainFrame) { WebCore::Frame* frame = m_mainFrame->GetFrame(); - frame->view()->setFrameRect(wxRect(wxPoint(0,0), event.GetSize())); - frame->view()->forceLayout(); + frame->view()->resize(event.GetSize()); frame->view()->adjustViewSize(); } @@ -895,9 +894,6 @@ void wxWebView::OnKeyEvents(wxKeyEvent& event) if (!(frame && frame->view())) return; - if (event.GetKeyCode() == WXK_CAPITAL) - frame->eventHandler()->capsLockStateMayHaveChanged(); - WebCore::PlatformKeyboardEvent wkEvent(event); if (frame->eventHandler()->keyEvent(wkEvent)) |