diff options
Diffstat (limited to 'Source/WebKit/qt')
-rw-r--r-- | Source/WebKit/qt/ChangeLog | 79 | ||||
-rw-r--r-- | Source/WebKit/qt/WebCoreSupport/EditorClientQt.h | 1 | ||||
-rw-r--r-- | Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp | 3 | ||||
-rw-r--r-- | Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.cpp | 5 | ||||
-rw-r--r-- | Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.h | 1 | ||||
-rw-r--r-- | Source/WebKit/qt/declarative/experimental/plugin.cpp | 6 |
6 files changed, 92 insertions, 3 deletions
diff --git a/Source/WebKit/qt/ChangeLog b/Source/WebKit/qt/ChangeLog index 6881af4a1..34a01c83d 100644 --- a/Source/WebKit/qt/ChangeLog +++ b/Source/WebKit/qt/ChangeLog @@ -1,3 +1,82 @@ +2012-05-18 MORITA Hajime <morrita@google.com> + + https://bugs.webkit.org/show_bug.cgi?id=85515 + Stale frame in WebCore::SpellChecker::didCheckSucceeded + + Reviewed by Ryosuke Niwa. + + * WebCoreSupport/EditorClientQt.h: + (WebCore::EditorClientQt::frameWillDetachPage): + +2012-05-17 Hironori Bono <hbono@chromium.org> + + [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer + https://bugs.webkit.org/show_bug.cgi?id=86591 + + Reviewed by Ryosuke Niwa. + + This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection + function to remove platform-specific code from Editor::respondToChangedSelection + function. + + No new tests, no change in behavior. + + * WebCoreSupport/TextCheckerClientQt.cpp: + (WebCore::TextCheckerClientQt::shouldEraseMarkersAfterChangeSelection): + (WebCore): + * WebCoreSupport/TextCheckerClientQt.h: + (TextCheckerClientQt): + +2012-05-17 Dan Bernstein <mitz@apple.com> + + REGRESSION (r117428): WebKit API/SPI was removed + https://bugs.webkit.org/show_bug.cgi?id=86748 + + Reverted r117428. + + * WebCoreSupport/DumpRenderTreeSupportQt.cpp: + (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme): + * WebCoreSupport/DumpRenderTreeSupportQt.h: + +2012-05-17 Tsarko Yaroslav <eriktsarko@googlemail.com> + + Reviewed by Yury Semikhatsky. + + Bug 71271: [Qt] Web Inspector: local inspector client UI becomes unresponsive on debugger pause during + https://bugs.webkit.org/show_bug.cgi?id=71271 + + Web Inspector should not belong to any other page groups since it is a specialized debugger window. + The reason for this change is when debugger pauses web page it pauses all the pages in the page group of debuggee. + This leads that Web Inspector front-end is paused too leading to locked Web Inspector GUI (bugzilla ticket 71271). + + * WebCoreSupport/InspectorClientQt.cpp: + (WebCore::InspectorClientQt::openInspectorFrontend): + +2012-05-17 Gyuyoung Kim <gyuyoung.kim@samsung.com> + + Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface + https://bugs.webkit.org/show_bug.cgi?id=86704 + + Reviewed by Eric Seidel. + + Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the + cross-port way through the InternalSettings interface. + + * WebCoreSupport/DumpRenderTreeSupportQt.cpp: + * WebCoreSupport/DumpRenderTreeSupportQt.h: + +2012-05-15 Kenneth Rohde Christiansen <kenneth@webkit.org> + + [Qt] Add infra for testing double-tap to zoom functionality etc + https://bugs.webkit.org/show_bug.cgi?id=86474 + + Reviewed by Simon Hausmann. + + The WebViewportInfo class was renamed to QWebKitTest in preparation + of becoming a separate module. Adapt the use API. + + * declarative/experimental/plugin.cpp: + 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> Move resumeAnimations to use Internals interface diff --git a/Source/WebKit/qt/WebCoreSupport/EditorClientQt.h b/Source/WebKit/qt/WebCoreSupport/EditorClientQt.h index 7437533cd..a25795ea0 100644 --- a/Source/WebKit/qt/WebCoreSupport/EditorClientQt.h +++ b/Source/WebKit/qt/WebCoreSupport/EditorClientQt.h @@ -44,6 +44,7 @@ public: EditorClientQt(QWebPage* page); virtual void pageDestroyed(); + virtual void frameWillDetachPage(Frame*) { } virtual bool shouldDeleteRange(Range*); virtual bool shouldShowDeleteInterface(HTMLElement*); diff --git a/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp b/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp index a8ef7f2a3..de98817df 100644 --- a/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp +++ b/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp @@ -240,6 +240,9 @@ void InspectorClientQt::openInspectorFrontend(WebCore::InspectorController* insp m_frontendClient = frontendClient.get(); controller->setInspectorFrontendClient(frontendClient.release()); m_frontendWebPage = inspectorPage; + + // Web Inspector should not belong to any other page groups since it is a specialized debugger window. + m_frontendWebPage->handle()->page->setGroupName("__WebInspectorPageGroup__"); #endif } diff --git a/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.cpp b/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.cpp index d87992fd1..c00623cac 100644 --- a/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.cpp +++ b/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.cpp @@ -47,6 +47,11 @@ static void convertToVectorList(const QStringList& list, Vector<String>& vList) namespace WebCore { +bool TextCheckerClientQt::shouldEraseMarkersAfterChangeSelection(TextCheckingType) const +{ + return true; +} + void TextCheckerClientQt::ignoreWordInSpellDocument(const String& word) { if (!loadSpellChecker()) diff --git a/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.h b/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.h index ae419b250..22d728eb0 100644 --- a/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.h +++ b/Source/WebKit/qt/WebCoreSupport/TextCheckerClientQt.h @@ -41,6 +41,7 @@ namespace WebCore { class TextCheckerClientQt : public TextCheckerClient { public: + virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const; virtual void ignoreWordInSpellDocument(const String&); virtual void learnWord(const String&); virtual void checkSpellingOfString(const UChar*, int length, int* misspellingLocation, int* misspellingLength); diff --git a/Source/WebKit/qt/declarative/experimental/plugin.cpp b/Source/WebKit/qt/declarative/experimental/plugin.cpp index d33a47955..495b308c6 100644 --- a/Source/WebKit/qt/declarative/experimental/plugin.cpp +++ b/Source/WebKit/qt/declarative/experimental/plugin.cpp @@ -25,10 +25,10 @@ #include "private/qquickwebview_p.h" #include "private/qtwebsecurityorigin_p.h" #include "private/qwebdownloaditem_p.h" +#include "private/qwebkittest_p.h" #include "private/qwebnavigationhistory_p.h" #include "private/qwebpermissionrequest_p.h" #include "private/qwebpreferences_p.h" -#include "private/qwebviewportinfo_p.h" #include <QtQml/qqml.h> #include <QtQml/qqmlextensionplugin.h> @@ -63,8 +63,8 @@ public: qmlRegisterExtendedType<QQuickWebView, QQuickWebViewExperimentalExtension>(uri, 1, 0, "WebView"); qmlRegisterUncreatableType<QQuickWebViewExperimental>(uri, 1, 0, "WebViewExperimental", QObject::tr("Cannot create separate instance of WebViewExperimental")); - qmlRegisterUncreatableType<QWebViewportInfo>(uri, 1, 0, "QWebViewportInfo", - QObject::tr("Cannot create separate instance of QWebViewportInfo")); + qmlRegisterUncreatableType<QWebKitTest>(uri, 1, 0, "QWebKitTest", + QObject::tr("Cannot create separate instance of QWebKitTest")); qmlRegisterType<QQuickUrlSchemeDelegate>(uri, 1, 0, "UrlSchemeDelegate"); qmlRegisterUncreatableType<QQuickNetworkRequest>(uri, 1, 0, "NetworkRequest", QObject::tr("NetworkRequest should not be created from QML")); |