diff options
Diffstat (limited to 'WebKit/wx')
-rw-r--r-- | WebKit/wx/ChangeLog | 38 | ||||
-rw-r--r-- | WebKit/wx/WebEdit.cpp | 2 | ||||
-rw-r--r-- | WebKit/wx/WebFrame.cpp | 3 | ||||
-rw-r--r-- | WebKit/wx/WebFramePrivate.h | 4 | ||||
-rw-r--r-- | WebKit/wx/WebKitSupport/DragClientWx.h | 2 | ||||
-rw-r--r-- | WebKit/wx/WebKitSupport/EditorClientWx.cpp | 2 | ||||
-rw-r--r-- | WebKit/wx/WebKitSupport/EditorClientWx.h | 2 | ||||
-rw-r--r-- | WebKit/wx/WebKitSupport/FrameLoaderClientWx.h | 2 | ||||
-rw-r--r-- | WebKit/wx/WebKitSupport/InspectorClientWx.h | 2 | ||||
-rw-r--r-- | WebKit/wx/WebView.cpp | 4 | ||||
-rw-r--r-- | WebKit/wx/bindings/python/webview.i | 2 |
11 files changed, 52 insertions, 11 deletions
diff --git a/WebKit/wx/ChangeLog b/WebKit/wx/ChangeLog index 362f6e5..b66bf69 100644 --- a/WebKit/wx/ChangeLog +++ b/WebKit/wx/ChangeLog @@ -1,3 +1,41 @@ +2010-08-06 Gavin Barraclough <barraclough@apple.com> + + Rubber stamped by Sam Weinig + + Bug 43594 - Add string forwards to Forward.h + This allows us to remove forward declarations for these classes from + WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). + + * WebKitSupport/FrameLoaderClientWx.h: + * WebKitSupport/InspectorClientWx.h: + +2010-08-06 Jessie Berlin <jberlin@apple.com> + + Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build. + Unreviewed. + + * WebKitSupport/FrameLoaderClientWx.h: + * WebKitSupport/InspectorClientWx.h: + +2010-08-04 Kevin Ollivier <kevino@theolliviers.com> + + [wx] Build fix for gcc not importing all symbols from convenience libraries. + Works on 10.6 only for Mac until the build system is reworked. + + * bindings/python/webview.i: + +2010-08-03 Malcolm MacLeod <mmacleod@webmail.co.za> + + Reviewed by Kevin Ollivier. + + Fix crash during HitTest call. + https://bugs.webkit.org/show_bug.cgi?id=43372 + + * WebFrame.cpp: + (wxWebFrame::HitTest): + * WebView.cpp: + (wxWebViewDOMElementInfo::wxWebViewDOMElementInfo): + 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Darin Fisher. diff --git a/WebKit/wx/WebEdit.cpp b/WebKit/wx/WebEdit.cpp index ed2d0d4..22ad193 100644 --- a/WebKit/wx/WebEdit.cpp +++ b/WebKit/wx/WebEdit.cpp @@ -55,7 +55,7 @@ wxWebEditCommand::~wxWebEditCommand() void wxWebEditCommand::SetNodeAttribute(WebDOMElement* element, const wxString& name, const wxString& value) { if (m_impl) - m_impl->setElementAttribute(element->impl(), WebCore::QualifiedName(WebCore::nullAtom, WebCore::String(name), WebCore::nullAtom), WebCore::String(value)); + m_impl->setElementAttribute(element->impl(), WebCore::QualifiedName(WebCore::nullAtom, WTF::String(name), WebCore::nullAtom), WTF::String(value)); } void wxWebEditCommand::Apply() diff --git a/WebKit/wx/WebFrame.cpp b/WebKit/wx/WebFrame.cpp index b8d2ac2..182004b 100644 --- a/WebKit/wx/WebFrame.cpp +++ b/WebKit/wx/WebFrame.cpp @@ -164,7 +164,7 @@ void wxWebFrame::SetPageSource(const wxString& source, const wxString& baseUrl) const char* contents = charBuffer; WTF::PassRefPtr<WebCore::SharedBuffer> sharedBuffer = WebCore::SharedBuffer::create(contents, strlen(contents)); - WebCore::SubstituteData substituteData(sharedBuffer, WebCore::String("text/html"), WebCore::String("UTF-8"), WebCore::blankURL(), url); + WebCore::SubstituteData substituteData(sharedBuffer, WTF::String("text/html"), WTF::String("UTF-8"), WebCore::blankURL(), url); m_impl->frame->loader()->stop(); m_impl->frame->loader()->load(WebCore::ResourceRequest(url), substituteData, false); @@ -458,7 +458,6 @@ wxWebViewDOMElementInfo wxWebFrame::HitTest(const wxPoint& pos) const if (m_impl->frame->view()) { WebCore::HitTestResult result = m_impl->frame->eventHandler()->hitTestResultAtPoint(m_impl->frame->view()->windowToContents(pos), false); if (result.innerNode()) { - domInfo.SetInnerNode(new WebDOMNode(result.innerNode())); domInfo.SetLink(result.absoluteLinkURL().string()); domInfo.SetText(result.textContent()); domInfo.SetImageSrc(result.absoluteImageURL().string()); diff --git a/WebKit/wx/WebFramePrivate.h b/WebKit/wx/WebFramePrivate.h index 58bc40a..bee461d 100644 --- a/WebKit/wx/WebFramePrivate.h +++ b/WebKit/wx/WebFramePrivate.h @@ -48,10 +48,10 @@ class WebViewFrameData { public: WebCore::KURL url; - WebCore::String name; + WTF::String name; WebCore::HTMLFrameOwnerElement* ownerElement; - WebCore::String referrer; + WTF::String referrer; bool allowsScrolling; int marginWidth; int marginHeight; diff --git a/WebKit/wx/WebKitSupport/DragClientWx.h b/WebKit/wx/WebKitSupport/DragClientWx.h index 0e93e66..afb54fb 100644 --- a/WebKit/wx/WebKitSupport/DragClientWx.h +++ b/WebKit/wx/WebKitSupport/DragClientWx.h @@ -39,7 +39,7 @@ public: virtual WebCore::DragSourceAction dragSourceActionMaskForPoint(const WebCore::IntPoint&); virtual void startDrag(WebCore::DragImageRef dragImage, const WebCore::IntPoint& dragImageOrigin, const WebCore::IntPoint& eventPos, WebCore::Clipboard*, WebCore::Frame*, bool linkDrag = false); - virtual WebCore::DragImageRef createDragImageForLink(WebCore::KURL&, const WebCore::String& label, WebCore::Frame*); + virtual WebCore::DragImageRef createDragImageForLink(WebCore::KURL&, const WTF::String& label, WebCore::Frame*); }; } diff --git a/WebKit/wx/WebKitSupport/EditorClientWx.cpp b/WebKit/wx/WebKitSupport/EditorClientWx.cpp index 64bfd06..99afec8 100644 --- a/WebKit/wx/WebKitSupport/EditorClientWx.cpp +++ b/WebKit/wx/WebKitSupport/EditorClientWx.cpp @@ -532,7 +532,7 @@ void EditorClientWx::getGuessesForWord(const String&, Vector<String>& guesses) notImplemented(); } -String EditorClientWx::getAutoCorrectSuggestionForMisspelledWord(const WebCore::String&) +String EditorClientWx::getAutoCorrectSuggestionForMisspelledWord(const WTF::String&) { notImplemented(); return String(); diff --git a/WebKit/wx/WebKitSupport/EditorClientWx.h b/WebKit/wx/WebKitSupport/EditorClientWx.h index 8d69e36..be5c98a 100644 --- a/WebKit/wx/WebKitSupport/EditorClientWx.h +++ b/WebKit/wx/WebKitSupport/EditorClientWx.h @@ -108,7 +108,7 @@ public: virtual void showSpellingUI(bool show); virtual bool spellingUIIsShowing(); virtual void getGuessesForWord(const String&, Vector<String>& guesses); - virtual String getAutoCorrectSuggestionForMisspelledWord(const WebCore::String&); + virtual String getAutoCorrectSuggestionForMisspelledWord(const WTF::String&); virtual void willSetInputMethodState(); virtual void setInputMethodState(bool enabled); diff --git a/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h b/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h index 95ef2e6..0dee4bf 100644 --- a/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h +++ b/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h @@ -34,6 +34,7 @@ #include "PluginView.h" #include "ResourceResponse.h" #include "HTMLPlugInElement.h" +#include <wtf/Forward.h> class wxWebFrame; class wxWebView; @@ -45,7 +46,6 @@ namespace WebCore { class Element; class FormState; class NavigationAction; - class String; class ResourceLoader; struct LoadErrorResetToken; diff --git a/WebKit/wx/WebKitSupport/InspectorClientWx.h b/WebKit/wx/WebKitSupport/InspectorClientWx.h index 698a0f5..799e954 100644 --- a/WebKit/wx/WebKitSupport/InspectorClientWx.h +++ b/WebKit/wx/WebKitSupport/InspectorClientWx.h @@ -27,12 +27,12 @@ #define InspectorClientWx_h #include "InspectorClient.h" +#include <wtf/Forward.h> namespace WebCore { class Node; class Page; -class String; class InspectorClientWx : public InspectorClient { public: diff --git a/WebKit/wx/WebView.cpp b/WebKit/wx/WebView.cpp index 88d0ad9..3b0bcb0 100644 --- a/WebKit/wx/WebView.cpp +++ b/WebKit/wx/WebView.cpp @@ -235,7 +235,9 @@ wxWebViewDOMElementInfo::wxWebViewDOMElementInfo() : m_isSelected(false), m_text(wxEmptyString), m_imageSrc(wxEmptyString), - m_link(wxEmptyString) + m_link(wxEmptyString), + m_urlElement(NULL), + m_innerNode(NULL) { } diff --git a/WebKit/wx/bindings/python/webview.i b/WebKit/wx/bindings/python/webview.i index 15b1d93..58961c0 100644 --- a/WebKit/wx/bindings/python/webview.i +++ b/WebKit/wx/bindings/python/webview.i @@ -26,6 +26,8 @@ %module webview %{ +#include "config.h" + #include "wx/wxPython/wxPython.h" #include "wx/wxPython/pyclasses.h" #include "WebBrowserShell.h" |