Remove Qt files from WebKit2.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Oct 2013 18:06:43 +0000 (18:06 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Oct 2013 18:06:43 +0000 (18:06 +0000)
Rubber-stomped by Andreas Kling.

* DerivedSources.pri: Removed.
* PluginProcess.pro: Removed.
* PluginProcess/qt/PluginControllerProxyQt.cpp: Removed.
* PluginProcess/qt/PluginProcessMainQt.cpp: Removed.
* PluginProcess/qt/PluginProcessQt.cpp: Removed.
* SandboxProcess.pro: Removed.
* Shared/API/c/qt/WKImageQt.cpp: Removed.
* Shared/API/c/qt/WKImageQt.h: Removed.
* Shared/Downloads/qt/DownloadQt.cpp: Removed.
* Shared/Downloads/qt/QtFileDownloader.cpp: Removed.
* Shared/Downloads/qt/QtFileDownloader.h: Removed.
* Shared/qt/ArgumentCodersQt.cpp: Removed.
* Shared/qt/ArgumentCodersQt.h: Removed.
* Shared/qt/LayerTreeContextQt.cpp: Removed.
* Shared/qt/NativeWebKeyboardEventQt.cpp: Removed.
* Shared/qt/NativeWebMouseEventQt.cpp: Removed.
* Shared/qt/NativeWebTouchEventQt.cpp: Removed.
* Shared/qt/NativeWebWheelEventQt.cpp: Removed.
* Shared/qt/PlatformCertificateInfo.h: Removed.
* Shared/qt/ProcessExecutablePathQt.cpp: Removed.
* Shared/qt/QtNetworkReplyData.cpp: Removed.
* Shared/qt/QtNetworkReplyData.h: Removed.
* Shared/qt/QtNetworkRequestData.cpp: Removed.
* Shared/qt/QtNetworkRequestData.h: Removed.
* Shared/qt/ShareableBitmapQt.cpp: Removed.
* Shared/qt/WebCoreArgumentCodersQt.cpp: Removed.
* Shared/qt/WebEventFactoryQt.cpp: Removed.
* Shared/qt/WebEventFactoryQt.h: Removed.
* Shared/qt/WebURLRequestQt.cpp: Removed.
* Shared/qt/WebURLResponseQt.cpp: Removed.
* Target.pri: Removed.
* UIProcess/API/C/qt/WKIconDatabaseQt.cpp: Removed.
* UIProcess/API/C/qt/WKIconDatabaseQt.h: Removed.
* UIProcess/API/C/qt/WKNativeEvent.h: Removed.
* UIProcess/API/cpp/qt/WKStringQt.cpp: Removed.
* UIProcess/API/cpp/qt/WKStringQt.h: Removed.
* UIProcess/API/cpp/qt/WKURLQt.cpp: Removed.
* UIProcess/API/cpp/qt/WKURLQt.h: Removed.
* UIProcess/API/qt/qquicknetworkreply.cpp: Removed.
* UIProcess/API/qt/qquicknetworkreply_p.h: Removed.
* UIProcess/API/qt/qquicknetworkrequest.cpp: Removed.
* UIProcess/API/qt/qquicknetworkrequest_p.h: Removed.
* UIProcess/API/qt/qquickurlschemedelegate.cpp: Removed.
* UIProcess/API/qt/qquickurlschemedelegate_p.h: Removed.
* UIProcess/API/qt/qquickwebpage.cpp: Removed.
* UIProcess/API/qt/qquickwebpage_p.h: Removed.
* UIProcess/API/qt/qquickwebpage_p_p.h: Removed.
* UIProcess/API/qt/qquickwebview.cpp: Removed.
* UIProcess/API/qt/qquickwebview_p.h: Removed.
* UIProcess/API/qt/qquickwebview_p_p.h: Removed.
* UIProcess/API/qt/qtwebsecurityorigin.cpp: Removed.
* UIProcess/API/qt/qtwebsecurityorigin_p.h: Removed.
* UIProcess/API/qt/qwebdownloaditem.cpp: Removed.
* UIProcess/API/qt/qwebdownloaditem_p.h: Removed.
* UIProcess/API/qt/qwebdownloaditem_p_p.h: Removed.
* UIProcess/API/qt/qwebiconimageprovider.cpp: Removed.
* UIProcess/API/qt/qwebiconimageprovider_p.h: Removed.
* UIProcess/API/qt/qwebkittest.cpp: Removed.
* UIProcess/API/qt/qwebkittest_p.h: Removed.
* UIProcess/API/qt/qwebloadrequest.cpp: Removed.
* UIProcess/API/qt/qwebloadrequest_p.h: Removed.
* UIProcess/API/qt/qwebnavigationhistory.cpp: Removed.
* UIProcess/API/qt/qwebnavigationhistory_p.h: Removed.
* UIProcess/API/qt/qwebnavigationhistory_p_p.h: Removed.
* UIProcess/API/qt/qwebnavigationrequest.cpp: Removed.
* UIProcess/API/qt/qwebnavigationrequest_p.h: Removed.
* UIProcess/API/qt/qwebpermissionrequest.cpp: Removed.
* UIProcess/API/qt/qwebpermissionrequest_p.h: Removed.
* UIProcess/API/qt/qwebpreferences.cpp: Removed.
* UIProcess/API/qt/qwebpreferences_p.h: Removed.
* UIProcess/API/qt/qwebpreferences_p_p.h: Removed.
* UIProcess/API/qt/raw/qrawwebview.cpp: Removed.
* UIProcess/API/qt/raw/qrawwebview_p.h: Removed.
* UIProcess/API/qt/raw/qrawwebview_p_p.h: Removed.
* UIProcess/API/qt/tests/bytearraytestdata.cpp: Removed.
* UIProcess/API/qt/tests/bytearraytestdata.h: Removed.
* UIProcess/API/qt/tests/html/basic_page.html: Removed.
* UIProcess/API/qt/tests/html/basic_page2.html: Removed.
* UIProcess/API/qt/tests/html/bluesquare.html: Removed.
* UIProcess/API/qt/tests/html/direct-image-compositing.html: Removed.
* UIProcess/API/qt/tests/html/inputmethod.html: Removed.
* UIProcess/API/qt/tests/html/redsquare.html: Removed.
* UIProcess/API/qt/tests/html/resources/qwkview_noBackground1.png: Removed.
* UIProcess/API/qt/tests/html/resources/qwkview_noBackground3.png: Removed.
* UIProcess/API/qt/tests/html/resources/qwkview_paint.png: Removed.
* UIProcess/API/qt/tests/html/resources/simple_image.png: Removed.
* UIProcess/API/qt/tests/html/scroll.html: Removed.
* UIProcess/API/qt/tests/inspectorserver/inspectorserver.pro: Removed.
* UIProcess/API/qt/tests/inspectorserver/tst_inspectorserver.cpp: Removed.
* UIProcess/API/qt/tests/publicapi/publicapi.pro: Removed.
* UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp: Removed.
* UIProcess/API/qt/tests/qmltests/DesktopBehavior.pro: Removed.
* UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml: Removed.
* UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml: Removed.
* UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView.pro: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_doubleTapToZoom.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_download.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_evaluateJavaScript.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_favIconLoad.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_findText.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_fitToView.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_geopermission.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_itemSelector.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_javaScriptDialogs.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_loadFail.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_loadHtml.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgress.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgressSignal.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_loadUrl.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_messaging.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_multiFileUpload.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_navigationHistory.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_notification.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_origin.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_preferences.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_properties.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_resize.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_singleFileUpload.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_titleChanged.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_userScripts.qml: Removed.
* UIProcess/API/qt/tests/qmltests/WebView/tst_wheelEventHandling.qml: Removed.
* UIProcess/API/qt/tests/qmltests/common/TestWebView.qml: Removed.
* UIProcess/API/qt/tests/qmltests/common/alert.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/append-document-title.js: Removed.
* UIProcess/API/qt/tests/qmltests/common/big-user-script.js: Removed.
* UIProcess/API/qt/tests/qmltests/common/change-document-title.js: Removed.
* UIProcess/API/qt/tests/qmltests/common/colorChooser.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/confirm.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/download.zip: Removed.
* UIProcess/API/qt/tests/qmltests/common/evaluatejavascript.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/favicon.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/favicon.png: Removed.
* UIProcess/API/qt/tests/qmltests/common/favicon2.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/font-preferences.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/geolocation.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/javascript.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/link.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/localStorage.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/messaging.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/multifileupload.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/notification.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/prompt.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/qrctest.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/redirect.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/select.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/selectwithsize.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/singlefileupload.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/small-favicon.png: Removed.
* UIProcess/API/qt/tests/qmltests/common/test1.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/test2.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/test3.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/test4.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/test5.html: Removed.
* UIProcess/API/qt/tests/qmltests/common/titleupdate.js: Removed.
* UIProcess/API/qt/tests/qmltests/qmltests.pro: Removed.
* UIProcess/API/qt/tests/qmltests/resources.qrc: Removed.
* UIProcess/API/qt/tests/qmltests/tst_qmltests.cpp: Removed.
* UIProcess/API/qt/tests/qquickwebview/qquickwebview.pro: Removed.
* UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp: Removed.
* UIProcess/API/qt/tests/qrawwebview/qrawwebview.pro: Removed.
* UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp: Removed.
* UIProcess/API/qt/tests/tests.pri: Removed.
* UIProcess/API/qt/tests/testwindow.h: Removed.
* UIProcess/API/qt/tests/util.cpp: Removed.
* UIProcess/API/qt/tests/util.h: Removed.
* UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp: Removed.
* UIProcess/InspectorServer/qt/WebSocketServerQt.cpp: Removed.
* UIProcess/InspectorServer/qt/WebSocketServerQt.h: Removed.
* UIProcess/Launcher/qt/ProcessLauncherQt.cpp: Removed.
* UIProcess/Plugins/qt/PluginProcessProxyQt.cpp: Removed.
* UIProcess/qt/BackingStoreQt.cpp: Removed.
* UIProcess/qt/PageViewportControllerClientQt.cpp: Removed.
* UIProcess/qt/PageViewportControllerClientQt.h: Removed.
* UIProcess/qt/QtDialogRunner.cpp: Removed.
* UIProcess/qt/QtDialogRunner.h: Removed.
* UIProcess/qt/QtDownloadManager.cpp: Removed.
* UIProcess/qt/QtDownloadManager.h: Removed.
* UIProcess/qt/QtGestureRecognizer.cpp: Removed.
* UIProcess/qt/QtGestureRecognizer.h: Removed.
* UIProcess/qt/QtPageClient.cpp: Removed.
* UIProcess/qt/QtPageClient.h: Removed.
* UIProcess/qt/QtPanGestureRecognizer.cpp: Removed.
* UIProcess/qt/QtPanGestureRecognizer.h: Removed.
* UIProcess/qt/QtPinchGestureRecognizer.cpp: Removed.
* UIProcess/qt/QtPinchGestureRecognizer.h: Removed.
* UIProcess/qt/QtTapGestureRecognizer.cpp: Removed.
* UIProcess/qt/QtTapGestureRecognizer.h: Removed.
* UIProcess/qt/QtWebContext.cpp: Removed.
* UIProcess/qt/QtWebContext.h: Removed.
* UIProcess/qt/QtWebError.cpp: Removed.
* UIProcess/qt/QtWebError.h: Removed.
* UIProcess/qt/QtWebIconDatabaseClient.cpp: Removed.
* UIProcess/qt/QtWebIconDatabaseClient.h: Removed.
* UIProcess/qt/QtWebPageEventHandler.cpp: Removed.
* UIProcess/qt/QtWebPageEventHandler.h: Removed.
* UIProcess/qt/QtWebPagePolicyClient.cpp: Removed.
* UIProcess/qt/QtWebPagePolicyClient.h: Removed.
* UIProcess/qt/QtWebPageSGNode.cpp: Removed.
* UIProcess/qt/QtWebPageSGNode.h: Removed.
* UIProcess/qt/QtWebPageUIClient.cpp: Removed.
* UIProcess/qt/QtWebPageUIClient.h: Removed.
* UIProcess/qt/TextCheckerQt.cpp: Removed.
* UIProcess/qt/WebColorPickerQt.cpp: Removed.
* UIProcess/qt/WebColorPickerQt.h: Removed.
* UIProcess/qt/WebContextMenuProxyQt.cpp: Removed.
* UIProcess/qt/WebContextMenuProxyQt.h: Removed.
* UIProcess/qt/WebContextQt.cpp: Removed.
* UIProcess/qt/WebFullScreenManagerProxyQt.cpp: Removed.
* UIProcess/qt/WebGeolocationProviderQt.cpp: Removed.
* UIProcess/qt/WebGeolocationProviderQt.h: Removed.
* UIProcess/qt/WebInspectorProxyQt.cpp: Removed.
* UIProcess/qt/WebPageProxyQt.cpp: Removed.
* UIProcess/qt/WebPopupMenuProxyQt.cpp: Removed.
* UIProcess/qt/WebPopupMenuProxyQt.h: Removed.
* UIProcess/qt/WebPreferencesQt.cpp: Removed.
* UIProcess/qt/WebProcessProxyQt.cpp: Removed.
* WebKit2.pri: Removed.
* WebKit2.pro: Removed.
* WebProcess.pro: Removed.
* WebProcess/Cookies/qt/WebCookieManagerQt.cpp: Removed.
* WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp: Removed.
* WebProcess/Plugins/Netscape/qt/PluginProxyQt.cpp: Removed.
* WebProcess/WebCoreSupport/qt/WebContextMenuClientQt.cpp: Removed.
* WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp: Removed.
* WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp: Removed.
* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp: Removed.
* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h: Removed.
* WebProcess/WebCoreSupport/qt/WebPopupMenuQt.cpp: Removed.
* WebProcess/WebPage/qt/WebInspectorQt.cpp: Removed.
* WebProcess/WebPage/qt/WebPageQt.cpp: Removed.
* WebProcess/qt/QtBuiltinBundle.cpp: Removed.
* WebProcess/qt/QtBuiltinBundle.h: Removed.
* WebProcess/qt/QtBuiltinBundlePage.cpp: Removed.
* WebProcess/qt/QtBuiltinBundlePage.h: Removed.
* WebProcess/qt/QtNetworkAccessManager.cpp: Removed.
* WebProcess/qt/QtNetworkAccessManager.h: Removed.
* WebProcess/qt/QtNetworkReply.cpp: Removed.
* WebProcess/qt/QtNetworkReply.h: Removed.
* WebProcess/qt/SeccompFiltersWebProcessQt.cpp: Removed.
* WebProcess/qt/SeccompFiltersWebProcessQt.h: Removed.
* WebProcess/qt/WebProcessMainQt.cpp: Removed.
* WebProcess/qt/WebProcessQt.cpp: Removed.
* qt/MainQt.cpp: Removed.
* qt/PluginMainQt.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156845 268f45cc-cd09-0410-ab3c-d52691b4dbfc

248 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/DerivedSources.pri [deleted file]
Source/WebKit2/PluginProcess.pro [deleted file]
Source/WebKit2/PluginProcess/qt/PluginControllerProxyQt.cpp [deleted file]
Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp [deleted file]
Source/WebKit2/PluginProcess/qt/PluginProcessQt.cpp [deleted file]
Source/WebKit2/SandboxProcess.pro [deleted file]
Source/WebKit2/Shared/API/c/qt/WKImageQt.cpp [deleted file]
Source/WebKit2/Shared/API/c/qt/WKImageQt.h [deleted file]
Source/WebKit2/Shared/Downloads/qt/DownloadQt.cpp [deleted file]
Source/WebKit2/Shared/Downloads/qt/QtFileDownloader.cpp [deleted file]
Source/WebKit2/Shared/Downloads/qt/QtFileDownloader.h [deleted file]
Source/WebKit2/Shared/qt/ArgumentCodersQt.cpp [deleted file]
Source/WebKit2/Shared/qt/ArgumentCodersQt.h [deleted file]
Source/WebKit2/Shared/qt/LayerTreeContextQt.cpp [deleted file]
Source/WebKit2/Shared/qt/NativeWebKeyboardEventQt.cpp [deleted file]
Source/WebKit2/Shared/qt/NativeWebMouseEventQt.cpp [deleted file]
Source/WebKit2/Shared/qt/NativeWebTouchEventQt.cpp [deleted file]
Source/WebKit2/Shared/qt/NativeWebWheelEventQt.cpp [deleted file]
Source/WebKit2/Shared/qt/PlatformCertificateInfo.h [deleted file]
Source/WebKit2/Shared/qt/ProcessExecutablePathQt.cpp [deleted file]
Source/WebKit2/Shared/qt/QtNetworkReplyData.cpp [deleted file]
Source/WebKit2/Shared/qt/QtNetworkReplyData.h [deleted file]
Source/WebKit2/Shared/qt/QtNetworkRequestData.cpp [deleted file]
Source/WebKit2/Shared/qt/QtNetworkRequestData.h [deleted file]
Source/WebKit2/Shared/qt/ShareableBitmapQt.cpp [deleted file]
Source/WebKit2/Shared/qt/WebCoreArgumentCodersQt.cpp [deleted file]
Source/WebKit2/Shared/qt/WebEventFactoryQt.cpp [deleted file]
Source/WebKit2/Shared/qt/WebEventFactoryQt.h [deleted file]
Source/WebKit2/Shared/qt/WebURLRequestQt.cpp [deleted file]
Source/WebKit2/Shared/qt/WebURLResponseQt.cpp [deleted file]
Source/WebKit2/Target.pri [deleted file]
Source/WebKit2/UIProcess/API/C/qt/WKIconDatabaseQt.cpp [deleted file]
Source/WebKit2/UIProcess/API/C/qt/WKIconDatabaseQt.h [deleted file]
Source/WebKit2/UIProcess/API/C/qt/WKNativeEvent.h [deleted file]
Source/WebKit2/UIProcess/API/cpp/qt/WKStringQt.cpp [deleted file]
Source/WebKit2/UIProcess/API/cpp/qt/WKStringQt.h [deleted file]
Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.cpp [deleted file]
Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qquicknetworkreply.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qquicknetworkreply_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qquicknetworkrequest.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qquicknetworkrequest_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickurlschemedelegate.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickurlschemedelegate_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickwebpage.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickwebpage_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickwebpage_p_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickwebview_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qquickwebview_p_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qtwebsecurityorigin.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qtwebsecurityorigin_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebdownloaditem.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebdownloaditem_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebdownloaditem_p_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebkittest_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebloadrequest.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebloadrequest_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebnavigationhistory.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebnavigationhistory_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebnavigationhistory_p_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebnavigationrequest.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebnavigationrequest_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebpermissionrequest.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebpermissionrequest_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebpreferences.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebpreferences_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/qwebpreferences_p_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/raw/qrawwebview_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/raw/qrawwebview_p_p.h [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/bytearraytestdata.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/bytearraytestdata.h [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/basic_page.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/basic_page2.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/bluesquare.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/direct-image-compositing.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/inputmethod.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/redsquare.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/resources/qwkview_noBackground1.png [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/resources/qwkview_noBackground3.png [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/resources/qwkview_paint.png [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/resources/simple_image.png [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/html/scroll.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/inspectorserver/inspectorserver.pro [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/inspectorserver/tst_inspectorserver.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/publicapi/publicapi.pro [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior.pro [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView.pro [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_doubleTapToZoom.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_download.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_evaluateJavaScript.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_favIconLoad.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_findText.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_fitToView.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_geopermission.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_itemSelector.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_javaScriptDialogs.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_loadFail.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_loadHtml.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgress.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgressSignal.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_loadUrl.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_messaging.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_multiFileUpload.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_navigationHistory.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_notification.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_origin.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_preferences.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_properties.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_resize.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_singleFileUpload.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_titleChanged.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_userScripts.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_wheelEventHandling.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/TestWebView.qml [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/alert.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/append-document-title.js [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/big-user-script.js [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/change-document-title.js [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/colorChooser.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/confirm.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/download.zip [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/evaluatejavascript.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/favicon.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/favicon.png [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/favicon2.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/font-preferences.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/geolocation.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/javascript.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/link.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/localStorage.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/messaging.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/multifileupload.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/notification.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/prompt.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/qrctest.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/redirect.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/select.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/selectwithsize.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/singlefileupload.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/small-favicon.png [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/test1.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/test2.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/test3.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/test4.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/test5.html [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/titleupdate.js [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/qmltests.pro [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/resources.qrc [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qmltests/tst_qmltests.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qquickwebview/qquickwebview.pro [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/qrawwebview.pro [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/tests.pri [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/testwindow.h [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/util.cpp [deleted file]
Source/WebKit2/UIProcess/API/qt/tests/util.h [deleted file]
Source/WebKit2/UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp [deleted file]
Source/WebKit2/UIProcess/InspectorServer/qt/WebSocketServerQt.cpp [deleted file]
Source/WebKit2/UIProcess/InspectorServer/qt/WebSocketServerQt.h [deleted file]
Source/WebKit2/UIProcess/Launcher/qt/ProcessLauncherQt.cpp [deleted file]
Source/WebKit2/UIProcess/Plugins/qt/PluginProcessProxyQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/BackingStoreQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/PageViewportControllerClientQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/PageViewportControllerClientQt.h [deleted file]
Source/WebKit2/UIProcess/qt/QtDialogRunner.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtDialogRunner.h [deleted file]
Source/WebKit2/UIProcess/qt/QtDownloadManager.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtDownloadManager.h [deleted file]
Source/WebKit2/UIProcess/qt/QtGestureRecognizer.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtGestureRecognizer.h [deleted file]
Source/WebKit2/UIProcess/qt/QtPageClient.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtPageClient.h [deleted file]
Source/WebKit2/UIProcess/qt/QtPanGestureRecognizer.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtPanGestureRecognizer.h [deleted file]
Source/WebKit2/UIProcess/qt/QtPinchGestureRecognizer.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtPinchGestureRecognizer.h [deleted file]
Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.h [deleted file]
Source/WebKit2/UIProcess/qt/QtWebContext.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtWebContext.h [deleted file]
Source/WebKit2/UIProcess/qt/QtWebError.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtWebError.h [deleted file]
Source/WebKit2/UIProcess/qt/QtWebIconDatabaseClient.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtWebIconDatabaseClient.h [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.h [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPagePolicyClient.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPagePolicyClient.h [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPageSGNode.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPageSGNode.h [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPageUIClient.cpp [deleted file]
Source/WebKit2/UIProcess/qt/QtWebPageUIClient.h [deleted file]
Source/WebKit2/UIProcess/qt/TextCheckerQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebColorPickerQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebColorPickerQt.h [deleted file]
Source/WebKit2/UIProcess/qt/WebContextMenuProxyQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebContextMenuProxyQt.h [deleted file]
Source/WebKit2/UIProcess/qt/WebContextQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebFullScreenManagerProxyQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebGeolocationProviderQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebGeolocationProviderQt.h [deleted file]
Source/WebKit2/UIProcess/qt/WebInspectorProxyQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebPageProxyQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebPopupMenuProxyQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebPopupMenuProxyQt.h [deleted file]
Source/WebKit2/UIProcess/qt/WebPreferencesQt.cpp [deleted file]
Source/WebKit2/UIProcess/qt/WebProcessProxyQt.cpp [deleted file]
Source/WebKit2/WebKit2.pri [deleted file]
Source/WebKit2/WebKit2.pro [deleted file]
Source/WebKit2/WebProcess.pro [deleted file]
Source/WebKit2/WebProcess/Cookies/qt/WebCookieManagerQt.cpp [deleted file]
Source/WebKit2/WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp [deleted file]
Source/WebKit2/WebProcess/Plugins/Netscape/qt/PluginProxyQt.cpp [deleted file]
Source/WebKit2/WebProcess/WebCoreSupport/qt/WebContextMenuClientQt.cpp [deleted file]
Source/WebKit2/WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp [deleted file]
Source/WebKit2/WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp [deleted file]
Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp [deleted file]
Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h [deleted file]
Source/WebKit2/WebProcess/WebCoreSupport/qt/WebPopupMenuQt.cpp [deleted file]
Source/WebKit2/WebProcess/WebPage/qt/WebInspectorQt.cpp [deleted file]
Source/WebKit2/WebProcess/WebPage/qt/WebPageQt.cpp [deleted file]
Source/WebKit2/WebProcess/qt/QtBuiltinBundle.cpp [deleted file]
Source/WebKit2/WebProcess/qt/QtBuiltinBundle.h [deleted file]
Source/WebKit2/WebProcess/qt/QtBuiltinBundlePage.cpp [deleted file]
Source/WebKit2/WebProcess/qt/QtBuiltinBundlePage.h [deleted file]
Source/WebKit2/WebProcess/qt/QtNetworkAccessManager.cpp [deleted file]
Source/WebKit2/WebProcess/qt/QtNetworkAccessManager.h [deleted file]
Source/WebKit2/WebProcess/qt/QtNetworkReply.cpp [deleted file]
Source/WebKit2/WebProcess/qt/QtNetworkReply.h [deleted file]
Source/WebKit2/WebProcess/qt/SeccompFiltersWebProcessQt.cpp [deleted file]
Source/WebKit2/WebProcess/qt/SeccompFiltersWebProcessQt.h [deleted file]
Source/WebKit2/WebProcess/qt/WebProcessMainQt.cpp [deleted file]
Source/WebKit2/WebProcess/qt/WebProcessQt.cpp [deleted file]
Source/WebKit2/qt/MainQt.cpp [deleted file]
Source/WebKit2/qt/PluginMainQt.cpp [deleted file]

index deaac6d..fc20eb1 100644 (file)
@@ -1,3 +1,257 @@
+2013-10-03  Anders Carlsson  <andersca@apple.com>
+
+        Remove Qt files from WebKit2.
+
+        Rubber-stomped by Andreas Kling.
+
+        * DerivedSources.pri: Removed.
+        * PluginProcess.pro: Removed.
+        * PluginProcess/qt/PluginControllerProxyQt.cpp: Removed.
+        * PluginProcess/qt/PluginProcessMainQt.cpp: Removed.
+        * PluginProcess/qt/PluginProcessQt.cpp: Removed.
+        * SandboxProcess.pro: Removed.
+        * Shared/API/c/qt/WKImageQt.cpp: Removed.
+        * Shared/API/c/qt/WKImageQt.h: Removed.
+        * Shared/Downloads/qt/DownloadQt.cpp: Removed.
+        * Shared/Downloads/qt/QtFileDownloader.cpp: Removed.
+        * Shared/Downloads/qt/QtFileDownloader.h: Removed.
+        * Shared/qt/ArgumentCodersQt.cpp: Removed.
+        * Shared/qt/ArgumentCodersQt.h: Removed.
+        * Shared/qt/LayerTreeContextQt.cpp: Removed.
+        * Shared/qt/NativeWebKeyboardEventQt.cpp: Removed.
+        * Shared/qt/NativeWebMouseEventQt.cpp: Removed.
+        * Shared/qt/NativeWebTouchEventQt.cpp: Removed.
+        * Shared/qt/NativeWebWheelEventQt.cpp: Removed.
+        * Shared/qt/PlatformCertificateInfo.h: Removed.
+        * Shared/qt/ProcessExecutablePathQt.cpp: Removed.
+        * Shared/qt/QtNetworkReplyData.cpp: Removed.
+        * Shared/qt/QtNetworkReplyData.h: Removed.
+        * Shared/qt/QtNetworkRequestData.cpp: Removed.
+        * Shared/qt/QtNetworkRequestData.h: Removed.
+        * Shared/qt/ShareableBitmapQt.cpp: Removed.
+        * Shared/qt/WebCoreArgumentCodersQt.cpp: Removed.
+        * Shared/qt/WebEventFactoryQt.cpp: Removed.
+        * Shared/qt/WebEventFactoryQt.h: Removed.
+        * Shared/qt/WebURLRequestQt.cpp: Removed.
+        * Shared/qt/WebURLResponseQt.cpp: Removed.
+        * Target.pri: Removed.
+        * UIProcess/API/C/qt/WKIconDatabaseQt.cpp: Removed.
+        * UIProcess/API/C/qt/WKIconDatabaseQt.h: Removed.
+        * UIProcess/API/C/qt/WKNativeEvent.h: Removed.
+        * UIProcess/API/cpp/qt/WKStringQt.cpp: Removed.
+        * UIProcess/API/cpp/qt/WKStringQt.h: Removed.
+        * UIProcess/API/cpp/qt/WKURLQt.cpp: Removed.
+        * UIProcess/API/cpp/qt/WKURLQt.h: Removed.
+        * UIProcess/API/qt/qquicknetworkreply.cpp: Removed.
+        * UIProcess/API/qt/qquicknetworkreply_p.h: Removed.
+        * UIProcess/API/qt/qquicknetworkrequest.cpp: Removed.
+        * UIProcess/API/qt/qquicknetworkrequest_p.h: Removed.
+        * UIProcess/API/qt/qquickurlschemedelegate.cpp: Removed.
+        * UIProcess/API/qt/qquickurlschemedelegate_p.h: Removed.
+        * UIProcess/API/qt/qquickwebpage.cpp: Removed.
+        * UIProcess/API/qt/qquickwebpage_p.h: Removed.
+        * UIProcess/API/qt/qquickwebpage_p_p.h: Removed.
+        * UIProcess/API/qt/qquickwebview.cpp: Removed.
+        * UIProcess/API/qt/qquickwebview_p.h: Removed.
+        * UIProcess/API/qt/qquickwebview_p_p.h: Removed.
+        * UIProcess/API/qt/qtwebsecurityorigin.cpp: Removed.
+        * UIProcess/API/qt/qtwebsecurityorigin_p.h: Removed.
+        * UIProcess/API/qt/qwebdownloaditem.cpp: Removed.
+        * UIProcess/API/qt/qwebdownloaditem_p.h: Removed.
+        * UIProcess/API/qt/qwebdownloaditem_p_p.h: Removed.
+        * UIProcess/API/qt/qwebiconimageprovider.cpp: Removed.
+        * UIProcess/API/qt/qwebiconimageprovider_p.h: Removed.
+        * UIProcess/API/qt/qwebkittest.cpp: Removed.
+        * UIProcess/API/qt/qwebkittest_p.h: Removed.
+        * UIProcess/API/qt/qwebloadrequest.cpp: Removed.
+        * UIProcess/API/qt/qwebloadrequest_p.h: Removed.
+        * UIProcess/API/qt/qwebnavigationhistory.cpp: Removed.
+        * UIProcess/API/qt/qwebnavigationhistory_p.h: Removed.
+        * UIProcess/API/qt/qwebnavigationhistory_p_p.h: Removed.
+        * UIProcess/API/qt/qwebnavigationrequest.cpp: Removed.
+        * UIProcess/API/qt/qwebnavigationrequest_p.h: Removed.
+        * UIProcess/API/qt/qwebpermissionrequest.cpp: Removed.
+        * UIProcess/API/qt/qwebpermissionrequest_p.h: Removed.
+        * UIProcess/API/qt/qwebpreferences.cpp: Removed.
+        * UIProcess/API/qt/qwebpreferences_p.h: Removed.
+        * UIProcess/API/qt/qwebpreferences_p_p.h: Removed.
+        * UIProcess/API/qt/raw/qrawwebview.cpp: Removed.
+        * UIProcess/API/qt/raw/qrawwebview_p.h: Removed.
+        * UIProcess/API/qt/raw/qrawwebview_p_p.h: Removed.
+        * UIProcess/API/qt/tests/bytearraytestdata.cpp: Removed.
+        * UIProcess/API/qt/tests/bytearraytestdata.h: Removed.
+        * UIProcess/API/qt/tests/html/basic_page.html: Removed.
+        * UIProcess/API/qt/tests/html/basic_page2.html: Removed.
+        * UIProcess/API/qt/tests/html/bluesquare.html: Removed.
+        * UIProcess/API/qt/tests/html/direct-image-compositing.html: Removed.
+        * UIProcess/API/qt/tests/html/inputmethod.html: Removed.
+        * UIProcess/API/qt/tests/html/redsquare.html: Removed.
+        * UIProcess/API/qt/tests/html/resources/qwkview_noBackground1.png: Removed.
+        * UIProcess/API/qt/tests/html/resources/qwkview_noBackground3.png: Removed.
+        * UIProcess/API/qt/tests/html/resources/qwkview_paint.png: Removed.
+        * UIProcess/API/qt/tests/html/resources/simple_image.png: Removed.
+        * UIProcess/API/qt/tests/html/scroll.html: Removed.
+        * UIProcess/API/qt/tests/inspectorserver/inspectorserver.pro: Removed.
+        * UIProcess/API/qt/tests/inspectorserver/tst_inspectorserver.cpp: Removed.
+        * UIProcess/API/qt/tests/publicapi/publicapi.pro: Removed.
+        * UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp: Removed.
+        * UIProcess/API/qt/tests/qmltests/DesktopBehavior.pro: Removed.
+        * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView.pro: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_doubleTapToZoom.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_download.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_evaluateJavaScript.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_favIconLoad.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_findText.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_fitToView.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_geopermission.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_itemSelector.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_javaScriptDialogs.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_loadFail.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_loadHtml.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgress.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgressSignal.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_loadUrl.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_messaging.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_multiFileUpload.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_navigationHistory.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_notification.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_origin.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_preferences.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_properties.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_resize.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_singleFileUpload.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_titleChanged.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_userScripts.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/WebView/tst_wheelEventHandling.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/TestWebView.qml: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/alert.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/append-document-title.js: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/big-user-script.js: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/change-document-title.js: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/colorChooser.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/confirm.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/download.zip: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/evaluatejavascript.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/favicon.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/favicon.png: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/favicon2.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/font-preferences.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/geolocation.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/javascript.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/link.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/localStorage.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/messaging.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/multifileupload.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/notification.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/prompt.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/qrctest.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/redirect.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/select.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/selectwithsize.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/singlefileupload.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/small-favicon.png: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/test1.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/test2.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/test3.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/test4.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/test5.html: Removed.
+        * UIProcess/API/qt/tests/qmltests/common/titleupdate.js: Removed.
+        * UIProcess/API/qt/tests/qmltests/qmltests.pro: Removed.
+        * UIProcess/API/qt/tests/qmltests/resources.qrc: Removed.
+        * UIProcess/API/qt/tests/qmltests/tst_qmltests.cpp: Removed.
+        * UIProcess/API/qt/tests/qquickwebview/qquickwebview.pro: Removed.
+        * UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp: Removed.
+        * UIProcess/API/qt/tests/qrawwebview/qrawwebview.pro: Removed.
+        * UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp: Removed.
+        * UIProcess/API/qt/tests/tests.pri: Removed.
+        * UIProcess/API/qt/tests/testwindow.h: Removed.
+        * UIProcess/API/qt/tests/util.cpp: Removed.
+        * UIProcess/API/qt/tests/util.h: Removed.
+        * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp: Removed.
+        * UIProcess/InspectorServer/qt/WebSocketServerQt.cpp: Removed.
+        * UIProcess/InspectorServer/qt/WebSocketServerQt.h: Removed.
+        * UIProcess/Launcher/qt/ProcessLauncherQt.cpp: Removed.
+        * UIProcess/Plugins/qt/PluginProcessProxyQt.cpp: Removed.
+        * UIProcess/qt/BackingStoreQt.cpp: Removed.
+        * UIProcess/qt/PageViewportControllerClientQt.cpp: Removed.
+        * UIProcess/qt/PageViewportControllerClientQt.h: Removed.
+        * UIProcess/qt/QtDialogRunner.cpp: Removed.
+        * UIProcess/qt/QtDialogRunner.h: Removed.
+        * UIProcess/qt/QtDownloadManager.cpp: Removed.
+        * UIProcess/qt/QtDownloadManager.h: Removed.
+        * UIProcess/qt/QtGestureRecognizer.cpp: Removed.
+        * UIProcess/qt/QtGestureRecognizer.h: Removed.
+        * UIProcess/qt/QtPageClient.cpp: Removed.
+        * UIProcess/qt/QtPageClient.h: Removed.
+        * UIProcess/qt/QtPanGestureRecognizer.cpp: Removed.
+        * UIProcess/qt/QtPanGestureRecognizer.h: Removed.
+        * UIProcess/qt/QtPinchGestureRecognizer.cpp: Removed.
+        * UIProcess/qt/QtPinchGestureRecognizer.h: Removed.
+        * UIProcess/qt/QtTapGestureRecognizer.cpp: Removed.
+        * UIProcess/qt/QtTapGestureRecognizer.h: Removed.
+        * UIProcess/qt/QtWebContext.cpp: Removed.
+        * UIProcess/qt/QtWebContext.h: Removed.
+        * UIProcess/qt/QtWebError.cpp: Removed.
+        * UIProcess/qt/QtWebError.h: Removed.
+        * UIProcess/qt/QtWebIconDatabaseClient.cpp: Removed.
+        * UIProcess/qt/QtWebIconDatabaseClient.h: Removed.
+        * UIProcess/qt/QtWebPageEventHandler.cpp: Removed.
+        * UIProcess/qt/QtWebPageEventHandler.h: Removed.
+        * UIProcess/qt/QtWebPagePolicyClient.cpp: Removed.
+        * UIProcess/qt/QtWebPagePolicyClient.h: Removed.
+        * UIProcess/qt/QtWebPageSGNode.cpp: Removed.
+        * UIProcess/qt/QtWebPageSGNode.h: Removed.
+        * UIProcess/qt/QtWebPageUIClient.cpp: Removed.
+        * UIProcess/qt/QtWebPageUIClient.h: Removed.
+        * UIProcess/qt/TextCheckerQt.cpp: Removed.
+        * UIProcess/qt/WebColorPickerQt.cpp: Removed.
+        * UIProcess/qt/WebColorPickerQt.h: Removed.
+        * UIProcess/qt/WebContextMenuProxyQt.cpp: Removed.
+        * UIProcess/qt/WebContextMenuProxyQt.h: Removed.
+        * UIProcess/qt/WebContextQt.cpp: Removed.
+        * UIProcess/qt/WebFullScreenManagerProxyQt.cpp: Removed.
+        * UIProcess/qt/WebGeolocationProviderQt.cpp: Removed.
+        * UIProcess/qt/WebGeolocationProviderQt.h: Removed.
+        * UIProcess/qt/WebInspectorProxyQt.cpp: Removed.
+        * UIProcess/qt/WebPageProxyQt.cpp: Removed.
+        * UIProcess/qt/WebPopupMenuProxyQt.cpp: Removed.
+        * UIProcess/qt/WebPopupMenuProxyQt.h: Removed.
+        * UIProcess/qt/WebPreferencesQt.cpp: Removed.
+        * UIProcess/qt/WebProcessProxyQt.cpp: Removed.
+        * WebKit2.pri: Removed.
+        * WebKit2.pro: Removed.
+        * WebProcess.pro: Removed.
+        * WebProcess/Cookies/qt/WebCookieManagerQt.cpp: Removed.
+        * WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp: Removed.
+        * WebProcess/Plugins/Netscape/qt/PluginProxyQt.cpp: Removed.
+        * WebProcess/WebCoreSupport/qt/WebContextMenuClientQt.cpp: Removed.
+        * WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp: Removed.
+        * WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp: Removed.
+        * WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp: Removed.
+        * WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h: Removed.
+        * WebProcess/WebCoreSupport/qt/WebPopupMenuQt.cpp: Removed.
+        * WebProcess/WebPage/qt/WebInspectorQt.cpp: Removed.
+        * WebProcess/WebPage/qt/WebPageQt.cpp: Removed.
+        * WebProcess/qt/QtBuiltinBundle.cpp: Removed.
+        * WebProcess/qt/QtBuiltinBundle.h: Removed.
+        * WebProcess/qt/QtBuiltinBundlePage.cpp: Removed.
+        * WebProcess/qt/QtBuiltinBundlePage.h: Removed.
+        * WebProcess/qt/QtNetworkAccessManager.cpp: Removed.
+        * WebProcess/qt/QtNetworkAccessManager.h: Removed.
+        * WebProcess/qt/QtNetworkReply.cpp: Removed.
+        * WebProcess/qt/QtNetworkReply.h: Removed.
+        * WebProcess/qt/SeccompFiltersWebProcessQt.cpp: Removed.
+        * WebProcess/qt/SeccompFiltersWebProcessQt.h: Removed.
+        * WebProcess/qt/WebProcessMainQt.cpp: Removed.
+        * WebProcess/qt/WebProcessQt.cpp: Removed.
+        * qt/MainQt.cpp: Removed.
+        * qt/PluginMainQt.cpp: Removed.
+
 2013-10-03  Brady Eidson  <beidson@apple.com>
 
         Move IDBFactoryBackend creation to DatabaseStrategy.
diff --git a/Source/WebKit2/DerivedSources.pri b/Source/WebKit2/DerivedSources.pri
deleted file mode 100644 (file)
index 9aa5137..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-# -------------------------------------------------------------------
-# Derived sources for WebKit2
-#
-# See 'Tools/qmake/README' for an overview of the build system
-# -------------------------------------------------------------------
-
-# This file is both a top level target, and included from Target.pri,
-# so that the resulting generated sources can be added to SOURCES.
-# We only set the template if we're a top level target, so that we
-# don't override what Target.pri has already set.
-sanitizedFile = $$toSanitizedPath($$_FILE_)
-equals(sanitizedFile, $$toSanitizedPath($$_PRO_FILE_)):TEMPLATE = derived
-
-WEBCORE_GENERATED_SOURCES_DIR = ../WebCore/$${GENERATED_SOURCES_DESTDIR}
-
-SOURCE_DIR = $${ROOT_WEBKIT_DIR}/Source
-
-WEBCORE_GENERATED_HEADERS_FOR_WEBKIT2 += \
-    $$WEBCORE_GENERATED_SOURCES_DIR/HTMLNames.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSCSSStyleDeclaration.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSDOMWindow.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSElement.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSHTMLElement.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSNode.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSNotification.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSRange.h \
-    $$WEBCORE_GENERATED_SOURCES_DIR/JSUint8Array.h \
-
-defineReplace(message_header_generator_output) {
-  FILENAME=$$basename(1)
-  return($${GENERATED_SOURCES_DESTDIR}/$$replace(FILENAME, ".messages.in", "Messages.h"))
-}
-
-defineReplace(message_receiver_generator_output) {
-  FILENAME=$$basename(1)
-  return($${GENERATED_SOURCES_DESTDIR}/$$replace(FILENAME, ".messages.in", "MessageReceiver.cpp"))
-}
-
-VPATH = \
-    PluginProcess \
-    WebProcess/ApplicationCache \
-    WebProcess/Battery \
-    WebProcess/Cookies \
-    WebProcess/FullScreen \
-    WebProcess/Geolocation \
-    WebProcess/IconDatabase \
-    WebProcess/MediaCache \
-    WebProcess/Network \
-    WebProcess/NetworkInfo \
-    WebProcess/Notifications \
-    WebProcess/Plugins \
-    WebProcess/ResourceCache \
-    WebProcess/Storage \
-    WebProcess/WebCoreSupport \
-    WebProcess/WebPage \
-    WebProcess/WebPage/CoordinatedGraphics \
-    WebProcess \
-    UIProcess \
-    UIProcess/CoordinatedGraphics \
-    UIProcess/Downloads \
-    UIProcess/Network/CustomProtocols \
-    UIProcess/Notifications \
-    UIProcess/Plugins \
-    UIProcess/Storage \
-    Shared \
-    Shared/Authentication \
-    Shared/Plugins
-
-MESSAGE_RECEIVERS = \
-    AuthenticationManager.messages.in \
-    CoordinatedLayerTreeHostProxy.messages.in \
-    CustomProtocolManagerProxy.messages.in \
-    DownloadProxy.messages.in \
-    DrawingAreaProxy.messages.in \
-    EventDispatcher.messages.in \
-    PluginControllerProxy.messages.in \
-    PluginProcess.messages.in \
-    PluginProcessConnection.messages.in \
-    PluginProcessConnectionManager.messages.in \
-    PluginProcessProxy.messages.in \
-    PluginProxy.messages.in \
-    StorageAreaMap.messages.in \
-    StorageManager.messages.in \
-    WebApplicationCacheManager.messages.in \
-    WebApplicationCacheManagerProxy.messages.in \
-    WebBatteryManager.messages.in \
-    WebBatteryManagerProxy.messages.in \
-    WebConnection.messages.in \
-    WebContext.messages.in \
-    WebCookieManager.messages.in \
-    WebCookieManagerProxy.messages.in \
-    WebDatabaseManager.messages.in \
-    WebDatabaseManagerProxy.messages.in \
-    WebGeolocationManager.messages.in \
-    WebGeolocationManagerProxy.messages.in \
-    WebIconDatabase.messages.in \
-    WebIconDatabaseProxy.messages.in \
-    WebInspectorProxy.messages.in \
-    WebMediaCacheManager.messages.in \
-    WebMediaCacheManagerProxy.messages.in \
-    WebNetworkInfoManager.messages.in \
-    WebNetworkInfoManagerProxy.messages.in \
-    WebNotificationManager.messages.in \
-    WebFullScreenManager.messages.in \
-    WebFullScreenManagerProxy.messages.in \
-    CoordinatedLayerTreeHost.messages.in \
-    DrawingArea.messages.in \
-    WebInspector.messages.in \
-    WebPage.messages.in \
-    WebPageGroupProxy.messages.in \
-    WebPageProxy.messages.in \
-    WebProcess.messages.in \
-    WebProcessConnection.messages.in \
-    WebProcessProxy.messages.in \
-    WebResourceCacheManager.messages.in \
-    WebResourceCacheManagerProxy.messages.in \
-    WebVibrationProxy.messages.in \
-    NPObjectMessageReceiver.messages.in
-
-SCRIPTS = \
-    $$PWD/Scripts/generate-message-receiver.py \
-    $$PWD/Scripts/generate-messages-header.py \
-    $$PWD/Scripts/webkit2/__init__.py \
-    $$PWD/Scripts/webkit2/messages.py \
-    $$PWD/Scripts/webkit2/model.py \
-    $$PWD/Scripts/webkit2/parser.py
-
-message_header_generator.commands = $${PYTHON} $${SOURCE_DIR}/WebKit2/Scripts/generate-messages-header.py ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-message_header_generator.input = MESSAGE_RECEIVERS
-message_header_generator.depends = $$SCRIPTS
-message_header_generator.output_function = message_header_generator_output
-message_header_generator.add_output_to_sources = false
-GENERATORS += message_header_generator
-
-message_receiver_generator.commands = $${PYTHON} $${SOURCE_DIR}/WebKit2/Scripts/generate-message-receiver.py  ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-message_receiver_generator.input = MESSAGE_RECEIVERS
-message_receiver_generator.depends = $$SCRIPTS
-message_receiver_generator.output_function = message_receiver_generator_output
-GENERATORS += message_receiver_generator
-
-fwheader_generator.commands = perl $${SOURCE_DIR}/WebKit2/Scripts/generate-forwarding-headers.pl $${SOURCE_DIR}/WebKit2 $${ROOT_BUILD_DIR}/Source/include qt
-fwheader_generator.depends = $${SOURCE_DIR}/WebKit2/Scripts/generate-forwarding-headers.pl
-generated_files.depends += fwheader_generator
-GENERATORS += fwheader_generator
-
-for(header, WEBCORE_GENERATED_HEADERS_FOR_WEBKIT2) {
-    header_name = $$basename(header)
-    header_path = $$header
-    header_target = $$replace(header_path, [^a-zA-Z0-9_], -)
-    header_target = "qtheader-$${header_target}"
-    dest_dir = $${ROOT_BUILD_DIR}/Source/include/WebCore
-
-    eval($${header_target}.target = $$dest_dir/$$header_name)
-    eval($${header_target}.depends = $$header_path)
-
-    win32: eval($${header_target}.commands = ($${QMAKE_MKDIR} $$toSystemPath($$dest_dir) 2>nul || echo>nul))
-    else: eval($${header_target}.commands = $${QMAKE_MKDIR} $$toSystemPath($$dest_dir) )
-
-    eval($${header_target}.commands += && echo $${DOUBLE_ESCAPED_QUOTE}\$${LITERAL_HASH}include \\\"$$header_path\\\"$${DOUBLE_ESCAPED_QUOTE} > $$eval($${header_target}.target))
-
-    GENERATORS += $$header_target
-}
-
diff --git a/Source/WebKit2/PluginProcess.pro b/Source/WebKit2/PluginProcess.pro
deleted file mode 100644 (file)
index 52e785f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# -------------------------------------------------------------------
-# Project file for the WebKit2 plugin process binary
-#
-# See 'Tools/qmake/README' for an overview of the build system
-# -------------------------------------------------------------------
-
-TEMPLATE = app
-
-QT += webkit
-
-TARGET = QtWebPluginProcess
-DESTDIR = $${ROOT_BUILD_DIR}/bin
-
-SOURCES += qt/PluginMainQt.cpp
-
-INCLUDEPATH = \
-    $$PWD/../JavaScriptCore \
-    $$PWD/../WTF \
-    $$INCLUDEPATH
-
-INSTALLS += target
-
-isEmpty(INSTALL_BINS) {
-    target.path = $$[QT_INSTALL_LIBEXECS]
-} else {
-    target.path = $$INSTALL_BINS
-}
diff --git a/Source/WebKit2/PluginProcess/qt/PluginControllerProxyQt.cpp b/Source/WebKit2/PluginProcess/qt/PluginControllerProxyQt.cpp
deleted file mode 100644 (file)
index 743adfa..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "PluginControllerProxy.h"
-
-#if ENABLE(PLUGIN_PROCESS)
-
-#include "PluginProcess.h"
-#include <WebCore/NotImplemented.h>
-
-using namespace WebCore;
-
-namespace WebKit {
-
-void PluginControllerProxy::platformInitialize(const PluginCreationParameters&)
-{
-    notImplemented();
-}
-
-void PluginControllerProxy::platformDestroy()
-{
-    notImplemented();
-}
-
-void PluginControllerProxy::platformGeometryDidChange()
-{
-    notImplemented();
-}
-
-} // namespace WebKit
-
-#endif // ENABLE(PLUGIN_PROCESS)
diff --git a/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp b/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
deleted file mode 100644 (file)
index 8de6521..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * Copyright (C) 2010, 2011 Nokia Inc. All rights reserved.
- * Copyright (C) 2011 University of Szeged. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-
-#if ENABLE(PLUGIN_PROCESS)
-
-#include "NetscapePluginModule.h"
-#include "PluginProcess.h"
-#include "WebKit2Initialize.h"
-#include <QDebug>
-#include <QGuiApplication>
-#include <QStringList>
-#include <QtGlobal>
-#include <WebCore/RunLoop.h>
-
-using namespace WebCore;
-
-namespace WebKit {
-
-static void messageHandler(QtMsgType type, const QMessageLogContext&, const QString& message)
-{
-    if (type == QtCriticalMsg) {
-        fprintf(stderr, "%s\n", qPrintable(message));
-        return;
-    }
-
-    // Do nothing
-}
-
-static bool initializeGtk()
-{
-    QLibrary gtkLibrary(QLatin1String("libgtk-x11-2.0"), 0);
-    if (!gtkLibrary.load())
-        return false;
-    typedef void* (*gtk_init_ptr)(void*, void*);
-    gtk_init_ptr gtkInit = reinterpret_cast<gtk_init_ptr>(gtkLibrary.resolve("gtk_init"));
-    if (!gtkInit)
-        return false;
-    gtkInit(0, 0);
-    return true;
-}
-
-Q_DECL_EXPORT int PluginProcessMain(int argc, char** argv)
-{
-    QByteArray suppressOutput = qgetenv("QT_WEBKIT_SUPPRESS_WEB_PROCESS_OUTPUT");
-    if (!suppressOutput.isEmpty() && suppressOutput != "0")
-        qInstallMessageHandler(messageHandler);
-
-    QGuiApplication app(argc, argv);
-
-    // Workaround the issue that some versions of flash does not initialize Gtk properly.
-    if (!initializeGtk())
-        return EXIT_FAILURE;
-
-    InitializeWebKit2();
-
-    if (argc <= 1)
-        return EXIT_FAILURE;
-
-    if (app.arguments().at(1) == QLatin1String("-scanPlugin")) {
-        if (argc != 3)
-            return EXIT_FAILURE;
-        String pluginPath(app.arguments().at(2));
-        if (!NetscapePluginModule::scanPlugin(pluginPath))
-            return EXIT_FAILURE;
-        return EXIT_SUCCESS;
-    }
-
-    // Create the connection.
-    bool isNumber = false;
-    int identifier = app.arguments().at(1).toInt(&isNumber, 10);
-    if (!isNumber)
-        return EXIT_FAILURE;
-
-    WebKit::ChildProcessInitializationParameters parameters;
-    parameters.connectionIdentifier = identifier;
-    parameters.extraInitializationData.add("plugin-path", app.arguments().at(2));
-
-    WebKit::PluginProcess::shared().initialize(parameters);
-
-    RunLoop::run();
-
-    return 0;
-}
-
-}
-
-#endif // ENABLE(PLUGIN_PROCESS)
diff --git a/Source/WebKit2/PluginProcess/qt/PluginProcessQt.cpp b/Source/WebKit2/PluginProcess/qt/PluginProcessQt.cpp
deleted file mode 100644 (file)
index f3be1ad..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "PluginProcess.h"
-
-#if ENABLE(PLUGIN_PROCESS)
-
-#include "NetscapePlugin.h"
-#include "PluginProcessCreationParameters.h"
-#include <WebCore/NotImplemented.h>
-
-namespace WebKit {
-
-void PluginProcess::platformInitializeProcess(const ChildProcessInitializationParameters&)
-{
-}
-
-void PluginProcess::platformInitializePluginProcess(const PluginProcessCreationParameters&)
-{
-    notImplemented();
-}
-
-} // namespace WebKit
-
-#endif // ENABLE(PLUGIN_PROCESS)
diff --git a/Source/WebKit2/SandboxProcess.pro b/Source/WebKit2/SandboxProcess.pro
deleted file mode 100644 (file)
index e4b0594..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# -------------------------------------------------------------------
-# Project file for the WebKit2 sandbox process binary
-#
-# See 'Tools/qmake/README' for an overview of the build system
-# -------------------------------------------------------------------
-
-TEMPLATE = app
-
-TARGET = SUIDSandboxHelper
-DESTDIR = $${ROOT_BUILD_DIR}/bin
-
-CONFIG += console
-CONFIG -= qt
-
-SOURCES += Shared/linux/SandboxProcess/SandboxEnvironmentLinux.cpp
-HEADERS += Shared/linux/SandboxProcess/SandboxEnvironmentLinux.h
-
-INSTALLS += target
-LIBS += -lcap -ldl
-
-isEmpty(INSTALL_BINS) {
-    target.path = $$[QT_INSTALL_BINS]
-} else {
-    target.path = $$INSTALL_BINS
-}
diff --git a/Source/WebKit2/Shared/API/c/qt/WKImageQt.cpp b/Source/WebKit2/Shared/API/c/qt/WKImageQt.cpp
deleted file mode 100644 (file)
index 6d5cc5a..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) 2011 University of Szeged. All rights reserved.
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "WKImageQt.h"
-
-#include "ShareableBitmap.h"
-#include "WKSharedAPICast.h"
-#include "WebImage.h"
-#include <QPainter>
-#include <WebCore/GraphicsContext.h>
-#include <WebCore/IntSize.h>
-
-using namespace WebCore;
-using namespace WebKit;
-
-QImage WKImageCreateQImage(WKImageRef imageRef)
-{
-    return toImpl(imageRef)->bitmap()->createQImage().copy();
-}
-
-WKImageRef WKImageCreateFromQImage(const QImage& image)
-{
-    if (image.isNull())
-        return 0;
-
-    ASSERT(image.bytesPerLine() == image.width() * 4);
-
-    RefPtr<WebImage> webImage = WebImage::create(image.size(), static_cast<ImageOptions>(0));
-    if (!webImage->bitmap())
-        return 0;
-    auto graphicsContext = webImage->bitmap()->createGraphicsContext();
-    QPainter* painter = graphicsContext->platformContext();
-    painter->drawImage(QPoint(0, 0), image);
-    return toAPI(webImage.release().leakRef());
-}
diff --git a/Source/WebKit2/Shared/API/c/qt/WKImageQt.h b/Source/WebKit2/Shared/API/c/qt/WKImageQt.h
deleted file mode 100644 (file)
index 5abef48..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2011 University of Szeged. All rights reserved.
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef WKImageQt_h
-#define WKImageQt_h
-
-#include <QImage>
-#include <WebKit2/WKBase.h>
-#include <WebKit2/WKImage.h>
-
-WK_EXPORT QImage WKImageCreateQImage(WKImageRef image);
-WK_EXPORT WKImageRef WKImageCreateFromQImage(const QImage& image);
-
-#endif
diff --git a/Source/WebKit2/Shared/Downloads/qt/DownloadQt.cpp b/Source/WebKit2/Shared/Downloads/qt/DownloadQt.cpp
deleted file mode 100644 (file)
index 889e471..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * Copyright (C) 2010, 2011 Apple Inc. All rights reserved.
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "Download.h"
-
-#include "QtFileDownloader.h"
-#include "WebProcess.h"
-#include <WebCore/NotImplemented.h>
-#include <WebCore/QNetworkReplyHandler.h>
-#include <WebCore/ResourceHandle.h>
-#include <WebCore/ResourceHandleInternal.h>
-#include <WebCore/ResourceResponse.h>
-
-using namespace WebCore;
-
-namespace WebKit {
-
-void Download::start()
-{
-    QNetworkAccessManager* manager = WebProcess::shared().networkAccessManager();
-    ASSERT(manager);
-    ASSERT(!m_qtDownloader);
-
-    m_qtDownloader = new QtFileDownloader(this, adoptPtr(manager->get(m_request.toNetworkRequest())));
-    m_qtDownloader->init();
-}
-
-void Download::startWithHandle(ResourceHandle* handle, const ResourceResponse& resp)
-{
-    ASSERT(!m_qtDownloader);
-    m_qtDownloader = new QtFileDownloader(this, adoptPtr(handle->getInternal()->m_job->release()));
-    m_qtDownloader->init();
-}
-
-void Download::cancel()
-{
-    ASSERT(m_qtDownloader);
-    m_qtDownloader->cancel();
-}
-
-void Download::platformInvalidate()
-{
-    ASSERT(m_qtDownloader);
-    m_qtDownloader->deleteLater();
-    m_qtDownloader = 0;
-}
-
-void Download::didDecideDestination(const String& destination, bool allowOverwrite)
-{
-    notImplemented();
-}
-
-void Download::startTransfer(const String& destination)
-{
-    m_qtDownloader->startTransfer(destination);
-}
-
-void Download::platformDidFinish()
-{
-    notImplemented();
-}
-
-void Download::receivedCredential(const AuthenticationChallenge& authenticationChallenge, const Credential& credential)
-{
-    notImplemented();
-}
-
-void Download::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge& authenticationChallenge)
-{
-    notImplemented();
-}
-
-void Download::receivedCancellation(const AuthenticationChallenge& authenticationChallenge)
-{
-    notImplemented();
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/Downloads/qt/QtFileDownloader.cpp b/Source/WebKit2/Shared/Downloads/qt/QtFileDownloader.cpp
deleted file mode 100644 (file)
index f16b0c2..0000000
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-#include "config.h"
-#include "QtFileDownloader.h"
-
-#include "DataReference.h"
-#include "Download.h"
-#include "HTTPParsers.h"
-#include "MIMETypeRegistry.h"
-#include <QCoreApplication>
-#include <QFile>
-#include <QFileInfo>
-#include <QNetworkAccessManager>
-#include <WebCore/QNetworkReplyHandler.h>
-#include <WebCore/ResourceError.h>
-#include <WebCore/ResourceResponse.h>
-
-using namespace WebCore;
-using namespace WTF;
-
-namespace WebKit {
-
-QtFileDownloader::QtFileDownloader(Download* download, PassOwnPtr<QNetworkReply> reply)
-    : m_download(download)
-    , m_reply(reply)
-    , m_error(QNetworkReply::NoError)
-    , m_headersRead(false)
-{
-}
-
-QtFileDownloader::~QtFileDownloader()
-{
-    if (!m_destinationFile)
-        return;
-
-    abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorAborted);
-}
-
-void QtFileDownloader::init()
-{
-    connect(m_reply.get(), SIGNAL(readyRead()), SLOT(onReadyRead()));
-    connect(m_reply.get(), SIGNAL(finished()), SLOT(onFinished()));
-    connect(m_reply.get(), SIGNAL(error(QNetworkReply::NetworkError)), SLOT(onError(QNetworkReply::NetworkError)));
-}
-
-QString QtFileDownloader::determineFilename()
-{
-    ASSERT(!m_destinationFile);
-
-    QString filenameCandidate = filenameFromHTTPContentDisposition(QString::fromLatin1(m_reply->rawHeader("Content-Disposition")));
-    if (filenameCandidate.isEmpty()) {
-        URL kurl = m_reply->url();
-        filenameCandidate = decodeURLEscapeSequences(kurl.lastPathComponent());
-    }
-
-    if (filenameCandidate.isEmpty()) {
-        abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorCannotDetermineFilename);
-        return QString();
-    }
-
-    // Make sure that we remove possible "../.." parts in the given file name.
-    QFileInfo filenameFilter(filenameCandidate);
-    QString filename = filenameFilter.fileName();
-
-    if (filename.isEmpty()) {
-        abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorCannotDetermineFilename);
-        return QString();
-    }
-
-    return filename;
-}
-
-void QtFileDownloader::startTransfer(const QString& decidedFilePath)
-{
-    ASSERT(!m_destinationFile);
-
-    // Error might have occured during destination query.
-    if (m_error != QNetworkReply::NoError) {
-        abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorNetworkFailure);
-        return;
-    }
-
-    if (decidedFilePath.isEmpty()) {
-        abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorCancelled);
-        return;
-    }
-
-    OwnPtr<QFile> downloadFile = adoptPtr(new QFile(decidedFilePath));
-
-    if (!downloadFile->open(QIODevice::WriteOnly | QIODevice::Truncate)) {
-        abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorCannotOpenFile);
-        return;
-    }
-
-    // Assigning to m_destinationFile flags that either error or
-    // finished shall be called in the end.
-    m_destinationFile = downloadFile.release();
-
-    m_download->didCreateDestination(m_destinationFile->fileName());
-
-    // We might have gotten readyRead already even before this function
-    // was called.
-    if (m_reply->bytesAvailable())
-        onReadyRead();
-
-    // We might have gotten finished already even before this
-    // function was called.
-    if (m_reply->isFinished())
-        onFinished();
-}
-
-void QtFileDownloader::abortDownloadWritingAndEmitError(QtFileDownloader::DownloadError errorCode)
-{
-    m_reply->abort();
-
-    // On network failures it's QNetworkReplyHandler::errorForReply who will handle errors.
-    if (errorCode == QtFileDownloader::DownloadErrorNetworkFailure) {
-        m_download->didFail(QNetworkReplyHandler::errorForReply(m_reply.get()), CoreIPC::DataReference(0, 0));
-        return;
-    }
-
-    QString translatedErrorMessage;
-    switch (errorCode) {
-    case QtFileDownloader::DownloadErrorAborted:
-        translatedErrorMessage = QCoreApplication::translate("QtFileDownloader", "Download aborted");
-        break;
-    case QtFileDownloader::DownloadErrorCannotWriteToFile:
-        translatedErrorMessage = QCoreApplication::translate("QtFileDownloader", "Cannot write to file");
-        break;
-    case QtFileDownloader::DownloadErrorCannotOpenFile:
-        translatedErrorMessage = QCoreApplication::translate("QtFileDownloader", "Cannot open file for writing");
-        break;
-    case QtFileDownloader::DownloadErrorDestinationAlreadyExists:
-        translatedErrorMessage = QCoreApplication::translate("QtFileDownloader", "Destination already exists");
-        break;
-    case QtFileDownloader::DownloadErrorCancelled:
-        translatedErrorMessage = QCoreApplication::translate("QtFileDownloader", "Download cancelled by caller");
-        break;
-    case QtFileDownloader::DownloadErrorCannotDetermineFilename:
-        translatedErrorMessage = QCoreApplication::translate("QtFileDownloader", "Cannot determine filename");
-        break;
-    default:
-        ASSERT_NOT_REACHED();
-    }
-
-    ResourceError downloadError("Download", errorCode, m_reply->url().toString(), translatedErrorMessage);
-
-    m_download->didFail(downloadError, CoreIPC::DataReference(0, 0));
-}
-
-void QtFileDownloader::handleDownloadResponse()
-{
-    // By API contract, QNetworkReply::metaDataChanged cannot really be trusted.
-    // Thus we need to call this upon receiving first data.
-    String contentType = m_reply->header(QNetworkRequest::ContentTypeHeader).toString();
-    String encoding = extractCharsetFromMediaType(contentType);
-    String mimeType = extractMIMETypeFromMediaType(contentType);
-    String filename = determineFilename();
-
-    // If filename is empty it means determineFilename aborted and emitted an error.
-    if (filename.isEmpty())
-        return;
-
-    // Let's try to guess from the extension.
-    if (mimeType.isEmpty())
-        mimeType = MIMETypeRegistry::getMIMETypeForPath(m_reply->url().path());
-
-    ResourceResponse response(m_reply->url(), mimeType, m_reply->header(QNetworkRequest::ContentLengthHeader).toLongLong(), encoding, filename);
-    m_download->didReceiveResponse(response);
-}
-
-void QtFileDownloader::onReadyRead()
-{
-    if (m_destinationFile) {
-        QByteArray content = m_reply->readAll();
-        if (content.size() <= 0)
-            return;
-
-        qint64 bytesWritten = m_destinationFile->write(content);
-
-        if (bytesWritten == -1) {
-            abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorCannotWriteToFile);
-            return;
-        }
-
-        // There might a corner case to be fixed here if bytesWritten != content.size()
-        // does not actually represent an error.
-        ASSERT(bytesWritten == content.size());
-
-        m_download->didReceiveData(bytesWritten);
-    } else if (!m_headersRead) {
-        handleDownloadResponse();
-        m_headersRead = true;
-    }
-}
-
-void QtFileDownloader::onFinished()
-{
-    // If it's finished and we haven't even read the headers, it means we never got to onReadyRead and that we are
-    // probably dealing with the download of a local file or of a small file that was started with a handle.
-    if (!m_headersRead) {
-        handleDownloadResponse();
-        m_headersRead = true;
-        return;
-    }
-
-    if (!m_destinationFile)
-        return;
-
-    m_destinationFile.clear();
-
-    if (m_error == QNetworkReply::NoError)
-        m_download->didFinish();
-    else if  (m_error == QNetworkReply::OperationCanceledError)
-        abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorCancelled);
-    else
-        abortDownloadWritingAndEmitError(QtFileDownloader::DownloadErrorNetworkFailure);
-}
-
-void QtFileDownloader::onError(QNetworkReply::NetworkError code)
-{
-    m_error = code;
-}
-
-void QtFileDownloader::cancel()
-{
-    m_reply->abort();
-    // QtFileDownloader::onFinished() will be called and will raise a DownloadErrorCancelled.
-}
-
-} // namespace WebKit
-#include "moc_QtFileDownloader.cpp"
diff --git a/Source/WebKit2/Shared/Downloads/qt/QtFileDownloader.h b/Source/WebKit2/Shared/Downloads/qt/QtFileDownloader.h
deleted file mode 100644 (file)
index f688063..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef QtFileDownloader_h
-#define QtFileDownloader_h
-
-#include <QNetworkReply>
-#include <QNetworkRequest>
-#include <wtf/OwnPtr.h>
-#include <wtf/PassOwnPtr.h>
-
-QT_BEGIN_NAMESPACE
-class QFile;
-class QNetworkAccessManager;
-class QNetworkRequest;
-QT_END_NAMESPACE
-
-namespace WebCore {
-class ResourceError;
-}
-
-namespace WebKit {
-class Download;
-
-class QtFileDownloader : public QObject {
-    Q_OBJECT
-public:
-    QtFileDownloader(Download*, PassOwnPtr<QNetworkReply>);
-    virtual ~QtFileDownloader();
-    void cancel();
-    void init();
-    void startTransfer(const QString& destination);
-
-    enum DownloadError {
-        DownloadErrorAborted = 0,
-        DownloadErrorCannotWriteToFile,
-        DownloadErrorCannotOpenFile,
-        DownloadErrorDestinationAlreadyExists,
-        DownloadErrorCancelled,
-        DownloadErrorCannotDetermineFilename,
-        DownloadErrorNetworkFailure
-    };
-
-private Q_SLOTS:
-    void onReadyRead();
-    void onFinished();
-    void onError(QNetworkReply::NetworkError);
-
-private:
-    void abortDownloadWritingAndEmitError(QtFileDownloader::DownloadError);
-    QString determineFilename();
-    void handleDownloadResponse();
-
-    Download* m_download;
-    OwnPtr<QNetworkReply> m_reply;
-    OwnPtr<QFile> m_destinationFile;
-    QNetworkReply::NetworkError m_error;
-    bool m_headersRead;
-};
-
-} // namespace WebKit
-
-#endif
diff --git a/Source/WebKit2/Shared/qt/ArgumentCodersQt.cpp b/Source/WebKit2/Shared/qt/ArgumentCodersQt.cpp
deleted file mode 100644 (file)
index 44c855b..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
-    Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "ArgumentCodersQt.h"
-
-#include "ArgumentCoders.h"
-#include "WebCoreArgumentCoders.h"
-#include <QMimeData>
-#include <QStringList>
-#include <wtf/text/StringHash.h>
-#include <wtf/text/WTFString.h>
-
-using namespace WebCore;
-
-namespace CoreIPC {
-
-typedef HashMap<String , Vector<uint8_t> > MIMEDataHashMap;
-
-void ArgumentCoder<WebCore::DragData>::encode(ArgumentEncoder& encoder, const DragData& dragData)
-{
-    encoder << dragData.clientPosition();
-    encoder << dragData.globalPosition();
-    encoder << (uint64_t)dragData.draggingSourceOperationMask();
-    encoder << (uint64_t)dragData.flags();
-
-    bool hasPlatformData = dragData.platformData();
-    encoder << hasPlatformData;
-    if (!hasPlatformData)
-        return;
-
-    QStringList formats = dragData.platformData()->formats();
-    MIMEDataHashMap map;
-    int size = formats.size();
-    for (int i = 0; i < size; i++) {
-        QByteArray bytes = dragData.platformData()->data(formats[i]);
-        Vector<uint8_t> vdata;
-        vdata.append((uint8_t*)(bytes.data()), bytes.size());
-        map.add(String(formats[i]), vdata);
-    }
-    encoder << map;
-}
-
-bool ArgumentCoder<WebCore::DragData>::decode(ArgumentDecoder& decoder, DragData& dragData)
-{
-    IntPoint clientPosition;
-    IntPoint globalPosition;
-    uint64_t sourceOperationMask;
-    uint64_t flags;
-    if (!decoder.decode(clientPosition))
-        return false;
-    if (!decoder.decode(globalPosition))
-        return false;
-    if (!decoder.decode(sourceOperationMask))
-        return false;
-    if (!decoder.decode(flags))
-        return false;
-
-    bool hasPlatformData;
-    if (!decoder.decode(hasPlatformData))
-        return false;
-
-    QMimeData* mimeData = 0;
-    if (hasPlatformData) {
-        MIMEDataHashMap map;
-        if (!decoder.decode(map))
-            return false;
-
-        mimeData = new QMimeData;
-        MIMEDataHashMap::iterator it = map.begin();
-        MIMEDataHashMap::iterator end = map.end();
-        for (; it != end; ++it) {
-            QByteArray bytes((char*)it->value.data(), it->value.size());
-            mimeData->setData(it->key, bytes);
-        }
-    }
-
-    dragData = DragData(mimeData, clientPosition, globalPosition, (DragOperation)sourceOperationMask, (DragApplicationFlags)flags);
-    return true;
-}
-
-}
diff --git a/Source/WebKit2/Shared/qt/ArgumentCodersQt.h b/Source/WebKit2/Shared/qt/ArgumentCodersQt.h
deleted file mode 100644 (file)
index 8d66e57..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-    Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef ArgumentCodersQt_h
-#define ArgumentCodersQt_h
-
-#include "ArgumentDecoder.h"
-#include "ArgumentEncoder.h"
-#include "DragData.h"
-
-namespace CoreIPC {
-
-void encode(ArgumentEncoder&, const WebCore::DragData&);
-bool decode(ArgumentDecoder&, WebCore::DragData&);
-
-template<> struct ArgumentCoder<WebCore::DragData> {
-    static void encode(ArgumentEncoder&, const WebCore::DragData&);
-    static bool decode(ArgumentDecoder&, WebCore::DragData&);
-};
-
-}
-
-#endif // ArgumentCodersQt_h
diff --git a/Source/WebKit2/Shared/qt/LayerTreeContextQt.cpp b/Source/WebKit2/Shared/qt/LayerTreeContextQt.cpp
deleted file mode 100644 (file)
index a2f01f9..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "LayerTreeContext.h"
-
-#include "ArgumentDecoder.h"
-#include "ArgumentEncoder.h"
-
-namespace WebKit {
-
-LayerTreeContext::LayerTreeContext()
-    : coordinatedLayerID(0)
-{
-}
-
-LayerTreeContext::~LayerTreeContext()
-{
-}
-
-void LayerTreeContext::encode(CoreIPC::ArgumentEncoder& encoder) const
-{
-    encoder << coordinatedLayerID;
-}
-
-bool LayerTreeContext::decode(CoreIPC::ArgumentDecoder& decoder, LayerTreeContext& context)
-{
-    return decoder.decode(context.coordinatedLayerID);
-}
-
-bool LayerTreeContext::isEmpty() const
-{
-    return !coordinatedLayerID;
-}
-
-bool operator==(const LayerTreeContext& a, const LayerTreeContext& b)
-{
-    return a.coordinatedLayerID == b.coordinatedLayerID;
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/NativeWebKeyboardEventQt.cpp b/Source/WebKit2/Shared/qt/NativeWebKeyboardEventQt.cpp
deleted file mode 100644 (file)
index 9a2d666..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "NativeWebKeyboardEvent.h"
-
-#include "WebEventFactoryQt.h"
-
-namespace WebKit {
-
-NativeWebKeyboardEvent::NativeWebKeyboardEvent(QKeyEvent* event)
-    : WebKeyboardEvent(WebEventFactory::createWebKeyboardEvent(event))
-    , m_nativeEvent(*event)
-{
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/NativeWebMouseEventQt.cpp b/Source/WebKit2/Shared/qt/NativeWebMouseEventQt.cpp
deleted file mode 100644 (file)
index e8fd39c..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "NativeWebMouseEvent.h"
-
-#include "WebEventFactoryQt.h"
-
-namespace WebKit {
-
-NativeWebMouseEvent::NativeWebMouseEvent(QMouseEvent* event, const QTransform& fromItemTransform, int eventClickCount)
-    : WebMouseEvent(WebEventFactory::createWebMouseEvent(event, fromItemTransform, eventClickCount))
-    , m_nativeEvent(event)
-{
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/NativeWebTouchEventQt.cpp b/Source/WebKit2/Shared/qt/NativeWebTouchEventQt.cpp
deleted file mode 100644 (file)
index 78c0883..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2011 Benjamin Poulain <benjamin@webkit.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "NativeWebTouchEvent.h"
-
-#include "WebEventFactoryQt.h"
-
-namespace WebKit {
-
-NativeWebTouchEvent::NativeWebTouchEvent(const QTouchEvent* event, const QTransform& fromItemTransform)
-    : WebTouchEvent(WebEventFactory::createWebTouchEvent(event, fromItemTransform))
-    , m_nativeEvent(*event)
-{
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/NativeWebWheelEventQt.cpp b/Source/WebKit2/Shared/qt/NativeWebWheelEventQt.cpp
deleted file mode 100644 (file)
index 3c1ba9f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "NativeWebWheelEvent.h"
-
-#include "WebEventFactoryQt.h"
-
-namespace WebKit {
-
-NativeWebWheelEvent::NativeWebWheelEvent(QWheelEvent* event, const QTransform& fromItemTransform)
-    : WebWheelEvent(WebEventFactory::createWebWheelEvent(event, fromItemTransform))
-    , m_nativeEvent(event)
-{
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/PlatformCertificateInfo.h b/Source/WebKit2/Shared/qt/PlatformCertificateInfo.h
deleted file mode 100644 (file)
index c1b9de6..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef PlatformCertificateInfo_h
-#define PlatformCertificateInfo_h
-
-#include "ArgumentDecoder.h"
-#include "ArgumentEncoder.h"
-#include <WebCore/ResourceResponse.h>
-
-namespace WebKit {
-
-class PlatformCertificateInfo {
-public:
-    PlatformCertificateInfo()
-    {
-    }
-
-    explicit PlatformCertificateInfo(const WebCore::ResourceResponse&)
-    {
-    }
-
-    void encode(CoreIPC::ArgumentEncoder&) const
-    {
-    }
-
-    static bool decode(CoreIPC::ArgumentDecoder&, PlatformCertificateInfo&)
-    {
-        return true;
-    }
-};
-
-} // namespace WebKit
-
-#endif // PlatformCertificateInfo_h
diff --git a/Source/WebKit2/Shared/qt/ProcessExecutablePathQt.cpp b/Source/WebKit2/Shared/qt/ProcessExecutablePathQt.cpp
deleted file mode 100644 (file)
index 827cda6..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "ProcessExecutablePath.h"
-
-#include <QCoreApplication>
-#include <QDir>
-#include <QFile>
-#include <QLibraryInfo>
-
-namespace WebKit {
-
-static String executablePath(QString baseName)
-{
-#if OS(WINDOWS)
-    baseName.append(QStringLiteral(".exe"));
-#endif
-    QString expectedPath = QCoreApplication::applicationDirPath() + QDir::separator() + baseName;
-    if (QFile::exists(expectedPath))
-        return expectedPath;
-
-    expectedPath = QLibraryInfo::location(QLibraryInfo::LibraryExecutablesPath) + QDir::separator() + baseName;
-    if (QFile::exists(expectedPath))
-        return expectedPath;
-
-    return baseName;
-}
-
-String executablePathOfWebProcess()
-{
-    return executablePath(QStringLiteral("QtWebProcess"));
-}
-
-String executablePathOfPluginProcess()
-{
-    return executablePath(QStringLiteral("QtWebPluginProcess"));
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/QtNetworkReplyData.cpp b/Source/WebKit2/Shared/qt/QtNetworkReplyData.cpp
deleted file mode 100644 (file)
index b835af2..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "QtNetworkReplyData.h"
-
-#include "ArgumentCodersQt.h"
-#include "URL.h"
-#include "SharedMemory.h"
-#include "WebCoreArgumentCoders.h"
-#include <QNetworkAccessManager>
-#include <QNetworkRequest>
-#include <wtf/Noncopyable.h>
-#include <wtf/text/WTFString.h>
-
-namespace WebKit {
-
-QtNetworkReplyData::QtNetworkReplyData()
-    : m_contentLength(0)
-{ }
-
-void QtNetworkReplyData::encode(CoreIPC::ArgumentEncoder& encoder) const
-{
-    encoder << m_urlString;
-    encoder << m_contentType;
-    encoder << static_cast<uint64_t>(m_contentLength);
-    encoder << m_replyUuid;
-    encoder << m_dataHandle;
-}
-
-bool QtNetworkReplyData::decode(CoreIPC::ArgumentDecoder& decoder, QtNetworkReplyData& destination)
-{
-    if (!decoder.decode(destination.m_urlString))
-        return false;
-    if (!decoder.decode(destination.m_contentType))
-        return false;
-    if (!decoder.decode(destination.m_contentLength))
-        return false;
-    if (!decoder.decode(destination.m_replyUuid))
-        return false;
-    if (!decoder.decode(destination.m_dataHandle))
-        return false;
-    return true;
-}
-
-} // namespace WebKit
-
-
diff --git a/Source/WebKit2/Shared/qt/QtNetworkReplyData.h b/Source/WebKit2/Shared/qt/QtNetworkReplyData.h
deleted file mode 100644 (file)
index 6480fb2..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef QtNetworkReplyData_h
-#define QtNetworkReplyData_h
-
-#include "SharedMemory.h"
-#include <QNetworkAccessManager>
-#include <wtf/Noncopyable.h>
-#include <wtf/RefCounted.h>
-#include <wtf/text/WTFString.h>
-
-namespace CoreIPC {
-class ArgumentEncoder;
-class ArgumentDecoder;
-};
-
-namespace WebKit {
-
-struct QtNetworkReplyData {
-    QtNetworkReplyData();
-
-    void encode(CoreIPC::ArgumentEncoder&) const;
-    static bool decode(CoreIPC::ArgumentDecoder&, QtNetworkReplyData&);
-
-    WTF::String m_urlString;
-
-    WTF::String m_contentType;
-    uint64_t m_contentLength;
-    String m_replyUuid;
-
-    SharedMemory::Handle m_dataHandle;
-};
-
-struct QtRefCountedNetworkReplyData : public WTF::RefCounted<QtRefCountedNetworkReplyData> {
-    QtNetworkReplyData& data() { return m_data; }
-private:
-    QtNetworkReplyData m_data;
-};
-
-
-} // namespace WebKit
-
-#endif // QtNetworkReplyData_h
diff --git a/Source/WebKit2/Shared/qt/QtNetworkRequestData.cpp b/Source/WebKit2/Shared/qt/QtNetworkRequestData.cpp
deleted file mode 100644 (file)
index 5a28774..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must replyroduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "QtNetworkRequestData.h"
-
-#include "ArgumentCodersQt.h"
-#include "WebCoreArgumentCoders.h"
-#include <QNetworkReply>
-#include <QNetworkRequest>
-#include <QUuid>
-#include <wtf/text/WTFString.h>
-
-namespace WebKit {
-
-QtRefCountedNetworkRequestData::QtRefCountedNetworkRequestData(const QtNetworkRequestData& data)
-    : m_data(data)
-{ }
-
-QtNetworkRequestData::QtNetworkRequestData()
-{ }
-
-QtNetworkRequestData::QtNetworkRequestData(const QNetworkRequest& request, QNetworkReply* reply)
-{
-    m_scheme = request.url().scheme();
-    m_urlString = request.url().toString();
-    m_replyUuid = QUuid::createUuid().toString();
-}
-
-void QtNetworkRequestData::encode(CoreIPC::ArgumentEncoder& encoder) const
-{
-    encoder << m_scheme;
-    encoder << m_urlString;
-    encoder << m_replyUuid;
-}
-
-bool QtNetworkRequestData::decode(CoreIPC::ArgumentDecoder& decoder, QtNetworkRequestData& destination)
-{
-    if (!decoder.decode(destination.m_scheme))
-        return false;
-    if (!decoder.decode(destination.m_urlString))
-        return false;
-    if (!decoder.decode(destination.m_replyUuid))
-        return false;
-    return true;
-}
-
-} // namespace WebKit
-
diff --git a/Source/WebKit2/Shared/qt/QtNetworkRequestData.h b/Source/WebKit2/Shared/qt/QtNetworkRequestData.h
deleted file mode 100644 (file)
index 22a4a8d..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must replyroduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef QtNetworkRequestData_h
-#define QtNetworkRequestData_h
-
-#include <wtf/RefCounted.h>
-#include <wtf/text/WTFString.h>
-
-namespace CoreIPC {
-class ArgumentEncoder;
-class ArgumentDecoder;
-};
-
-QT_BEGIN_NAMESPACE
-class QNetworkRequest;
-class QNetworkReply;
-QT_END_NAMESPACE
-
-namespace WebKit {
-
-struct QtNetworkRequestData {
-    QtNetworkRequestData();
-    QtNetworkRequestData(const QNetworkRequest&, QNetworkReply*);
-    void encode(CoreIPC::ArgumentEncoder&) const;
-    static bool decode(CoreIPC::ArgumentDecoder&, QtNetworkRequestData&);
-
-    String m_scheme;
-    String m_urlString;
-    String m_replyUuid;
-};
-
-struct QtRefCountedNetworkRequestData : public WTF::RefCounted<QtRefCountedNetworkRequestData> {
-    QtRefCountedNetworkRequestData(const QtNetworkRequestData&);
-    QtNetworkRequestData& data() { return m_data; }
-private:
-    QtNetworkRequestData m_data;
-};
-
-} // namespace WebKit
-
-#endif // QtNetworkRequestData_h
diff --git a/Source/WebKit2/Shared/qt/ShareableBitmapQt.cpp b/Source/WebKit2/Shared/qt/ShareableBitmapQt.cpp
deleted file mode 100644 (file)
index 764567c..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "ShareableBitmap.h"
-
-#include "NativeImageQt.h"
-#include <QImage>
-#include <QPainter>
-#include <QtGlobal>
-#include <WebCore/BitmapImage.h>
-#include <WebCore/GraphicsContext.h>
-
-using namespace WebCore;
-
-namespace WebKit {
-
-QImage ShareableBitmap::createQImage()
-{
-    ref(); // Balanced by deref in releaseSharedMemoryData
-    return QImage(reinterpret_cast<uchar*>(data()), m_size.width(), m_size.height(), m_size.width() * 4,
-                  m_flags & SupportsAlpha ? NativeImageQt::defaultFormatForAlphaEnabledImages() : NativeImageQt::defaultFormatForOpaqueImages(),
-                  releaseSharedMemoryData, this);
-}
-
-void ShareableBitmap::releaseSharedMemoryData(void* typelessBitmap)
-{
-    static_cast<ShareableBitmap*>(typelessBitmap)->deref(); // Balanced by ref in createQImage.
-}
-
-PassRefPtr<Image> ShareableBitmap::createImage()
-{
-    QPixmap* pixmap = new QPixmap(QPixmap::fromImage(createQImage()));
-    return BitmapImage::create(pixmap);
-}
-
-std::unique_ptr<GraphicsContext> ShareableBitmap::createGraphicsContext()
-{
-    // FIXME: Should this be OwnPtr<QImage>?
-    QImage* image = new QImage(createQImage());
-    QPainter* painter = new QPainter(image);
-    painter->setRenderHint(QPainter::SmoothPixmapTransform, true);
-    auto context = std::make_unique<GraphicsContext>(painter);
-    context->takeOwnershipOfPlatformContext();
-    return context;
-}
-
-void ShareableBitmap::paint(GraphicsContext& context, const IntPoint& dstPoint, const IntRect& srcRect)
-{
-    QImage image = createQImage();
-    QPainter* painter = context.platformContext();
-    painter->drawImage(dstPoint, image, QRect(srcRect));
-}
-
-void ShareableBitmap::paint(GraphicsContext& context, float scaleFactor, const IntPoint& dstPoint, const IntRect& srcRect)
-{
-    if (qFuzzyCompare(scaleFactor, 1)) {
-        paint(context, dstPoint, srcRect);
-        return;
-    }
-
-    QImage image = createQImage();
-    QPainter* painter = context.platformContext();
-
-    painter->save();
-    painter->scale(scaleFactor, scaleFactor);
-    painter->drawImage(dstPoint, image, QRect(srcRect));
-    painter->restore();
-}
-
-}
-// namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/WebCoreArgumentCodersQt.cpp b/Source/WebKit2/Shared/qt/WebCoreArgumentCodersQt.cpp
deleted file mode 100644 (file)
index 35bf22f..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "WebCoreArgumentCoders.h"
-
-#include <WebCore/ResourceError.h>
-#include <WebCore/ResourceRequest.h>
-#include <WebCore/ResourceResponse.h>
-
-using namespace WebCore;
-namespace CoreIPC {
-
-void ArgumentCoder<ResourceRequest>::encodePlatformData(ArgumentEncoder& encoder, const ResourceRequest& resourceRequest)
-{
-}
-
-bool ArgumentCoder<ResourceRequest>::decodePlatformData(ArgumentDecoder& decoder, ResourceRequest& resourceRequest)
-{
-    return true;
-}
-
-
-void ArgumentCoder<ResourceResponse>::encodePlatformData(ArgumentEncoder& encoder, const ResourceResponse& resourceResponse)
-{
-}
-
-bool ArgumentCoder<ResourceResponse>::decodePlatformData(ArgumentDecoder& decoder, ResourceResponse& resourceResponse)
-{
-    return true;
-}
-
-
-void ArgumentCoder<ResourceError>::encodePlatformData(ArgumentEncoder& encoder, const ResourceError& resourceError)
-{
-}
-
-bool ArgumentCoder<ResourceError>::decodePlatformData(ArgumentDecoder& decoder, ResourceError& resourceError)
-{
-    return true;
-}
-
-} // namespace CoreIPC
diff --git a/Source/WebKit2/Shared/qt/WebEventFactoryQt.cpp b/Source/WebKit2/Shared/qt/WebEventFactoryQt.cpp
deleted file mode 100644 (file)
index 0240729..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "WebEventFactoryQt.h"
-#include <QKeyEvent>
-#include <QLineF>
-#include <QTransform>
-#include <WebCore/FloatPoint.h>
-#include <WebCore/FloatSize.h>
-#include <WebCore/IntPoint.h>
-#include <WebCore/PlatformKeyboardEvent.h>
-#include <wtf/ASCIICType.h>
-#include <wtf/CurrentTime.h>
-
-using namespace WebCore;
-
-namespace WebKit {
-
-static inline double currentTimeForEvent(const QInputEvent* event)
-{
-    ASSERT(event);
-
-    // Use the input event timestamps if they are available.
-    // These timestamps are in milliseconds, thus convert them to seconds.
-    if (event->timestamp())
-        return static_cast<double>(event->timestamp()) / 1000;
-
-    return WTF::currentTime();
-}
-
-static WebMouseEvent::Button mouseButtonForEvent(QMouseEvent *event)
-{
-    if (event->button() == Qt::LeftButton || (event->buttons() & Qt::LeftButton))
-        return WebMouseEvent::LeftButton;
-    else if (event->button() == Qt::RightButton || (event->buttons() & Qt::RightButton))
-        return WebMouseEvent::RightButton;
-    else if (event->button() == Qt::MidButton || (event->buttons() & Qt::MidButton))
-        return WebMouseEvent::MiddleButton;
-    return WebMouseEvent::NoButton;
-}
-
-static WebEvent::Type webEventTypeForEvent(const QEvent* event)
-{
-    switch (event->type()) {
-    case QEvent::MouseButtonPress:
-        return WebEvent::MouseDown;
-    case QEvent::MouseButtonRelease:
-        return WebEvent::MouseUp;
-    case QEvent::MouseMove:
-        return WebEvent::MouseMove;
-    case QEvent::Wheel:
-        return WebEvent::Wheel;
-    case QEvent::KeyPress:
-        return WebEvent::KeyDown;
-    case QEvent::KeyRelease:
-        return WebEvent::KeyUp;
-#if ENABLE(TOUCH_EVENTS)
-    case QEvent::TouchBegin:
-        return WebEvent::TouchStart;
-    case QEvent::TouchUpdate:
-        return WebEvent::TouchMove;
-    case QEvent::TouchEnd:
-        return WebEvent::TouchEnd;
-    case QEvent::TouchCancel:
-        return WebEvent::TouchCancel;
-#endif
-    case QEvent::MouseButtonDblClick:
-        ASSERT_NOT_REACHED();
-        return WebEvent::NoType;
-    default:
-        // assert
-        return WebEvent::MouseMove;
-    }
-}
-
-static inline WebEvent::Modifiers modifiersForEvent(Qt::KeyboardModifiers modifiers)
-{
-    unsigned result = 0;
-    if (modifiers & Qt::ShiftModifier)
-        result |= WebEvent::ShiftKey;
-    if (modifiers & Qt::ControlModifier)
-        result |= WebEvent::ControlKey;
-    if (modifiers & Qt::AltModifier)
-        result |= WebEvent::AltKey;
-    if (modifiers & Qt::MetaModifier)
-        result |= WebEvent::MetaKey;
-    return (WebEvent::Modifiers)result;
-}
-
-WebMouseEvent WebEventFactory::createWebMouseEvent(QMouseEvent* event, const QTransform& fromItemTransform, int eventClickCount)
-{
-    static FloatPoint lastPos = FloatPoint(0, 0);
-
-    WebEvent::Type type             = webEventTypeForEvent(event);
-    WebMouseEvent::Button button    = mouseButtonForEvent(event);
-    float deltaX                    = event->pos().x() - lastPos.x();
-    float deltaY                    = event->pos().y() - lastPos.y();
-    int clickCount                  = eventClickCount;
-    WebEvent::Modifiers modifiers   = modifiersForEvent(event->modifiers());
-    double timestamp                = currentTimeForEvent(event);
-    lastPos.set(event->localPos().x(), event->localPos().y());
-
-    return WebMouseEvent(type, button, fromItemTransform.map(event->localPos()).toPoint(), event->screenPos().toPoint(), deltaX, deltaY, 0.0f, clickCount, modifiers, timestamp);
-}
-
-WebWheelEvent WebEventFactory::createWebWheelEvent(QWheelEvent* e, const QTransform& fromItemTransform)
-{
-    float deltaX                            = 0;
-    float deltaY                            = 0;
-    float wheelTicksX                       = 0;
-    float wheelTicksY                       = 0;
-    WebWheelEvent::Granularity granularity  = WebWheelEvent::ScrollByPixelWheelEvent;
-    WebEvent::Modifiers modifiers           = modifiersForEvent(e->modifiers());
-    double timestamp                        = currentTimeForEvent(e);
-
-    if (e->orientation() == Qt::Horizontal) {
-        deltaX = e->delta();
-        wheelTicksX = deltaX / 120.0f;
-    } else {
-        deltaY = e->delta();
-        wheelTicksY = deltaY / 120.0f;
-    }
-
-    // Since we report the scroll by the pixel, convert the delta to pixel distance using standard scroll step.
-    // Use the same single scroll step as QTextEdit (in QTextEditPrivate::init [h,v]bar->setSingleStep)
-    static const float cDefaultQtScrollStep = 20.f;
-    // ### FIXME: Default from QtGui. Should use Qt platform theme API once configurable.
-    const int wheelScrollLines = 3;
-    deltaX = wheelTicksX * wheelScrollLines * cDefaultQtScrollStep;
-    deltaY = wheelTicksY * wheelScrollLines * cDefaultQtScrollStep;
-
-    // Transform the position and the pixel scrolling distance.
-    QLineF transformedScroll = fromItemTransform.map(QLineF(e->posF(), e->posF() + QPointF(deltaX, deltaY)));
-    IntPoint transformedPoint = transformedScroll.p1().toPoint();
-    IntPoint globalPoint = e->globalPosF().toPoint();
-    FloatSize transformedDelta(transformedScroll.dx(), transformedScroll.dy());
-    FloatSize wheelTicks(wheelTicksX, wheelTicksY);
-    return WebWheelEvent(WebEvent::Wheel, transformedPoint, globalPoint, transformedDelta, wheelTicks, granularity, modifiers, timestamp);
-}
-
-WebKeyboardEvent WebEventFactory::createWebKeyboardEvent(QKeyEvent* event)
-{
-    const int state                 = event->modifiers();
-    WebEvent::Type type             = webEventTypeForEvent(event);
-    const String text               = event->text();
-    const String unmodifiedText     = event->text();
-    bool isAutoRepeat               = event->isAutoRepeat();
-    bool isSystemKey                = false; // FIXME: No idea what that is.
-    bool isKeypad                   = (state & Qt::KeypadModifier);
-    const String keyIdentifier      = keyIdentifierForQtKeyCode(event->key());
-    int windowsVirtualKeyCode       = windowsKeyCodeForKeyEvent(event->key(), isKeypad);
-    int nativeVirtualKeyCode        = event->nativeVirtualKey();
-    int macCharCode                 = 0;
-    WebEvent::Modifiers modifiers   = modifiersForEvent(event->modifiers());
-    double timestamp                = currentTimeForEvent(event);
-
-    return WebKeyboardEvent(type, text, unmodifiedText, keyIdentifier, windowsVirtualKeyCode, nativeVirtualKeyCode, macCharCode, isAutoRepeat, isKeypad, isSystemKey, modifiers, timestamp);
-}
-
-#if ENABLE(TOUCH_EVENTS)
-WebTouchEvent WebEventFactory::createWebTouchEvent(const QTouchEvent* event, const QTransform& fromItemTransform)
-{
-    WebEvent::Type type  = webEventTypeForEvent(event);
-    WebPlatformTouchPoint::TouchPointState state = static_cast<WebPlatformTouchPoint::TouchPointState>(0);
-    unsigned int id;
-    WebEvent::Modifiers modifiers   = modifiersForEvent(event->modifiers());
-    double timestamp                = currentTimeForEvent(event);
-
-    const QList<QTouchEvent::TouchPoint>& points = event->touchPoints();
-    
-    Vector<WebPlatformTouchPoint, 6> m_touchPoints;
-    for (int i = 0; i < points.count(); ++i) {
-        const QTouchEvent::TouchPoint& touchPoint = points.at(i);
-        id = static_cast<unsigned>(touchPoint.id());
-        switch (touchPoint.state()) {
-        case Qt::TouchPointReleased: 
-            state = WebPlatformTouchPoint::TouchReleased; 
-            break;
-        case Qt::TouchPointMoved: 
-            state = WebPlatformTouchPoint::TouchMoved; 
-            break;
-        case Qt::TouchPointPressed: 
-            state = WebPlatformTouchPoint::TouchPressed; 
-            break;
-        case Qt::TouchPointStationary: 
-            state = WebPlatformTouchPoint::TouchStationary; 
-            break;
-        default:
-            ASSERT_NOT_REACHED();
-            break;
-        }
-
-        // Qt does not have a Qt::TouchPointCancelled point state, so if we receive a touch cancel event,
-        // simply cancel all touch points here.
-        if (type == WebEvent::TouchCancel)
-            state = WebPlatformTouchPoint::TouchCancelled;
-
-        IntSize radius(touchPoint.rect().width()/ 2, touchPoint.rect().height() / 2);
-        m_touchPoints.append(WebPlatformTouchPoint(id, state, touchPoint.screenPos().toPoint(), fromItemTransform.map(touchPoint.pos()).toPoint(), radius, 0.0, touchPoint.pressure()));
-    }
-
-    return WebTouchEvent(type, m_touchPoints, modifiers, timestamp);
-}
-#endif
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/WebEventFactoryQt.h b/Source/WebKit2/Shared/qt/WebEventFactoryQt.h
deleted file mode 100644 (file)
index e5e3a10..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef WebEventFactory_h
-#define WebEventFactory_h
-
-#include "WebEvent.h"
-
-QT_BEGIN_NAMESPACE
-
-#if ENABLE(TOUCH_EVENTS)
-class QTouchEvent;
-#endif
-
-class QMouseEvent;
-class QWheelEvent;
-class QKeyEvent;
-class QTransform;
-
-QT_END_NAMESPACE
-
-namespace WebKit {
-
-class WebEventFactory {
-public:
-    static WebMouseEvent createWebMouseEvent(QMouseEvent*, const QTransform& fromItemTransform, int eventClickCount);
-    static WebWheelEvent createWebWheelEvent(QWheelEvent*, const QTransform& fromItemTransform);
-    static WebKeyboardEvent createWebKeyboardEvent(QKeyEvent*);
-#if ENABLE(TOUCH_EVENTS)
-    static WebTouchEvent createWebTouchEvent(const QTouchEvent*, const QTransform& fromItemTransform);
-#endif
-};
-
-} // namespace WebKit
-
-#endif // WebEventFactory_h
diff --git a/Source/WebKit2/Shared/qt/WebURLRequestQt.cpp b/Source/WebKit2/Shared/qt/WebURLRequestQt.cpp
deleted file mode 100644 (file)
index 717a4cc..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "WebURLRequest.h"
-
-namespace WebKit {
-
-WebURLRequest::WebURLRequest(PlatformRequest)
-{
-    ASSERT_NOT_REACHED();
-}
-
-PlatformRequest WebURLRequest::platformRequest() const
-{
-    ASSERT_NOT_REACHED();
-    return 0;
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Shared/qt/WebURLResponseQt.cpp b/Source/WebKit2/Shared/qt/WebURLResponseQt.cpp
deleted file mode 100644 (file)
index 35625e3..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "WebURLResponse.h"
-
-namespace WebKit {
-
-WebURLResponse::WebURLResponse(PlatformResponse)
-{
-    ASSERT_NOT_REACHED();
-}
-
-PlatformResponse WebURLResponse::platformResponse() const
-{
-    ASSERT_NOT_REACHED();
-    return 0;
-}
-
-} // namespace WebKit
diff --git a/Source/WebKit2/Target.pri b/Source/WebKit2/Target.pri
deleted file mode 100644 (file)
index c4f57b0..0000000
+++ /dev/null
@@ -1,953 +0,0 @@
-# -------------------------------------------------------------------
-# Target file for the WebKit2 static library
-#
-# See 'Tools/qmake/README' for an overview of the build system
-# -------------------------------------------------------------------
-
-TEMPLATE = lib
-TARGET = WebKit2
-
-include(WebKit2.pri)
-
-WEBKIT += wtf javascriptcore webcore
-
-CONFIG += staticlib
-
-RESOURCES += $$PWD/WebKit2.qrc
-
-enable?(netscape_plugin_api):enable?(plugin_architecture_unsupported) {
-    # Netscape plugins are not supported for this architecture on WebKit2,
-    # but they may have been enabled for WebKit1.
-    WEBKIT_CONFIG -= netscape_plugin_api
-}
-
-HEADERS += \
-    Platform/CoreIPC/ArgumentDecoder.h \
-    Platform/CoreIPC/ArgumentEncoder.h \
-    Platform/CoreIPC/Arguments.h \
-    Platform/CoreIPC/Attachment.h \
-    Platform/CoreIPC/Connection.h \
-    Platform/CoreIPC/DataReference.h \
-    Platform/CoreIPC/HandleMessage.h \
-    Platform/CoreIPC/MessageDecoder.h \
-    Platform/CoreIPC/MessageEncoder.h \
-    Platform/CoreIPC/MessageFlags.h \
-    Platform/CoreIPC/MessageReceiver.h \
-    Platform/CoreIPC/MessageReceiverMap.h \
-    Platform/CoreIPC/MessageSender.h \
-    Platform/CoreIPC/StringReference.h \
-    Platform/Logging.h \
-    Platform/Module.h \
-    Platform/PlatformProcessIdentifier.h \
-    Platform/SharedMemory.h \
-    Platform/WorkQueue.h \
-    PluginProcess/PluginControllerProxy.h \
-    PluginProcess/PluginCreationParameters.h \
-    PluginProcess/PluginProcess.h \
-    PluginProcess/WebProcessConnection.h \
-    Shared/API/c/WKArray.h \
-    Shared/API/c/WKBase.h \
-    Shared/API/c/WKCertificateInfo.h \
-    Shared/API/c/WKConnectionRef.h \
-    Shared/API/c/WKContextMenuItem.h \
-    Shared/API/c/WKContextMenuItemTypes.h \
-    Shared/API/c/WKData.h \
-    Shared/API/c/WKDictionary.h \
-    Shared/API/c/WKError.h \
-    Shared/API/c/WKGeometry.h \
-    Shared/API/c/WKGraphicsContext.h \
-    Shared/API/c/WKImage.h \
-    Shared/API/c/WKMutableArray.h \
-    Shared/API/c/WKMutableDictionary.h \
-    Shared/API/c/WKNumber.h \
-    Shared/API/c/WKPageLoadTypes.h \
-    Shared/API/c/WKPageVisibilityTypes.h \
-    Shared/API/c/WKPluginInformation.h \
-    Shared/API/c/WKRenderLayer.h \
-    Shared/API/c/WKRenderObject.h \
-    Shared/API/c/WKSecurityOrigin.h \
-    Shared/API/c/WKSerializedScriptValue.h \
-    Shared/API/c/WKSharedAPICast.h \
-    Shared/API/c/WKString.h \
-    Shared/API/c/WKStringPrivate.h \
-    Shared/API/c/WKType.h \
-    Shared/API/c/WKURL.h \
-    Shared/API/c/WKURLRequest.h \
-    Shared/API/c/WKURLResponse.h \
-    Shared/API/c/WKUserContentURLPattern.h \
-    Shared/API/c/qt/WKImageQt.h \
-    Shared/APIClientTraits.h \
-    Shared/Authentication/AuthenticationManager.h \
-    Shared/ShareableBitmap.h \
-    Shared/CacheModel.h \
-    Shared/ActivityAssertion.h \
-    Shared/ChildProcess.h \
-    Shared/ChildProcessProxy.h \
-    Shared/ConnectionStack.h \
-    Shared/DictionaryPopupInfo.h \
-    Shared/Downloads/Download.h \
-    Shared/Downloads/DownloadManager.h \
-    Shared/Downloads/qt/QtFileDownloader.h \
-    Shared/EditorState.h \
-    Shared/FontInfo.h \
-    Shared/ImageOptions.h \
-    Shared/ImmutableArray.h \
-    Shared/ImmutableDictionary.h \
-    Shared/LayerTreeContext.h \
-    Shared/MutableArray.h \
-    Shared/MutableDictionary.h \
-    Shared/NativeWebKeyboardEvent.h \
-    Shared/NativeWebMouseEvent.h \
-    Shared/NativeWebWheelEvent.h \
-    Shared/Network/NetworkProcessSupplement.h \
-    Shared/OriginAndDatabases.h \
-    Shared/PlatformPopupMenuData.h \
-    Shared/PrintInfo.h \
-    Shared/ProcessExecutablePath.h \
-    Shared/SameDocumentNavigationType.h \
-    Shared/SecurityOriginData.h \
-    Shared/SessionState.h \
-    Shared/StatisticsData.h \
-    Shared/UpdateInfo.h \
-    Shared/UserMessageCoders.h \
-    Shared/VisitedLinkTable.h \
-    Shared/WebCoreArgumentCoders.h \
-    Shared/WebBackForwardListItem.h \
-    Shared/WebBatteryStatus.h \
-    Shared/WebCertificateInfo.h \
-    Shared/WebConnection.h \
-    Shared/WebConnectionClient.h \
-    Shared/WebContextMenuItem.h \
-    Shared/WebContextMenuItemData.h \
-    Shared/WebError.h \
-    Shared/WebEvent.h \
-    Shared/WebEventConversion.h \
-    Shared/WebFindOptions.h \
-    Shared/WebGeolocationPosition.h \
-    Shared/WebGeometry.h \
-    Shared/WebGraphicsContext.h \
-    Shared/WebHitTestResult.h \
-    Shared/WebImage.h \
-    Shared/WebNavigationDataStore.h \
-    Shared/WebNumber.h \
-    Shared/WebOpenPanelParameters.h \
-    Shared/WebPageCreationParameters.h \
-    Shared/WebPageGroupData.h \
-    Shared/WebPopupItem.h \
-    Shared/WebPreferencesStore.h \
-    Shared/WebProcessCreationParameters.h \
-    Shared/WebRenderLayer.h \
-    Shared/WebRenderObject.h \
-    Shared/WebURLRequest.h \
-    Shared/WebURLResponse.h \
-    Shared/WebUserContentURLPattern.h \
-    Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h \
-    Shared/CoordinatedGraphics/WebCoordinatedSurface.h \
-    Shared/Plugins/Netscape/NetscapePluginModule.h \
-    Shared/Plugins/Netscape/PluginInformation.h \
-    Shared/Plugins/NPRemoteObjectMap.h \
-    Shared/Plugins/NPIdentifierData.h \
-    Shared/Plugins/NPObjectMessageReceiver.h \
-    Shared/Plugins/NPObjectProxy.h \
-    Shared/Plugins/NPVariantData.h \
-    Shared/Plugins/PluginModuleInfo.h \
-    Shared/Plugins/PluginProcessCreationParameters.h \
-    Shared/Plugins/PluginQuirks.h \
-    Shared/qt/ArgumentCodersQt.h \
-    Shared/qt/PlatformCertificateInfo.h \
-    Shared/qt/WebEventFactoryQt.h \
-    Shared/qt/QtNetworkReplyData.h \
-    Shared/qt/QtNetworkRequestData.h \
-    UIProcess/API/C/WKAPICast.h \
-    UIProcess/API/C/WKAuthenticationChallenge.h \
-    UIProcess/API/C/WKAuthenticationDecisionListener.h \
-    UIProcess/API/C/WKBackForwardList.h \
-    UIProcess/API/C/WKBackForwardListItem.h \
-    UIProcess/API/C/WKBatteryManager.h \
-    UIProcess/API/C/WKBatteryStatus.h \
-    UIProcess/API/C/WKColorPickerResultListener.h \
-    UIProcess/API/C/WKContext.h \
-    UIProcess/API/C/WKContextPrivate.h \
-    UIProcess/API/C/WKCredential.h \
-    UIProcess/API/C/WKCredentialTypes.h \
-    UIProcess/API/C/WKDatabaseManager.h \
-    UIProcess/API/C/WKDownload.h \
-    UIProcess/API/C/WKFrame.h \
-    UIProcess/API/C/WKFramePolicyListener.h \
-    UIProcess/API/C/WKGeolocationManager.h \
-    UIProcess/API/C/WKGeolocationPermissionRequest.h \
-    UIProcess/API/C/WKGeolocationPosition.h \
-    UIProcess/API/C/WKGrammarDetail.h \
-    UIProcess/API/C/WKHitTestResult.h \
-    UIProcess/API/C/WKIconDatabase.h \
-    UIProcess/API/C/WKInspector.h \
-    UIProcess/API/C/WKOpenPanelParameters.h \
-    UIProcess/API/C/WKOpenPanelResultListener.h \
-    UIProcess/API/C/WKNavigationData.h \
-    UIProcess/API/C/WKNetworkInfo.h \
-    UIProcess/API/C/WKNetworkInfoManager.h \
-    UIProcess/API/C/WKNotification.h \
-    UIProcess/API/C/WKNotificationManager.h \
-    UIProcess/API/C/WKNotificationPermissionRequest.h \
-    UIProcess/API/C/WKNotificationProvider.h \
-    UIProcess/API/C/WKPage.h \
-    UIProcess/API/C/WKPageGroup.h \
-    UIProcess/API/C/WKPagePrivate.h \
-    UIProcess/API/C/WKPluginSiteDataManager.h \
-    UIProcess/API/C/WKPreferences.h \
-    UIProcess/API/C/WKPreferencesPrivate.h \
-    UIProcess/API/C/WKProtectionSpace.h \
-    UIProcess/API/C/WKProtectionSpaceTypes.h \
-    UIProcess/API/C/WKTextChecker.h \
-    UIProcess/API/C/WKVibration.h \
-    UIProcess/API/C/WebKit2_C.h \
-    UIProcess/API/C/qt/WKNativeEvent.h \
-    UIProcess/API/C/qt/WKIconDatabaseQt.h \
-    UIProcess/API/cpp/WKRetainPtr.h \
-    UIProcess/API/cpp/qt/WKStringQt.h \
-    UIProcess/API/cpp/qt/WKURLQt.h \
-    UIProcess/API/qt/raw/qrawwebview_p.h \
-    UIProcess/API/qt/raw/qrawwebview_p_p.h \
-    UIProcess/Authentication/AuthenticationChallengeProxy.h \
-    UIProcess/Authentication/AuthenticationDecisionListener.h \
-    UIProcess/Authentication/WebCredential.h \
-    UIProcess/Authentication/WebProtectionSpace.h \
-    UIProcess/BackingStore.h \
-    UIProcess/Downloads/DownloadProxy.h \
-    UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h \
-    UIProcess/DefaultUndoController.h \
-    UIProcess/DrawingAreaProxy.h \
-    UIProcess/DrawingAreaProxyImpl.h \
-    UIProcess/FindIndicator.h \
-    UIProcess/GenericCallback.h \
-    UIProcess/GeolocationPermissionRequestManagerProxy.h \
-    UIProcess/GeolocationPermissionRequestProxy.h \
-    UIProcess/Launcher/ProcessLauncher.h \
-    UIProcess/Notifications/NotificationPermissionRequest.h \
-    UIProcess/Notifications/NotificationPermissionRequestManagerProxy.h \
-    UIProcess/Notifications/WebNotification.h \
-    UIProcess/Notifications/WebNotificationManagerProxy.h \
-    UIProcess/Notifications/WebNotificationProvider.h \
-    UIProcess/PageClient.h \
-    UIProcess/PageViewportController.h \
-    UIProcess/PageViewportControllerClient.h \
-    UIProcess/Plugins/PlugInAutoStartProvider.h \
-    UIProcess/Plugins/PluginInfoStore.h \
-    UIProcess/Plugins/PluginProcessProxy.h \
-    UIProcess/Plugins/PluginProcessManager.h \
-    UIProcess/ProcessModel.h \
-    UIProcess/ResponsivenessTimer.h \
-    UIProcess/StatisticsRequest.h \
-    UIProcess/Storage/LocalStorageDatabase.h \
-    UIProcess/Storage/LocalStorageDatabaseTracker.h \
-    UIProcess/Storage/StorageManager.h \
-    UIProcess/TextChecker.h \
-    UIProcess/TextCheckerCompletion.h \
-    UIProcess/VisitedLinkProvider.h \
-    UIProcess/WebApplicationCacheManagerProxy.h \
-    UIProcess/WebBackForwardList.h \
-    UIProcess/WebBatteryManagerProxy.h \
-    UIProcess/WebBatteryProvider.h \
-    UIProcess/WebColorPicker.h \
-    UIProcess/WebColorPickerResultListenerProxy.h \
-    UIProcess/WebConnectionToWebProcess.h \
-    UIProcess/WebContext.h \
-    UIProcess/WebContextClient.h \
-    UIProcess/WebContextConnectionClient.h \
-    UIProcess/WebContextInjectedBundleClient.h \
-    UIProcess/WebContextMenuProxy.h \
-    UIProcess/WebContextUserMessageCoders.h \
-    UIProcess/WebCookieManagerProxy.h \
-    UIProcess/WebCookieManagerProxyClient.h \
-    UIProcess/WebDatabaseManagerProxy.h \
-    UIProcess/WebDatabaseManagerProxyClient.h \
-    UIProcess/WebDownloadClient.h \
-    UIProcess/WebEditCommandProxy.h \
-    UIProcess/WebFindClient.h \
-    UIProcess/WebFormClient.h \
-    UIProcess/WebFormSubmissionListenerProxy.h \
-    UIProcess/WebFrameListenerProxy.h \
-    UIProcess/WebFramePolicyListenerProxy.h \
-    UIProcess/WebFrameProxy.h \
-    UIProcess/WebFullScreenManagerProxy.h \
-    UIProcess/WebGeolocationManagerProxy.h \
-    UIProcess/WebGeolocationProvider.h \
-    UIProcess/WebGrammarDetail.h \
-    UIProcess/WebHistoryClient.h \
-    UIProcess/WebIconDatabase.h \
-    UIProcess/WebIconDatabaseClient.h \
-    UIProcess/WebInspectorProxy.h \
-    UIProcess/WebKeyValueStorageManager.h \
-    UIProcess/WebLoaderClient.h \
-    UIProcess/WebMediaCacheManagerProxy.h \
-    UIProcess/WebNavigationData.h \
-    UIProcess/WebOpenPanelResultListenerProxy.h \
-    UIProcess/WebPageContextMenuClient.h \
-    UIProcess/WebPageGroup.h \
-    UIProcess/WebPageProxy.h \
-    UIProcess/WebPolicyClient.h \
-    UIProcess/WebPreferences.h \
-    UIProcess/WebProcessProxy.h \
-    UIProcess/WebResourceCacheManagerProxy.h \
-    UIProcess/WebTextChecker.h \
-    UIProcess/WebTextCheckerClient.h \
-    UIProcess/WebUIClient.h \
-    UIProcess/WebVibrationProvider.h \
-    UIProcess/WebVibrationProxy.h \
-    WebProcess/ApplicationCache/WebApplicationCacheManager.h \
-    WebProcess/Battery/WebBatteryManager.h \
-    WebProcess/Cookies/WebCookieManager.h \
-    WebProcess/FullScreen/WebFullScreenManager.h \
-    WebProcess/Geolocation/GeolocationPermissionRequestManager.h \
-    WebProcess/Geolocation/WebGeolocationManager.h \
-    WebProcess/IconDatabase/WebIconDatabaseProxy.h \
-    WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.h \
-    WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.h \
-    WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h \
-    WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.h \
-    WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.h \
-    WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h \
-    WebProcess/InjectedBundle/API/c/WKBundlePage.h \
-    WebProcess/InjectedBundle/API/c/WKBundlePageGroup.h \
-    WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.h \
-    WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h \
-    WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h \
-    WebProcess/InjectedBundle/InjectedBundle.h \
-    WebProcess/InjectedBundle/InjectedBundleClient.h \
-    WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h \
-    WebProcess/InjectedBundle/InjectedBundleHitTestResult.h \
-    WebProcess/InjectedBundle/InjectedBundleHitTestResultMediaType.h \
-    WebProcess/InjectedBundle/InjectedBundleNavigationAction.h \
-    WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.h \
-    WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h \
-    WebProcess/InjectedBundle/InjectedBundlePageFormClient.h \
-    WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.h \
-    WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.h \
-    WebProcess/InjectedBundle/InjectedBundlePageUIClient.h \
-    WebProcess/InjectedBundle/InjectedBundleScriptWorld.h \
-    WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h \
-    WebProcess/MediaCache/WebMediaCacheManager.h \
-    WebProcess/NetworkInfo/WebNetworkInfoManager.h \
-    WebProcess/Notifications/NotificationPermissionRequestManager.h \
-    WebProcess/Notifications/WebNotificationManager.h \
-    WebProcess/ResourceCache/WebResourceCacheManager.h \
-    WebProcess/Plugins/Netscape/JSNPMethod.h \
-    WebProcess/Plugins/Netscape/JSNPObject.h \
-    WebProcess/Plugins/Netscape/NPJSObject.h \
-    WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h \
-    WebProcess/Plugins/Netscape/NPRuntimeUtilities.h \
-    WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h \
-    WebProcess/Plugins/Netscape/NetscapePlugin.h \
-    WebProcess/Plugins/Netscape/NetscapePluginStream.h \
-    WebProcess/Plugins/Plugin.h \
-    WebProcess/Plugins/PluginController.h \
-    WebProcess/Plugins/PluginView.h \
-    WebProcess/Plugins/PluginProxy.h \
-    WebProcess/Plugins/PluginProcessConnection.h \
-    WebProcess/Plugins/PluginProcessConnectionManager.h \
-    WebProcess/WebCoreSupport/WebBatteryClient.h \
-    WebProcess/WebCoreSupport/WebChromeClient.h \
-    WebProcess/WebCoreSupport/WebColorChooser.h \
-    WebProcess/WebCoreSupport/WebContextMenuClient.h \
-    WebProcess/WebCoreSupport/WebDatabaseManager.h \
-    WebProcess/WebCoreSupport/WebDragClient.h \
-    WebProcess/WebCoreSupport/WebEditorClient.h \
-    WebProcess/WebCoreSupport/WebErrors.h \
-    WebProcess/WebCoreSupport/WebFrameLoaderClient.h \
-    WebProcess/WebCoreSupport/WebGeolocationClient.h \
-    WebProcess/WebCoreSupport/WebInspectorClient.h \
-    WebProcess/WebCoreSupport/WebInspectorFrontendClient.h \
-    WebProcess/WebCoreSupport/WebNetworkInfoClient.h \
-    WebProcess/WebCoreSupport/WebNotificationClient.h \
-    WebProcess/WebCoreSupport/WebPlatformStrategies.h \
-    WebProcess/WebCoreSupport/WebPlugInClient.h \
-    WebProcess/WebCoreSupport/WebPopupMenu.h \
-    WebProcess/WebCoreSupport/WebSearchPopupMenu.h \
-    WebProcess/WebCoreSupport/WebVibrationClient.h \
-    WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h \
-    WebProcess/WebPage/DrawingArea.h \
-    WebProcess/WebPage/DrawingAreaImpl.h \
-    WebProcess/WebPage/EventDispatcher.h \
-    WebProcess/WebPage/FindController.h \
-    WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h \
-    WebProcess/WebPage/TapHighlightController.h \
-    WebProcess/WebPage/PageBanner.h \
-    WebProcess/WebPage/PageOverlay.h \
-    WebProcess/WebPage/WebContextMenu.h \
-    WebProcess/WebPage/WebFrame.h \
-    WebProcess/WebPage/WebInspector.h \
-    WebProcess/WebPage/WebOpenPanelResultListener.h \
-    WebProcess/WebPage/WebPage.h \
-    WebProcess/WebPage/WebPageGroupProxy.h \
-    WebProcess/WebPage/WebUndoStep.h \
-    WebProcess/WebConnectionToUIProcess.h \
-    WebProcess/WebProcessSupplement.h \
-    WebProcess/WebProcess.h \
-    WebProcess/qt/QtBuiltinBundle.h \
-    WebProcess/qt/QtBuiltinBundlePage.h \
-    WebProcess/qt/QtNetworkAccessManager.h \
-    WebProcess/qt/QtNetworkReply.h
-
-SOURCES += \
-    Platform/CoreIPC/ArgumentCoders.cpp \
-    Platform/CoreIPC/ArgumentDecoder.cpp \
-    Platform/CoreIPC/ArgumentEncoder.cpp \
-    Platform/CoreIPC/Attachment.cpp \
-    Platform/CoreIPC/Connection.cpp \
-    Platform/CoreIPC/DataReference.cpp \
-    Platform/CoreIPC/MessageDecoder.cpp \
-    Platform/CoreIPC/MessageEncoder.cpp \
-    Platform/CoreIPC/MessageReceiverMap.cpp \
-    Platform/CoreIPC/MessageSender.cpp \
-    Platform/CoreIPC/StringReference.cpp \
-    Platform/Logging.cpp \
-    Platform/Module.cpp \
-    Platform/WorkQueue.cpp \
-    Platform/qt/LoggingQt.cpp \
-    Platform/qt/ModuleQt.cpp \
-    PluginProcess/PluginControllerProxy.cpp \
-    PluginProcess/PluginCreationParameters.cpp \
-    PluginProcess/PluginProcess.cpp \
-    PluginProcess/WebProcessConnection.cpp \
-    PluginProcess/qt/PluginControllerProxyQt.cpp \
-    PluginProcess/qt/PluginProcessMainQt.cpp \
-    PluginProcess/qt/PluginProcessQt.cpp \
-    Shared/API/c/WKArray.cpp \
-    Shared/API/c/WKCertificateInfo.cpp \
-    Shared/API/c/WKConnectionRef.cpp \
-    Shared/API/c/WKContextMenuItem.cpp \
-    Shared/API/c/WKData.cpp \
-    Shared/API/c/WKDictionary.cpp \
-    Shared/API/c/WKError.cpp \
-    Shared/API/c/WKGeometry.cpp \
-    Shared/API/c/WKGraphicsContext.cpp \
-    Shared/API/c/WKImage.cpp \
-    Shared/API/c/WKMutableArray.cpp \
-    Shared/API/c/WKMutableDictionary.cpp \
-    Shared/API/c/WKNumber.cpp \
-    Shared/API/c/WKPluginInformation.cpp \
-    Shared/API/c/WKRenderLayer.cpp \
-    Shared/API/c/WKRenderObject.cpp \
-    Shared/API/c/WKSecurityOrigin.cpp \
-    Shared/API/c/WKSerializedScriptValue.cpp \
-    Shared/API/c/WKString.cpp \
-    Shared/API/c/WKType.cpp \
-    Shared/API/c/WKURL.cpp \
-    Shared/API/c/WKURLRequest.cpp \
-    Shared/API/c/WKURLResponse.cpp \
-    Shared/API/c/WKUserContentURLPattern.cpp \
-    Shared/API/c/qt/WKImageQt.cpp \
-    Shared/APIClientTraits.cpp \
-    Shared/APIObject.cpp \
-    Shared/ActivityAssertion.cpp \
-    Shared/Authentication/AuthenticationManager.cpp \
-    Shared/Plugins/Netscape/PluginInformation.cpp \
-    Shared/Plugins/Netscape/NetscapePluginModule.cpp \
-    Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp \
-    Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp \
-    Shared/CacheModel.cpp \
-    Shared/ShareableBitmap.cpp \
-    Shared/Plugins/NPRemoteObjectMap.cpp \
-    Shared/Plugins/NPIdentifierData.cpp \
-    Shared/Plugins/NPObjectMessageReceiver.cpp \
-    Shared/Plugins/NPObjectProxy.cpp \
-    Shared/Plugins/NPVariantData.cpp \
-    Shared/Plugins/PluginModuleInfo.cpp \
-    Shared/Plugins/PluginProcessCreationParameters.cpp \
-    Shared/ChildProcess.cpp \
-    Shared/ChildProcessProxy.cpp \
-    Shared/ConnectionStack.cpp \
-    Shared/DictionaryPopupInfo.cpp \
-    Shared/Downloads/Download.cpp \
-    Shared/Downloads/DownloadManager.cpp \
-    Shared/Downloads/qt/DownloadQt.cpp \
-    Shared/Downloads/qt/QtFileDownloader.cpp \
-    Shared/EditorState.cpp \
-    Shared/FontInfo.cpp \
-    Shared/ImmutableArray.cpp \
-    Shared/ImmutableDictionary.cpp \
-    Shared/MutableArray.cpp \
-    Shared/MutableDictionary.cpp \
-    Shared/OriginAndDatabases.cpp \
-    Shared/PlatformPopupMenuData.cpp \
-    Shared/PrintInfo.cpp \
-    Shared/SecurityOriginData.cpp \
-    Shared/SessionState.cpp \
-    Shared/StatisticsData.cpp \
-    Shared/UpdateInfo.cpp \
-    Shared/VisitedLinkTable.cpp \
-    Shared/WebBackForwardListItem.cpp \
-    Shared/WebBatteryStatus.cpp \
-    Shared/WebConnection.cpp \
-    Shared/WebConnectionClient.cpp \
-    Shared/WebContextMenuItem.cpp \
-    Shared/WebContextMenuItemData.cpp \
-    Shared/WebCoreArgumentCoders.cpp \
-    Shared/WebError.cpp \
-    Shared/WebEvent.cpp \
-    Shared/WebEventConversion.cpp \
-    Shared/WebGestureEvent.cpp \
-    Shared/WebGeolocationPosition.cpp \
-    Shared/WebGraphicsContext.cpp \
-    Shared/WebHitTestResult.cpp \
-    Shared/WebKeyboardEvent.cpp \
-    Shared/WebKit2Initialize.cpp \
-    Shared/WebImage.cpp \
-    Shared/WebMouseEvent.cpp \
-    Shared/WebNetworkInfo.cpp \
-    Shared/WebOpenPanelParameters.cpp \
-    Shared/WebPageCreationParameters.cpp \
-    Shared/WebPageGroupData.cpp \
-    Shared/WebPlatformTouchPoint.cpp \
-    Shared/WebPopupItem.cpp \
-    Shared/WebPreferencesStore.cpp \
-    Shared/WebProcessCreationParameters.cpp \
-    Shared/WebRenderLayer.cpp \
-    Shared/WebRenderObject.cpp \
-    Shared/WebTouchEvent.cpp \
-    Shared/WebURLRequest.cpp \
-    Shared/WebURLResponse.cpp \
-    Shared/WebWheelEvent.cpp \
-    Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp \
-    Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp \
-    Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.cpp \
-    Shared/qt/ArgumentCodersQt.cpp \
-    Shared/qt/LayerTreeContextQt.cpp \
-    Shared/qt/ShareableBitmapQt.cpp \
-    Shared/qt/NativeWebKeyboardEventQt.cpp \
-    Shared/qt/NativeWebMouseEventQt.cpp \
-    Shared/qt/NativeWebWheelEventQt.cpp \
-    Shared/qt/ProcessExecutablePathQt.cpp \
-    Shared/qt/WebCoreArgumentCodersQt.cpp \
-    Shared/qt/WebEventFactoryQt.cpp \
-    Shared/qt/QtNetworkReplyData.cpp \
-    Shared/qt/QtNetworkRequestData.cpp \
-    Shared/qt/WebURLRequestQt.cpp \
-    Shared/qt/WebURLResponseQt.cpp \
-    UIProcess/API/C/WKAuthenticationChallenge.cpp \
-    UIProcess/API/C/WKAuthenticationDecisionListener.cpp \
-    UIProcess/API/C/WKBackForwardList.cpp \
-    UIProcess/API/C/WKBackForwardListItem.cpp \
-    UIProcess/API/C/WKBatteryManager.cpp \
-    UIProcess/API/C/WKBatteryStatus.cpp \
-    UIProcess/API/C/WKColorPickerResultListener.cpp \
-    UIProcess/API/C/WKContext.cpp \
-    UIProcess/API/C/WKCredential.cpp \
-    UIProcess/API/C/WKDatabaseManager.cpp \
-    UIProcess/API/C/WKDownload.cpp \
-    UIProcess/API/C/WKFrame.cpp \
-    UIProcess/API/C/WKFramePolicyListener.cpp \
-    UIProcess/API/C/WKGeolocationManager.cpp \
-    UIProcess/API/C/WKGeolocationPermissionRequest.cpp \
-    UIProcess/API/C/WKGeolocationPosition.cpp \
-    UIProcess/API/C/WKGrammarDetail.cpp \
-    UIProcess/API/C/WKHitTestResult.cpp \
-    UIProcess/API/C/WKIconDatabase.cpp \
-    UIProcess/API/C/WKInspector.cpp \
-    UIProcess/API/C/WKNotification.cpp \
-    UIProcess/API/C/WKNotificationManager.cpp \
-    UIProcess/API/C/WKNotificationPermissionRequest.cpp \
-    UIProcess/API/C/WKOpenPanelParameters.cpp \
-    UIProcess/API/C/WKOpenPanelResultListener.cpp \
-    UIProcess/API/C/WKNavigationData.cpp \
-    UIProcess/API/C/WKNetworkInfo.cpp \
-    UIProcess/API/C/WKNetworkInfoManager.cpp \
-    UIProcess/API/C/WKPage.cpp \
-    UIProcess/API/C/WKPageGroup.cpp \
-    UIProcess/API/C/WKPluginSiteDataManager.cpp \
-    UIProcess/API/C/WKPreferences.cpp \
-    UIProcess/API/C/WKProtectionSpace.cpp \
-    UIProcess/API/C/WKResourceCacheManager.cpp \
-    UIProcess/API/C/WKTextChecker.cpp \
-    UIProcess/API/C/WKVibration.cpp \
-    UIProcess/API/C/qt/WKIconDatabaseQt.cpp \
-    UIProcess/API/cpp/qt/WKStringQt.cpp \
-    UIProcess/API/cpp/qt/WKURLQt.cpp \
-    UIProcess/API/qt/raw/qrawwebview.cpp \
-    UIProcess/Authentication/AuthenticationChallengeProxy.cpp \
-    UIProcess/Authentication/AuthenticationDecisionListener.cpp \
-    UIProcess/Authentication/WebCredential.cpp \
-    UIProcess/Authentication/WebProtectionSpace.cpp \
-    UIProcess/BackingStore.cpp \
-    UIProcess/qt/BackingStoreQt.cpp \
-    UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp \
-    UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp \
-    UIProcess/DefaultUndoController.cpp \
-    UIProcess/Downloads/DownloadProxy.cpp \
-    UIProcess/Downloads/DownloadProxyMap.cpp \
-    UIProcess/DrawingAreaProxy.cpp \
-    UIProcess/DrawingAreaProxyImpl.cpp \
-    UIProcess/FindIndicator.cpp \
-    UIProcess/GeolocationPermissionRequestManagerProxy.cpp \
-    UIProcess/GeolocationPermissionRequestProxy.cpp \
-    UIProcess/TextCheckerCompletion.cpp \
-    UIProcess/Launcher/ProcessLauncher.cpp \
-    UIProcess/Launcher/qt/ProcessLauncherQt.cpp \
-    UIProcess/Notifications/NotificationPermissionRequest.cpp \
-    UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp \
-    UIProcess/Notifications/WebNotification.cpp \
-    UIProcess/Notifications/WebNotificationManagerProxy.cpp \
-    UIProcess/Notifications/WebNotificationProvider.cpp \
-    UIProcess/PageViewportController.cpp \
-    UIProcess/Plugins/PlugInAutoStartProvider.cpp \
-    UIProcess/Plugins/PluginInfoStore.cpp \
-    UIProcess/Plugins/PluginProcessProxy.cpp \
-    UIProcess/Plugins/PluginProcessManager.cpp \
-    UIProcess/Plugins/WebPluginSiteDataManager.cpp \
-    UIProcess/Plugins/qt/PluginProcessProxyQt.cpp \
-    UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp \
-    UIProcess/ResponsivenessTimer.cpp \
-    UIProcess/StatisticsRequest.cpp \
-    UIProcess/Storage/LocalStorageDatabase.cpp \
-    UIProcess/Storage/LocalStorageDatabaseTracker.cpp \
-    UIProcess/Storage/StorageManager.cpp \
-    UIProcess/VisitedLinkProvider.cpp \
-    UIProcess/WebApplicationCacheManagerProxy.cpp \
-    UIProcess/WebBackForwardList.cpp \
-    UIProcess/WebBatteryManagerProxy.cpp \
-    UIProcess/WebBatteryProvider.cpp \
-    UIProcess/WebColorPicker.cpp \
-    UIProcess/WebColorPickerResultListenerProxy.cpp \
-    UIProcess/WebConnectionToWebProcess.cpp \
-    UIProcess/WebContext.cpp \
-    UIProcess/WebContextClient.cpp \
-    UIProcess/WebContextConnectionClient.cpp \
-    UIProcess/WebContextInjectedBundleClient.cpp \
-    UIProcess/WebContextMenuProxy.cpp \
-    UIProcess/WebCookieManagerProxy.cpp \
-    UIProcess/WebCookieManagerProxyClient.cpp \
-    UIProcess/WebDatabaseManagerProxy.cpp \
-    UIProcess/WebDatabaseManagerProxyClient.cpp \
-    UIProcess/WebDownloadClient.cpp \
-    UIProcess/WebEditCommandProxy.cpp \
-    UIProcess/WebFindClient.cpp \
-    UIProcess/WebFormClient.cpp \
-    UIProcess/WebFormSubmissionListenerProxy.cpp \
-    UIProcess/WebFrameListenerProxy.cpp \
-    UIProcess/WebFramePolicyListenerProxy.cpp \
-    UIProcess/WebFrameProxy.cpp \
-    UIProcess/WebFullScreenManagerProxy.cpp \
-    UIProcess/WebGeolocationManagerProxy.cpp \
-    UIProcess/WebGeolocationProvider.cpp \
-    UIProcess/WebGrammarDetail.cpp \
-    UIProcess/WebHistoryClient.cpp \
-    UIProcess/WebIconDatabase.cpp \
-    UIProcess/WebIconDatabaseClient.cpp \
-    UIProcess/WebInspectorProxy.cpp \
-    UIProcess/WebKeyValueStorageManager.cpp \
-    UIProcess/WebLoaderClient.cpp \
-    UIProcess/WebMediaCacheManagerProxy.cpp \
-    UIProcess/WebNavigationData.cpp \
-    UIProcess/WebNetworkInfoManagerProxy.cpp \
-    UIProcess/WebNetworkInfoProvider.cpp \
-    UIProcess/WebOpenPanelResultListenerProxy.cpp \
-    UIProcess/WebPageContextMenuClient.cpp \
-    UIProcess/WebPageGroup.cpp \
-    UIProcess/WebPageProxy.cpp \
-    UIProcess/WebPolicyClient.cpp \
-    UIProcess/WebPreferences.cpp \
-    UIProcess/WebProcessProxy.cpp \
-    UIProcess/WebResourceCacheManagerProxy.cpp \
-    UIProcess/WebTextChecker.cpp \
-    UIProcess/WebTextCheckerClient.cpp \
-    UIProcess/WebUIClient.cpp \
-    UIProcess/WebVibrationProvider.cpp \
-    UIProcess/WebVibrationProxy.cpp \
-    UIProcess/qt/TextCheckerQt.cpp \
-    UIProcess/qt/WebContextQt.cpp \
-    UIProcess/qt/WebFullScreenManagerProxyQt.cpp \
-    UIProcess/qt/WebInspectorProxyQt.cpp \
-    UIProcess/qt/WebPageProxyQt.cpp \
-    UIProcess/qt/WebPreferencesQt.cpp \
-    UIProcess/qt/WebProcessProxyQt.cpp \
-    WebProcess/ApplicationCache/WebApplicationCacheManager.cpp \
-    WebProcess/Battery/WebBatteryManager.cpp \
-    WebProcess/Cookies/WebCookieManager.cpp \
-    WebProcess/Cookies/qt/WebCookieManagerQt.cpp \
-    WebProcess/FullScreen/WebFullScreenManager.cpp \
-    WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp \
-    WebProcess/Geolocation/WebGeolocationManager.cpp \
-    WebProcess/IconDatabase/WebIconDatabaseProxy.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundle.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundlePage.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp \
-    WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp \
-    WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp \
-    WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp \
-    WebProcess/InjectedBundle/InjectedBundle.cpp \
-    WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp \
-    WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp \
-    WebProcess/InjectedBundle/InjectedBundleClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp \
-    WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp \
-    WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp \    
-    WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp \
-    WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp \
-    WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp \
-    WebProcess/MediaCache/WebMediaCacheManager.cpp \
-    WebProcess/NetworkInfo/WebNetworkInfoManager.cpp \
-    WebProcess/Notifications/NotificationPermissionRequestManager.cpp \
-    WebProcess/Notifications/WebNotificationManager.cpp \
-    WebProcess/ResourceCache/WebResourceCacheManager.cpp \
-    WebProcess/Plugins/Netscape/JSNPMethod.cpp \
-    WebProcess/Plugins/Netscape/JSNPObject.cpp \
-    WebProcess/Plugins/Netscape/NPJSObject.cpp \
-    WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp \
-    WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp \
-    WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp \
-    WebProcess/Plugins/Netscape/NetscapePlugin.cpp \
-    WebProcess/Plugins/Netscape/NetscapePluginNone.cpp \
-    WebProcess/Plugins/Netscape/NetscapePluginStream.cpp \
-    WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp \
-    WebProcess/Plugins/Netscape/qt/PluginProxyQt.cpp \
-    WebProcess/Plugins/Plugin.cpp \
-    WebProcess/Plugins/PluginView.cpp \
-    WebProcess/Plugins/PluginProxy.cpp \
-    WebProcess/Plugins/PluginProcessConnection.cpp \
-    WebProcess/Plugins/PluginProcessConnectionManager.cpp \
-    WebProcess/Storage/StorageAreaImpl.cpp \
-    WebProcess/Storage/StorageAreaMap.cpp \
-    WebProcess/Storage/StorageNamespaceImpl.cpp \
-    WebProcess/WebCoreSupport/WebBatteryClient.cpp \
-    WebProcess/WebCoreSupport/WebChromeClient.cpp \
-    WebProcess/WebCoreSupport/WebColorChooser.cpp \
-    WebProcess/WebCoreSupport/WebContextMenuClient.cpp \
-    WebProcess/WebCoreSupport/WebDatabaseManager.cpp \
-    WebProcess/WebCoreSupport/WebDragClient.cpp \
-    WebProcess/WebCoreSupport/WebEditorClient.cpp \
-    WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp \
-    WebProcess/WebCoreSupport/WebGeolocationClient.cpp \
-    WebProcess/WebCoreSupport/WebInspectorClient.cpp \
-    WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp \
-    WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp \
-    WebProcess/WebCoreSupport/WebNotificationClient.cpp \
-    WebProcess/WebCoreSupport/WebPlatformStrategies.cpp \
-    WebProcess/WebCoreSupport/WebPlugInClient.cpp \
-    WebProcess/WebCoreSupport/WebPopupMenu.cpp \
-    WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp \
-    WebProcess/WebCoreSupport/WebVibrationClient.cpp \
-    WebProcess/WebCoreSupport/qt/WebContextMenuClientQt.cpp \
-    WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp \
-    WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp \
-    WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp \
-    WebProcess/WebCoreSupport/qt/WebPopupMenuQt.cpp \
-    WebProcess/WebPage/DecoderAdapter.cpp \
-    WebProcess/WebPage/DrawingArea.cpp \
-    WebProcess/WebPage/DrawingAreaImpl.cpp \
-    WebProcess/WebPage/EncoderAdapter.cpp \
-    WebProcess/WebPage/EventDispatcher.cpp \
-    WebProcess/WebPage/FindController.cpp \
-    WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp \
-    WebProcess/WebPage/CoordinatedGraphics/WebPageCoordinatedGraphics.cpp \
-    WebProcess/WebPage/TapHighlightController.cpp \
-    WebProcess/WebPage/LayerTreeHost.cpp \
-    WebProcess/WebPage/PageBanner.cpp \
-    WebProcess/WebPage/PageOverlay.cpp \
-    WebProcess/WebPage/WebBackForwardListProxy.cpp \
-    WebProcess/WebPage/WebContextMenu.cpp \
-    WebProcess/WebPage/WebFrame.cpp \
-    WebProcess/WebPage/WebInspector.cpp \
-    WebProcess/WebPage/WebOpenPanelResultListener.cpp \
-    WebProcess/WebPage/WebPage.cpp \
-    WebProcess/WebPage/WebPageGroupProxy.cpp \
-    WebProcess/WebPage/WebUndoStep.cpp \
-    WebProcess/WebPage/qt/WebInspectorQt.cpp \
-    WebProcess/WebPage/qt/WebPageQt.cpp \
-    WebProcess/WebConnectionToUIProcess.cpp \
-    WebProcess/WebProcess.cpp \
-    WebProcess/qt/QtBuiltinBundle.cpp \
-    WebProcess/qt/QtBuiltinBundlePage.cpp \
-    WebProcess/qt/QtNetworkAccessManager.cpp \
-    WebProcess/qt/QtNetworkReply.cpp \
-    WebProcess/qt/WebProcessMainQt.cpp \
-    WebProcess/qt/WebProcessQt.cpp
-
-have?(QTQUICK) {
-    QT += qml quick quick-private
-
-    HEADERS += \
-        UIProcess/API/qt/qwebpreferences_p.h \
-        UIProcess/API/qt/qwebpreferences_p_p.h \
-        UIProcess/API/qt/qwebdownloaditem_p.h \
-        UIProcess/API/qt/qwebdownloaditem_p_p.h \
-        UIProcess/API/qt/qwebpermissionrequest_p.h \
-        UIProcess/API/qt/qtwebsecurityorigin_p.h \
-        UIProcess/API/qt/qwebloadrequest_p.h \
-        UIProcess/API/qt/qwebnavigationrequest_p.h \
-        UIProcess/API/qt/qquickwebpage_p.h \
-        UIProcess/API/qt/qquickwebpage_p_p.h \
-        UIProcess/API/qt/qwebnavigationhistory_p.h \
-        UIProcess/API/qt/qwebnavigationhistory_p_p.h \
-        UIProcess/API/qt/qquickwebview_p.h \
-        UIProcess/API/qt/qquickwebview_p_p.h \
-        UIProcess/API/qt/qquicknetworkreply_p.h \
-        UIProcess/API/qt/qquicknetworkrequest_p.h \
-        UIProcess/API/qt/qquickurlschemedelegate_p.h \
-        UIProcess/API/qt/qwebkittest_p.h \
-        UIProcess/qt/PageViewportControllerClientQt.h \
-        UIProcess/qt/QtWebContext.h \
-        UIProcess/qt/QtWebPageEventHandler.h \
-        UIProcess/qt/QtGestureRecognizer.h \
-        UIProcess/qt/QtPanGestureRecognizer.h \
-        UIProcess/qt/QtPinchGestureRecognizer.h \
-        UIProcess/qt/QtTapGestureRecognizer.h \
-        UIProcess/qt/QtWebError.h \
-        UIProcess/qt/QtDialogRunner.h \
-        UIProcess/qt/QtDownloadManager.h \
-        UIProcess/qt/QtPageClient.h \
-        UIProcess/qt/QtWebPagePolicyClient.h \
-        UIProcess/qt/QtWebPageSGNode.h \
-        UIProcess/qt/QtWebPageUIClient.h \
-        UIProcess/qt/QtWebIconDatabaseClient.h \
-        UIProcess/qt/WebContextMenuProxyQt.h \
-        UIProcess/qt/WebGeolocationProviderQt.h \
-        UIProcess/qt/WebPopupMenuProxyQt.h
-
-    SOURCES += \
-        UIProcess/API/qt/qwebdownloaditem.cpp \
-        UIProcess/API/qt/qwebpermissionrequest.cpp \
-        UIProcess/API/qt/qtwebsecurityorigin.cpp \
-        UIProcess/API/qt/qwebloadrequest.cpp \
-        UIProcess/API/qt/qwebnavigationrequest.cpp \
-        UIProcess/API/qt/qquickwebpage.cpp \
-        UIProcess/API/qt/qwebnavigationhistory.cpp \
-        UIProcess/API/qt/qquickwebview.cpp \
-        UIProcess/API/qt/qwebiconimageprovider.cpp \
-        UIProcess/API/qt/qquicknetworkreply.cpp \
-        UIProcess/API/qt/qquicknetworkrequest.cpp \
-        UIProcess/API/qt/qquickurlschemedelegate.cpp \
-        UIProcess/API/qt/qwebpreferences.cpp \
-        UIProcess/API/qt/qwebkittest.cpp \
-        UIProcess/qt/PageViewportControllerClientQt.cpp \
-        UIProcess/qt/QtDialogRunner.cpp \
-        UIProcess/qt/QtDownloadManager.cpp \
-        UIProcess/qt/QtPageClient.cpp \
-        UIProcess/qt/QtWebPagePolicyClient.cpp \
-        UIProcess/qt/QtWebPageSGNode.cpp \
-        UIProcess/qt/QtWebPageEventHandler.cpp \
-        UIProcess/qt/QtGestureRecognizer.cpp \
-        UIProcess/qt/QtPanGestureRecognizer.cpp \
-        UIProcess/qt/QtPinchGestureRecognizer.cpp \
-        UIProcess/qt/QtTapGestureRecognizer.cpp \
-        UIProcess/qt/QtWebContext.cpp \
-        UIProcess/qt/QtWebError.cpp \
-        UIProcess/qt/WebContextMenuProxyQt.cpp \
-        UIProcess/qt/WebGeolocationProviderQt.cpp \
-        UIProcess/qt/WebPopupMenuProxyQt.cpp \
-        UIProcess/qt/QtWebIconDatabaseClient.cpp \
-        UIProcess/qt/QtWebPageUIClient.cpp
-
-    enable?(INPUT_TYPE_COLOR) {
-        HEADERS += \
-            UIProcess/qt/WebColorPickerQt.h
-        SOURCES += \
-            UIProcess/qt/WebColorPickerQt.cpp
-    }
-}
-
-mac: {
-    INCLUDEPATH += \
-        Platform/mac \
-        Platform/CoreIPC/mac
-
-    HEADERS += \
-        Platform/mac/MachUtilities.h \
-        Platform/CoreIPC/mac/MachPort.h
-
-    SOURCES += \
-        Platform/CoreIPC/mac/ConnectionMac.cpp \
-        Platform/mac/MachUtilities.cpp \
-        Platform/mac/WorkQueueMac.cpp \
-        Platform/mac/SharedMemoryMac.cpp
-
-} else:win32 {
-    SOURCES += \
-        Platform/CoreIPC/win/ConnectionWin.cpp \
-        Platform/win/WorkQueueWin.cpp \
-        Platform/win/SharedMemoryWin.cpp
-} else {
-    SOURCES += \
-        Platform/CoreIPC/unix/AttachmentUnix.cpp \
-        Platform/CoreIPC/unix/ConnectionUnix.cpp \
-        Platform/qt/WorkQueueQt.cpp \
-        Platform/unix/SharedMemoryUnix.cpp
-}
-
-enable?(SECCOMP_FILTERS) {
-    HEADERS += \
-        Shared/linux/SeccompFilters/OpenSyscall.h \
-        Shared/linux/SeccompFilters/SeccompBroker.h \
-        Shared/linux/SeccompFilters/SeccompFilters.h \
-        Shared/linux/SeccompFilters/SigactionSyscall.h \
-        Shared/linux/SeccompFilters/SigprocmaskSyscall.h \
-        Shared/linux/SeccompFilters/Syscall.h \
-        Shared/linux/SeccompFilters/SyscallPolicy.h \
-        WebProcess/qt/SeccompFiltersWebProcessQt.h
-
-    SOURCES += \
-        Shared/linux/SeccompFilters/OpenSyscall.cpp \
-        Shared/linux/SeccompFilters/SeccompBroker.cpp \
-        Shared/linux/SeccompFilters/SeccompFilters.cpp \
-        Shared/linux/SeccompFilters/SigactionSyscall.cpp \
-        Shared/linux/SeccompFilters/SigprocmaskSyscall.cpp \
-        Shared/linux/SeccompFilters/Syscall.cpp \
-        Shared/linux/SeccompFilters/SyscallPolicy.cpp \
-        WebProcess/qt/SeccompFiltersWebProcessQt.cpp
-
-    DEFINES += SOURCE_DIR=\\\"$${ROOT_WEBKIT_DIR}\\\"
-}
-
-enable?(INSPECTOR_SERVER) {
-    HEADERS += \
-        UIProcess/InspectorServer/HTTPRequest.h \
-        UIProcess/InspectorServer/WebInspectorServer.h \
-        UIProcess/InspectorServer/WebSocketServer.h \
-        UIProcess/InspectorServer/WebSocketServerClient.h \
-        UIProcess/InspectorServer/WebSocketServerConnection.h \
-        UIProcess/InspectorServer/qt/WebSocketServerQt.h
-
-    SOURCES += \
-        UIProcess/InspectorServer/HTTPRequest.cpp \
-        UIProcess/InspectorServer/WebInspectorServer.cpp \
-        UIProcess/InspectorServer/WebSocketServer.cpp \
-        UIProcess/InspectorServer/WebSocketServerConnection.cpp \
-        UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp \
-        UIProcess/InspectorServer/qt/WebSocketServerQt.cpp
-}
-
-enable?(TOUCH_EVENTS) {
-    HEADERS += \
-        Shared/NativeWebTouchEvent.h
-    SOURCES += \
-        Shared/qt/NativeWebTouchEventQt.cpp
-}
-
-
-have?(qtpositioning):enable?(GEOLOCATION): QT += positioning
-
-use?(3D_GRAPHICS): WEBKIT += angle
-
-use?(PLUGIN_BACKEND_XLIB) {
-    DEFINES += XP_UNIX
-    PKGCONFIG += x11
-    DEFINES += MOZ_X11
-}
-
-include(DerivedSources.pri)
diff --git a/Source/WebKit2/UIProcess/API/C/qt/WKIconDatabaseQt.cpp b/Source/WebKit2/UIProcess/API/C/qt/WKIconDatabaseQt.cpp
deleted file mode 100644 (file)
index eee5c6f..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
- * Copyright (C) 2011 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTAwBILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "WKIconDatabaseQt.h"
-
-#include "WKAPICast.h"
-#include "WKSharedAPICast.h"
-#include "WebIconDatabase.h"
-#include <QPixmap>
-
-using namespace WebKit;
-using namespace WebCore;
-
-QImage WKIconDatabaseTryGetQImageForURL(WKIconDatabaseRef iconDatabaseRef, WKURLRef urlRef)
-{
-    QPixmap* pixmap = toImpl(iconDatabaseRef)->nativeImageForPageURL(toWTFString(urlRef));
-    return pixmap ? pixmap->toImage() : QImage();
-}
diff --git a/Source/WebKit2/UIProcess/API/C/qt/WKIconDatabaseQt.h b/Source/WebKit2/UIProcess/API/C/qt/WKIconDatabaseQt.h
deleted file mode 100644 (file)
index b472dfb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
- * Copyright (C) 2011 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef WKIconDatabaseQt_h
-#define WKIconDatabaseQt_h
-
-#include <WebKit2/WKBase.h>
-#include <WebKit2/WKGeometry.h>
-
-QT_BEGIN_NAMESPACE
-class QImage;
-QT_END_NAMESPACE
-
-WK_EXPORT QImage WKIconDatabaseTryGetQImageForURL(WKIconDatabaseRef iconDatabase, WKURLRef url);
-
-#endif /* WKIconDatabaseQt_h */
diff --git a/Source/WebKit2/UIProcess/API/C/qt/WKNativeEvent.h b/Source/WebKit2/UIProcess/API/C/qt/WKNativeEvent.h
deleted file mode 100644 (file)
index 974db37..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef WKNativeEvent_h
-#define WKNativeEvent_h
-
-// a Qt specific WKNativeEvent.h file is needed because that the use of __APPLE__
-// in original WKNativeEvent.h file breaks Qt build in MacOS
-
-QT_BEGIN_NAMESPACE
-class QEvent;
-QT_END_NAMESPACE
-typedef const QEvent* WKNativeEventPtr;
-
-#endif /* WKNativeEvent_h */
diff --git a/Source/WebKit2/UIProcess/API/cpp/qt/WKStringQt.cpp b/Source/WebKit2/UIProcess/API/cpp/qt/WKStringQt.cpp
deleted file mode 100644 (file)
index 4ae448e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "WKStringQt.h"
-
-#include "WKAPICast.h"
-#include "WKRetainPtr.h"
-#include <QString>
-#include <wtf/RefPtr.h>
-#include <wtf/text/WTFString.h>
-
-using namespace WebKit;
-
-WKStringRef WKStringCreateWithQString(const QString& qString)
-{
-    WTF::String string(qString);
-    return toCopiedAPI(string);
-}
-
-QString WKStringCopyQString(WKStringRef stringRef)
-{
-    if (!stringRef)
-        return QString();
-    const WTF::String& string = toImpl(stringRef)->string();
-    return QString(reinterpret_cast<const QChar*>(string.characters()), string.length());
-}
-
-namespace WebKit {
-QString adoptToQString(WKStringRef stringRef)
-{
-    return WKStringCopyQString(adoptWK(stringRef).get());
-}
-} /* namespace WebKit */
diff --git a/Source/WebKit2/UIProcess/API/cpp/qt/WKStringQt.h b/Source/WebKit2/UIProcess/API/cpp/qt/WKStringQt.h
deleted file mode 100644 (file)
index ff2cfa8..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef WKStringQt_h
-#define WKStringQt_h
-
-#include <QString>
-#include <WebKit2/WKBase.h>
-
-WK_EXPORT WKStringRef WKStringCreateWithQString(const QString& string);
-WK_EXPORT QString WKStringCopyQString(WKStringRef string);
-
-namespace WebKit {
-QString adoptToQString(WKStringRef);
-} /* namespace WebKit */
-
-using WebKit::adoptToQString;
-#endif /* WKStringQt_h */
diff --git a/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.cpp b/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.cpp
deleted file mode 100644 (file)
index f9177fd..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "WKURLQt.h"
-
-#include "WKAPICast.h"
-#include "WKRetainPtr.h"
-#include <QString>
-#include <wtf/RefPtr.h>
-#include <wtf/text/WTFString.h>
-
-using namespace WebKit;
-
-WKURLRef WKURLCreateWithQString(const QString& url)
-{
-    return toCopiedURLAPI(url);
-}
-
-QString WKURLCopyQString(WKURLRef urlRef)
-{
-    if (!urlRef)
-        return QString();
-    return toImpl(urlRef)->string();
-}
-
-WKURLRef WKURLCreateWithQUrl(const QUrl& url)
-{
-    return WKURLCreateWithQString(url.toString(QUrl::FullyEncoded));
-}
-
-QUrl WKURLCopyQUrl(WKURLRef urlRef)
-{
-    if (!urlRef)
-        return QUrl();
-    return QUrl(WKURLCopyQString(urlRef));
-}
-
-namespace WebKit {
-QString adoptToQString(WKURLRef urlRef)
-{
-    return WKURLCopyQString(adoptWK(urlRef).get());
-}
-
-QUrl adoptToQUrl(WKURLRef urlRef)
-{
-    return WKURLCopyQUrl(adoptWK(urlRef).get());
-}
-} /* namespace WebKit */
diff --git a/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h b/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h
deleted file mode 100644 (file)
index b12f974..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef WKURLQt_h
-#define WKURLQt_h
-
-#include <QUrl>
-#include <WebKit2/WKBase.h>
-#include <WebKit2/WKURL.h>
-
-WK_EXPORT WKURLRef WKURLCreateWithQString(const QString& url);
-WK_EXPORT QString WKURLCopyQString(WKURLRef url);
-
-WK_EXPORT WKURLRef WKURLCreateWithQUrl(const QUrl& url);
-WK_EXPORT QUrl WKURLCopyQUrl(WKURLRef url);
-
-namespace WebKit {
-QString adoptToQString(WKURLRef);
-QUrl adoptToQUrl(WKURLRef);
-} /* namespace WebKit */
-
-using WebKit::adoptToQString;
-using WebKit::adoptToQUrl;
-
-#endif /* WKURLCF_h */
diff --git a/Source/WebKit2/UIProcess/API/qt/qquicknetworkreply.cpp b/Source/WebKit2/UIProcess/API/qt/qquicknetworkreply.cpp
deleted file mode 100644 (file)
index 38ac7b9..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "qquicknetworkreply_p.h"
-
-#include "QtNetworkReplyData.h"
-#include "QtNetworkRequestData.h"
-#include "qquickwebview_p.h"
-#include <QDateTime>
-
-using namespace WebKit;
-
-QQuickNetworkReply::QQuickNetworkReply(QObject* parent)
-    : QObject(parent)
-    , m_networkReplyData(adoptRef(new WebKit::QtRefCountedNetworkReplyData))
-{
-    Q_ASSERT(parent);
-}
-
-QString QQuickNetworkReply::contentType() const
-{
-    return m_networkReplyData->data().m_contentType;
-}
-
-void QQuickNetworkReply::setContentType(const QString& contentType)
-{
-    m_networkReplyData->data().m_contentType = contentType;
-}
-
-QVariant QQuickNetworkReply::data() const
-{
-    return m_data;
-}
-
-void QQuickNetworkReply::setData(const QVariant& data)
-{
-    m_data = data;
-}
-
-void QQuickNetworkReply::send()
-{
-    if (m_data.isNull())
-        return;
-
-    uint64_t smLength = 0;
-    const void* ptrData = 0;
-    QString stringData;
-    QByteArray byteArrayData;
-    if (m_data.type() == QVariant::String) {
-        stringData = m_data.toString();
-        ptrData = reinterpret_cast<const void*>(stringData.constData());
-        smLength = sizeof(QChar) * stringData.length();
-        setContentType(QLatin1String("text/html; charset=utf-16"));
-    } else {
-        if (!m_data.canConvert<QByteArray>())
-            return;
-        byteArrayData = m_data.toByteArray();
-        ptrData = byteArrayData.data();
-        smLength = byteArrayData.size();
-    }
-
-    if (contentType().isEmpty()) {
-        qWarning("QQuickNetworkReply::send - Cannot send raw data without a content type being specified!");
-        return;
-    }
-
-    WTF::RefPtr<WebKit::SharedMemory> sharedMemory = SharedMemory::create(smLength);
-    if (!sharedMemory)
-        return;
-    // The size of the allocated shared memory can be bigger than requested.
-    // Usually the size will be rounded up to the next multiple of a page size.
-    memcpy(sharedMemory->data(), ptrData, smLength);
-
-    if (sharedMemory->createHandle(m_networkReplyData->data().m_dataHandle, SharedMemory::ReadOnly)) {
-        m_networkReplyData->data().m_contentLength = smLength;
-        if (m_webViewExperimental)
-            m_webViewExperimental.data()->sendApplicationSchemeReply(this);
-    }
-
-    // After sending the reply data, we have to reinitialize the m_networkReplyData,
-    // to make sure we have a fresh SharesMemory::Handle.
-    m_networkReplyData = adoptRef(new WebKit::QtRefCountedNetworkReplyData);
-}
-
-void QQuickNetworkReply::setWebViewExperimental(QQuickWebViewExperimental* webViewExperimental)
-{
-    m_webViewExperimental = webViewExperimental;
-}
-
-WebKit::QtRefCountedNetworkRequestData* QQuickNetworkReply::networkRequestData() const
-{
-    return m_networkRequestData.get();
-}
-
-void QQuickNetworkReply::setNetworkRequestData(WTF::PassRefPtr<WebKit::QtRefCountedNetworkRequestData> data)
-{
-    m_networkRequestData = data;
-    m_networkReplyData->data().m_replyUuid = m_networkRequestData->data().m_replyUuid;
-}
-
-WebKit::QtRefCountedNetworkReplyData* QQuickNetworkReply::networkReplyData() const
-{
-    return m_networkReplyData.get();
-}
-
-#include "moc_qquicknetworkreply_p.cpp"
diff --git a/Source/WebKit2/UIProcess/API/qt/qquicknetworkreply_p.h b/Source/WebKit2/UIProcess/API/qt/qquicknetworkreply_p.h
deleted file mode 100644 (file)
index 2f87acf..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qquicknetworkreply_p_h
-#define qquicknetworkreply_p_h
-
-#include "QtNetworkReplyData.h"
-#include "QtNetworkRequestData.h"
-#include "qquickwebview_p.h"
-#include "SharedMemory.h"
-#include "qwebkitglobal.h"
-#include <QNetworkAccessManager>
-#include <QObject>
-#include <QPointer>
-#include <QtQml/qqmllist.h>
-#include <QtQuick/qquickitem.h>
-
-class QWEBKIT_EXPORT QQuickNetworkReply : public QObject {
-    Q_OBJECT
-    Q_PROPERTY(QString contentType READ contentType WRITE setContentType)
-    Q_PROPERTY(QVariant data READ data WRITE setData)
-    Q_ENUMS(QNetworkAccessManager::Operation)
-
-public:
-    QQuickNetworkReply(QObject* parent);
-    QString contentType() const;
-    void setContentType(const QString&);
-
-    QVariant data() const;
-    void setData(const QVariant& data);
-
-    void setWebViewExperimental(QQuickWebViewExperimental*);
-    WebKit::QtRefCountedNetworkRequestData* networkRequestData() const;
-    void setNetworkRequestData(WTF::PassRefPtr<WebKit::QtRefCountedNetworkRequestData> data);
-    WebKit::QtRefCountedNetworkReplyData* networkReplyData() const;
-
-public Q_SLOTS:
-    void send();
-
-private:
-    WTF::RefPtr<WebKit::QtRefCountedNetworkRequestData> m_networkRequestData;
-    WTF::RefPtr<WebKit::QtRefCountedNetworkReplyData> m_networkReplyData;
-    QVariant m_data;
-    QPointer<QQuickWebViewExperimental> m_webViewExperimental;
-};
-
-QML_DECLARE_TYPE(QQuickNetworkReply)
-
-#endif // qquicknetworkreply_p_h
-
diff --git a/Source/WebKit2/UIProcess/API/qt/qquicknetworkrequest.cpp b/Source/WebKit2/UIProcess/API/qt/qquicknetworkrequest.cpp
deleted file mode 100644 (file)
index 152ef4e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "qquicknetworkrequest_p.h"
-
-#include "QtNetworkRequestData.h"
-#include "qquickwebview_p.h"
-
-using namespace WebKit;
-
-QQuickNetworkRequest::QQuickNetworkRequest(QObject* parent)
-    : QObject(parent)
-{
-    Q_ASSERT(parent);
-}
-
-void QQuickNetworkRequest::setNetworkRequestData(WTF::PassRefPtr<WebKit::QtRefCountedNetworkRequestData> data)
-{
-    m_networkRequestData = data;
-}
-
-QUrl QQuickNetworkRequest::url() const
-{
-    if (m_networkRequestData)
-       return QUrl(m_networkRequestData->data().m_urlString);
-    return QUrl();
-}
-
-#include "moc_qquicknetworkrequest_p.cpp"
-
diff --git a/Source/WebKit2/UIProcess/API/qt/qquicknetworkrequest_p.h b/Source/WebKit2/UIProcess/API/qt/qquicknetworkrequest_p.h
deleted file mode 100644 (file)
index 69a2d48..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qquicknetworkrequest_p_h
-#define qquicknetworkrequest_p_h
-
-#include "QtNetworkRequestData.h"
-#include "wtf/RefPtr.h"
-#include "qwebkitglobal.h"
-#include <QObject>
-#include <QtQml/qqmllist.h>
-#include <QtQuick/qquickitem.h>
-
-class QWEBKIT_EXPORT QQuickNetworkRequest : public QObject {
-    Q_OBJECT
-    Q_PROPERTY(QUrl url READ url)
-
-public:
-    QQuickNetworkRequest(QObject* parent);
-
-    void setNetworkRequestData(WTF::PassRefPtr<WebKit::QtRefCountedNetworkRequestData> data);
-
-    QUrl url() const;
-
-private:
-    WTF::RefPtr<WebKit::QtRefCountedNetworkRequestData> m_networkRequestData;
-};
-
-QML_DECLARE_TYPE(QQuickNetworkRequest)
-
-#endif // qquicknetworkrequest_p_h
-
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickurlschemedelegate.cpp b/Source/WebKit2/UIProcess/API/qt/qquickurlschemedelegate.cpp
deleted file mode 100644 (file)
index a10c89d..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "qquickurlschemedelegate_p.h"
-
-#include "qquicknetworkreply_p.h"
-#include "qquicknetworkrequest_p.h"
-
-#include <QtCore/QFile>
-#include <QtCore/QFileInfo>
-#include <QtCore/QMimeDatabase>
-#include <QtCore/QUrl>
-
-QQuickUrlSchemeDelegate::QQuickUrlSchemeDelegate(QObject* parent)
-    : QObject(parent)
-    , m_request(new QQuickNetworkRequest(this))
-    , m_reply(new QQuickNetworkReply(this))
-{ }
-
-QString QQuickUrlSchemeDelegate::scheme() const
-{
-    return m_scheme;
-}
-
-void QQuickUrlSchemeDelegate::setScheme(const QString& scheme)
-{
-    m_scheme = scheme;
-    emit schemeChanged();
-}
-
-QQuickNetworkRequest* QQuickUrlSchemeDelegate::request() const
-{
-    return m_request;
-}
-
-QQuickNetworkReply* QQuickUrlSchemeDelegate::reply() const
-{
-    return m_reply;
-}
-
-QQuickQrcSchemeDelegate::QQuickQrcSchemeDelegate(const QUrl& url)
-    : QQuickUrlSchemeDelegate()
-    , m_fileName(QLatin1Char(':') + url.path())
-{
-}
-
-void QQuickQrcSchemeDelegate::readResourceAndSend()
-{
-    QFile file(m_fileName);
-    QFileInfo fileInfo(file);
-    if (fileInfo.isDir() || !file.open(QIODevice::ReadOnly | QIODevice::Unbuffered))
-        return;
-
-    QByteArray fileData(file.readAll());
-    QMimeDatabase mimeDb;
-    QMimeType mimeType = mimeDb.mimeTypeForFileNameAndData(m_fileName, fileData);
-    file.close();
-
-    reply()->setData(fileData);
-    reply()->setContentType(mimeType.name());
-    reply()->send();
-}
-
-#include "moc_qquickurlschemedelegate_p.cpp"
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickurlschemedelegate_p.h b/Source/WebKit2/UIProcess/API/qt/qquickurlschemedelegate_p.h
deleted file mode 100644 (file)
index 98de616..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Copyright (C) 2011 Zeno Albisser <zeno@webkit.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qquickurlschemedelegate_p_h
-#define qquickurlschemedelegate_p_h
-
-#include "qwebkitglobal.h"
-#include <QObject>
-#include <QtQuick/qquickitem.h>
-
-QT_BEGIN_NAMESPACE
-class QUrl;
-QT_END_NAMESPACE
-
-class QQuickNetworkRequest;
-class QQuickNetworkReply;
-
-class QWEBKIT_EXPORT QQuickUrlSchemeDelegate : public QObject {
-    Q_OBJECT
-    Q_PROPERTY(QString scheme READ scheme WRITE setScheme NOTIFY schemeChanged)
-    Q_PROPERTY(QQuickNetworkRequest* request READ request)
-    Q_PROPERTY(QQuickNetworkReply* reply READ reply)
-
-public:
-    QQuickUrlSchemeDelegate(QObject* parent = 0);
-    QString scheme() const;
-    void setScheme(const QString& scheme);
-    QQuickNetworkRequest* request() const;
-    QQuickNetworkReply* reply() const;
-
-Q_SIGNALS:
-    void schemeChanged();
-    void receivedRequest();
-
-private:
-    QString m_scheme;
-    QQuickNetworkRequest* m_request;
-    QQuickNetworkReply* m_reply;
-};
-
-QML_DECLARE_TYPE(QQuickUrlSchemeDelegate)
-
-class QQuickQrcSchemeDelegate : public QQuickUrlSchemeDelegate {
-    Q_OBJECT
-public:
-    QQuickQrcSchemeDelegate(const QUrl& url);
-    void readResourceAndSend();
-
-private:
-    QString m_fileName;
-};
-
-#endif // qquickurlschemedelegate_p_h
-
-
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebpage.cpp b/Source/WebKit2/UIProcess/API/qt/qquickwebpage.cpp
deleted file mode 100644 (file)
index e8e646a..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
- * Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "qquickwebpage_p.h"
-
-#include "QtWebPageEventHandler.h"
-#include "QtWebPageSGNode.h"
-#include "TransformationMatrix.h"
-#include "qquickwebpage_p_p.h"
-#include "qquickwebview_p.h"
-#include "qquickwebview_p_p.h"
-#include "qwebkittest_p.h"
-#include <QQuickWindow>
-#include <WKPage.h>
-#include <WebCore/CoordinatedGraphicsScene.h>
-
-using namespace WebKit;
-
-QQuickWebPage::QQuickWebPage(QQuickWebView* viewportItem)
-    : QQuickItem(viewportItem->contentItem())
-    , d(new QQuickWebPagePrivate(this, viewportItem))
-{
-    setFlag(ItemHasContents);
-    setClip(true);
-
-    // We do the transform from the top left so the viewport can assume the position 0, 0
-    // is always where rendering starts.
-    setTransformOrigin(TopLeft);
-}
-
-QQuickWebPage::~QQuickWebPage()
-{
-    delete d;
-}
-
-QQuickWebPagePrivate::QQuickWebPagePrivate(QQuickWebPage* q, QQuickWebView* viewportItem)
-    : q(q)
-    , viewportItem(viewportItem)
-    , paintingIsInitialized(false)
-    , contentsScale(1)
-{
-}
-
-void QQuickWebPagePrivate::paint(QPainter* painter)
-{
-    if (WebCore::CoordinatedGraphicsScene* scene = QQuickWebViewPrivate::get(viewportItem)->coordinatedGraphicsScene())
-        scene->paintToGraphicsContext(painter);
-}
-
-
-QSGNode* QQuickWebPage::updatePaintNode(QSGNode* oldNode, UpdatePaintNodeData*)
-{
-    QQuickWebViewPrivate* webViewPrivate = QQuickWebViewPrivate::get(d->viewportItem);
-
-    WebCore::CoordinatedGraphicsScene* scene = webViewPrivate->coordinatedGraphicsScene();
-    if (!scene)
-        return oldNode;
-
-    QtWebPageSGNode* node = static_cast<QtWebPageSGNode*>(oldNode);
-
-    const QWindow* window = this->window();
-    ASSERT(window);
-
-    WKPageRef pageRef = webViewPrivate->webPage.get();
-    if (window && WKPageGetBackingScaleFactor(pageRef) != window->devicePixelRatio()) {
-        WKPageSetCustomBackingScaleFactor(pageRef, window->devicePixelRatio());
-        // This signal is queued since if we are running a threaded renderer. This might cause failures
-        // if tests are reading the new value between the property change and the signal emission.
-        emit d->viewportItem->experimental()->test()->devicePixelRatioChanged();
-    }
-
-    if (!node)
-        node = new QtWebPageSGNode;
-
-    node->setCoordinatedGraphicsScene(scene);
-
-    node->setScale(d->contentsScale);
-    node->setDevicePixelRatio(window->devicePixelRatio());
-    QColor backgroundColor = webViewPrivate->transparentBackground() ? Qt::transparent : Qt::white;
-    QRectF backgroundRect(QPointF(0, 0), d->contentsSize);
-    node->setBackground(backgroundRect, backgroundColor);
-
-    return node;
-}
-
-void QQuickWebPage::setContentsSize(const QSizeF& size)
-{
-    if (size.isEmpty() || d->contentsSize == size)
-        return;
-
-    d->contentsSize = size;
-    d->updateSize();
-    emit d->viewportItem->experimental()->test()->contentsSizeChanged();
-}
-
-const QSizeF& QQuickWebPage::contentsSize() const
-{
-    return d->contentsSize;
-}
-
-void QQuickWebPage::setContentsScale(qreal scale)
-{
-    ASSERT(scale > 0);
-    d->contentsScale = scale;
-    d->updateSize();
-    emit d->viewportItem->experimental()->test()->contentsScaleChanged();
-}
-
-qreal QQuickWebPage::contentsScale() const
-{
-    ASSERT(d->contentsScale > 0);
-    return d->contentsScale;
-}
-
-QTransform QQuickWebPage::transformFromItem() const
-{
-    return transformToItem().inverted();
-}
-
-QTransform QQuickWebPage::transformToItem() const
-{
-    qreal xPos = x();
-    qreal yPos = y();
-
-    if (d->viewportItem->experimental()->flickableViewportEnabled()) {
-        // Flickable moves its contentItem so we need to take that position into
-        // account, as well as the potential displacement of the page on the
-        // contentItem because of additional QML items.
-        xPos += d->viewportItem->contentItem()->x();
-        yPos += d->viewportItem->contentItem()->y();
-    }
-
-    return QTransform(d->contentsScale, 0, 0, 0, d->contentsScale, 0, xPos, yPos, 1);
-}
-
-void QQuickWebPagePrivate::updateSize()
-{
-    QSizeF scaledSize = contentsSize * contentsScale;
-
-    q->setSize(scaledSize);
-
-    if (viewportItem->experimental()->flickableViewportEnabled()) {
-        // Make sure that the content is sized to the page if the user did not
-        // add other flickable items. If that is not the case, the user needs to
-        // disable the default content item size property on the WebView and
-        // bind the contentWidth and contentHeight accordingly, in accordance
-        // accordance with normal Flickable behaviour.
-        if (viewportItem->experimental()->useDefaultContentItemSize()) {
-            viewportItem->setContentWidth(scaledSize.width());
-            viewportItem->setContentHeight(scaledSize.height());
-        }
-    }
-}
-
-QQuickWebPagePrivate::~QQuickWebPagePrivate()
-{
-}
-
-#include "moc_qquickwebpage_p.cpp"
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebpage_p.h b/Source/WebKit2/UIProcess/API/qt/qquickwebpage_p.h
deleted file mode 100644 (file)
index e2aaa6c..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qquickwebpage_p_h
-#define qquickwebpage_p_h
-
-#include "qwebkitglobal.h"
-
-#include <QtCore/QSharedPointer>
-#include <QtQuick/QQuickItem>
-
-class QQuickWebPagePrivate;
-class QQuickWebView;
-
-class QWEBKIT_EXPORT QQuickWebPage : public QQuickItem {
-    Q_OBJECT
-public:
-    QQuickWebPage(QQuickWebView* view = 0);
-    virtual ~QQuickWebPage();
-
-    void setContentsSize(const QSizeF& size);
-    const QSizeF& contentsSize() const;
-    void setContentsScale(qreal);
-    qreal contentsScale() const;
-
-    QTransform transformFromItem() const;
-    QTransform transformToItem() const;
-
-protected:
-    virtual QSGNode* updatePaintNode(QSGNode*, UpdatePaintNodeData*);
-
-private:
-    QQuickWebPagePrivate* d;
-    friend class QQuickWebView;
-    friend class QQuickWebViewPrivate;
-};
-
-QML_DECLARE_TYPE(QQuickWebPage)
-
-#endif // qquickwebpage_p_h
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebpage_p_p.h b/Source/WebKit2/UIProcess/API/qt/qquickwebpage_p_p.h
deleted file mode 100644 (file)
index 9a04b3f..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qquickwebpage_p_p_h
-#define qquickwebpage_p_p_h
-
-#include "qquickwebpage_p.h"
-#include <QTransform>
-
-class QQuickWebViewPrivate;
-
-class QQuickWebPagePrivate {
-public:
-    QQuickWebPagePrivate(QQuickWebPage* q, QQuickWebView* viewportItem);
-    ~QQuickWebPagePrivate();
-
-    void updateSize();
-
-    void paint(QPainter*);
-    void resetPaintNode();
-    QQuickWebPage* const q;
-    QQuickWebView* const viewportItem;
-    bool paintingIsInitialized;
-
-    QSizeF contentsSize;
-    qreal contentsScale;
-};
-
-#endif // qquickwebpage_p_p_h
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp b/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
deleted file mode 100644 (file)
index 60bbe36..0000000
+++ /dev/null
@@ -1,2443 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- * Copyright (c) 2012 Hewlett-Packard Development Company, L.P.
- * Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "qquickwebview_p.h"
-
-#include "CoordinatedLayerTreeHostProxy.h"
-#include "DownloadProxy.h"
-#include "DrawingAreaProxyImpl.h"
-#include "PageViewportControllerClientQt.h"
-#include "QtDialogRunner.h"
-#include "QtDownloadManager.h"
-#include "QtWebContext.h"
-#include "QtWebError.h"
-#include "QtWebIconDatabaseClient.h"
-#include "QtWebPageEventHandler.h"
-#include "QtWebPagePolicyClient.h"
-#include "WebBackForwardList.h"
-#include "WebContext.h"
-#include "WebFindOptions.h"
-#if ENABLE(INSPECTOR_SERVER)
-#include "WebInspectorProxy.h"
-#include "WebInspectorServer.h"
-#endif
-#if ENABLE(FULLSCREEN_API)
-#include "WebFullScreenManagerProxy.h"
-#endif
-#include "WebPageGroup.h"
-#include "WebPreferences.h"
-#include "qglobal.h"
-#include "qquicknetworkreply_p.h"
-#include "qquicknetworkrequest_p.h"
-#include "qquickwebpage_p_p.h"
-#include "qquickwebview_p_p.h"
-#include "qwebdownloaditem_p_p.h"
-#include "qwebiconimageprovider_p.h"
-#include "qwebkittest_p.h"
-#include "qwebloadrequest_p.h"
-#include "qwebnavigationhistory_p.h"
-#include "qwebnavigationhistory_p_p.h"
-#include "qwebpreferences_p.h"
-#include "qwebpreferences_p_p.h"
-#include <JavaScriptCore/InitializeThreading.h>
-#include <JavaScriptCore/JSBase.h>
-#include <JavaScriptCore/JSRetainPtr.h>
-#include <QDateTime>
-#include <QMap>
-#include <QtCore/QFile>
-#include <QtQml/QJSValue>
-#include <QtQuick/QQuickView>
-#include <WKNumber.h>
-#include <WKOpenPanelResultListener.h>
-#include <WKPageGroup.h>
-#include <WKPreferences.h>
-#include <WKSerializedScriptValue.h>
-#include <WKString.h>
-#include <WKStringQt.h>
-#include <WKURLQt.h>
-#include <WebCore/CoordinatedGraphicsScene.h>
-#include <WebCore/IntPoint.h>
-#include <WebCore/IntRect.h>
-#include <limits>
-#include <wtf/Assertions.h>
-#include <wtf/MainThread.h>
-#include <wtf/Vector.h>
-#include <wtf/text/WTFString.h>
-
-using namespace WebCore;
-using namespace WebKit;
-
-static bool s_flickableViewportEnabled = true;
-static const int kAxisLockSampleCount = 5;
-static const qreal kAxisLockVelocityThreshold = 300;
-static const qreal kAxisLockVelocityDirectionThreshold = 50;
-
-typedef QMap<WKPageRef, QQuickWebViewPrivate*> PageToViewMap;
-Q_GLOBAL_STATIC(PageToViewMap, pageToView)
-
-static inline QQuickWebViewPrivate* toQQuickWebViewPrivate(const void* clientInfo)
-{
-    ASSERT(clientInfo);
-    return reinterpret_cast<QQuickWebViewPrivate*>(const_cast<void*>(clientInfo));
-}
-
-struct JSCallbackClosure {
-    QPointer<QObject> receiver;
-    QByteArray method;
-    QJSValue value;
-};
-
-static inline QString toQString(JSStringRef string)
-{
-    return QString(reinterpret_cast<const QChar*>(JSStringGetCharactersPtr(string)), JSStringGetLength(string));
-}
-
-static inline QJSValue toQJSValue(JSStringRef string)
-{
-    return QJSValue(toQString(string));
-}
-
-static QJSValue buildQJSValue(QJSEngine* engine, JSGlobalContextRef context, JSValueRef value, int depth)
-{
-    QJSValue var;
-    JSValueRef exception = 0;
-
-    if (depth > 10)
-        return var;
-
-    switch (JSValueGetType(context, value)) {
-    case kJSTypeBoolean:
-        var = QJSValue(JSValueToBoolean(context, value));
-        break;
-    case kJSTypeNumber:
-        {
-            double number = JSValueToNumber(context, value, &exception);
-            if (!exception)
-                var = QJSValue(number);
-        }
-        break;
-    case kJSTypeString:
-        {
-            JSRetainPtr<JSStringRef> string = JSValueToStringCopy(context, value, &exception);
-            if (!exception)
-                var = toQJSValue(string.get());
-        }
-        break;
-    case kJSTypeObject:
-        {
-            JSObjectRef obj = JSValueToObject(context, value, &exception);
-
-            JSPropertyNameArrayRef names = JSObjectCopyPropertyNames(context, obj);
-            size_t length = JSPropertyNameArrayGetCount(names);
-
-            var = engine->newObject();
-
-            for (size_t i = 0; i < length; ++i) {
-                JSRetainPtr<JSStringRef> name = JSPropertyNameArrayGetNameAtIndex(names, i);
-                JSValueRef property = JSObjectGetProperty(context, obj, name.get(), &exception);
-
-                if (!exception) {
-                    QJSValue value = buildQJSValue(engine, context, property, depth + 1);
-                    var.setProperty(toQString(name.get()), value);
-                }
-            }
-        }
-        break;
-    }
-    return var;
-}
-
-static void javaScriptCallback(WKSerializedScriptValueRef valueRef, WKErrorRef, void* data)
-{
-    JSCallbackClosure* closure = reinterpret_cast<JSCallbackClosure*>(data);
-
-    if (closure->method.size())
-        QMetaObject::invokeMethod(closure->receiver, closure->method);
-    else {
-        QJSValue function = closure->value;
-
-        // If a callable function is supplied, we build a JavaScript value accessible
-        // in the QML engine, and calls the function with that.
-        if (function.isCallable()) {
-            QJSValue var;
-            if (valueRef) {
-                // FIXME: Slow but OK for now.
-                JSGlobalContextRef context = JSGlobalContextCreate(0);
-
-                JSValueRef exception = 0;
-                JSValueRef value = WKSerializedScriptValueDeserialize(valueRef, context, &exception);
-                var = buildQJSValue(function.engine(), context, value, /* depth */ 0);
-
-                JSGlobalContextRelease(context);
-            }
-
-            QList<QJSValue> args;
-            args.append(var);
-            function.call(args);
-        }
-    }
-
-    delete closure;
-}
-
-static QQuickWebViewPrivate* createPrivateObject(QQuickWebView* publicObject)
-{
-    if (s_flickableViewportEnabled)
-        return new QQuickWebViewFlickablePrivate(publicObject);
-    return new QQuickWebViewLegacyPrivate(publicObject);
-}
-
-QQuickWebViewPrivate* QQuickWebViewPrivate::get(WKPageRef page)
-{
-    return pageToView()->value(page);
-}
-
-QQuickWebViewPrivate::FlickableAxisLocker::FlickableAxisLocker()
-    : m_allowedDirection(QQuickFlickable::AutoFlickDirection)
-    , m_time(0), m_sampleCount(0)
-{
-}
-
-QVector2D QQuickWebViewPrivate::FlickableAxisLocker::touchVelocity(const QTouchEvent* event)
-{
-    static bool touchVelocityAvailable = event->device()->capabilities().testFlag(QTouchDevice::Velocity);
-    const QTouchEvent::TouchPoint& touchPoint = event->touchPoints().first();
-
-    if (touchVelocityAvailable)
-        return touchPoint.velocity();
-
-    const QLineF movementLine(touchPoint.pos(), m_initialPosition);
-    const ulong elapsed = event->timestamp() - m_time;
-
-    if (!elapsed)
-        return QVector2D(0, 0);
-
-    // Calculate an approximate velocity vector in the unit of pixel / second.
-    return QVector2D(1000 * movementLine.dx() / elapsed, 1000 * movementLine.dy() / elapsed);
-}
-
-void QQuickWebViewPrivate::FlickableAxisLocker::update(const QTouchEvent* event)
-{
-    ASSERT(event->touchPoints().size() == 1);
-    const QTouchEvent::TouchPoint& touchPoint = event->touchPoints().first();
-
-    ++m_sampleCount;
-
-    if (m_sampleCount == 1) {
-        m_initialPosition = touchPoint.pos();
-        m_time = event->timestamp();
-        return;
-    }
-
-    if (m_sampleCount > kAxisLockSampleCount
-            || m_allowedDirection == QQuickFlickable::HorizontalFlick
-            || m_allowedDirection == QQuickFlickable::VerticalFlick)
-        return;
-
-    QVector2D velocity = touchVelocity(event);
-
-    qreal directionIndicator = qAbs(velocity.x()) - qAbs(velocity.y());
-
-    if (velocity.length() > kAxisLockVelocityThreshold && qAbs(directionIndicator) > kAxisLockVelocityDirectionThreshold)
-        m_allowedDirection = (directionIndicator > 0) ? QQuickFlickable::HorizontalFlick : QQuickFlickable::VerticalFlick;
-}
-
-void QQuickWebViewPrivate::FlickableAxisLocker::setReferencePosition(const QPointF& position)
-{
-    m_lockReferencePosition = position;
-}
-
-void QQuickWebViewPrivate::FlickableAxisLocker::reset()
-{
-    m_allowedDirection = QQuickFlickable::AutoFlickDirection;
-    m_sampleCount = 0;
-}
-
-QPointF QQuickWebViewPrivate::FlickableAxisLocker::adjust(const QPointF& position)
-{
-    if (m_allowedDirection == QQuickFlickable::HorizontalFlick)
-        return QPointF(position.x(), m_lockReferencePosition.y());
-
-    if (m_allowedDirection == QQuickFlickable::VerticalFlick)
-        return QPointF(m_lockReferencePosition.x(), position.y());
-
-    return position;
-}
-
-QQuickWebViewPrivate::QQuickWebViewPrivate(QQuickWebView* viewport)
-    : q_ptr(viewport)
-    , experimental(new QQuickWebViewExperimental(viewport, this))
-    , context(0)
-    , alertDialog(0)
-    , confirmDialog(0)
-    , promptDialog(0)
-    , authenticationDialog(0)
-    , certificateVerificationDialog(0)
-    , itemSelector(0)
-    , proxyAuthenticationDialog(0)
-    , filePicker(0)
-    , databaseQuotaDialog(0)
-    , colorChooser(0)
-    , m_betweenLoadCommitAndFirstFrame(false)
-    , m_useDefaultContentItemSize(true)
-    , m_navigatorQtObjectEnabled(false)
-    , m_renderToOffscreenBuffer(false)
-    , m_allowAnyHTTPSCertificateForLocalHost(false)
-    , m_loadProgress(0)
-{
-    viewport->setClip(true);
-    viewport->setPixelAligned(true);
-    QObject::connect(viewport, SIGNAL(visibleChanged()), viewport, SLOT(_q_onVisibleChanged()));
-    QObject::connect(viewport, SIGNAL(urlChanged()), viewport, SLOT(_q_onUrlChanged()));
-    pageView.reset(new QQuickWebPage(viewport));
-}
-
-QQuickWebViewPrivate::~QQuickWebViewPrivate()
-{
-    webPageProxy->close();
-    pageToView()->remove(webPage.get());
-}
-
-// Note: we delay this initialization to make sure that QQuickWebView has its d-ptr in-place.
-void QQuickWebViewPrivate::initialize(WKContextRef contextRef, WKPageGroupRef pageGroupRef)
-{
-    pageGroup = pageGroupRef;
-    if (!pageGroup)
-        pageGroup = adoptWK(WKPageGroupCreateWithIdentifier(0));
-
-    context = contextRef ? QtWebContext::create(contextRef) : QtWebContext::defaultContext();
-    webPageProxy = toImpl(context->context())->createWebPage(&pageClient, toImpl(pageGroup.get()));
-    webPage = toAPI(webPageProxy.get());
-    pageToView()->insert(webPage.get(), this);
-
-    webPageProxy->setUseFixedLayout(s_flickableViewportEnabled);
-#if ENABLE(FULLSCREEN_API)
-    webPageProxy->fullScreenManager()->setWebView(q_ptr);
-#endif
-
-    pageEventHandler.reset(new QtWebPageEventHandler(webPage.get(), pageView.data(), q_ptr));
-
-    {
-        WKPageFindClient findClient;
-        memset(&findClient, 0, sizeof(WKPageFindClient));
-        findClient.version = kWKPageFindClientCurrentVersion;
-        findClient.clientInfo = this;
-        findClient.didFindString = didFindString;
-        findClient.didFailToFindString = didFailToFindString;
-        WKPageSetPageFindClient(webPage.get(), &findClient);
-    }
-
-    {
-        WKPageLoaderClient loadClient;
-        memset(&loadClient, 0, sizeof(WKPageLoaderClient));
-        loadClient.version = kWKPageLoaderClientCurrentVersion;
-        loadClient.clientInfo = this;
-        loadClient.didStartProvisionalLoadForFrame = didStartProvisionalLoadForFrame;
-        loadClient.didReceiveServerRedirectForProvisionalLoadForFrame = didReceiveServerRedirectForProvisionalLoadForFrame;
-        loadClient.didFailProvisionalLoadWithErrorForFrame = didFailLoad;
-        loadClient.didCommitLoadForFrame = didCommitLoadForFrame;
-        loadClient.didFinishLoadForFrame = didFinishLoadForFrame;
-        loadClient.didFailLoadWithErrorForFrame = didFailLoad;
-        loadClient.didSameDocumentNavigationForFrame = didSameDocumentNavigationForFrame;
-        loadClient.didReceiveTitleForFrame = didReceiveTitleForFrame;
-        loadClient.didStartProgress = didStartProgress;
-        loadClient.didChangeProgress = didChangeProgress;
-        loadClient.didFinishProgress = didFinishProgress;
-        loadClient.didChangeBackForwardList = didChangeBackForwardList;
-        loadClient.processDidBecomeUnresponsive = processDidBecomeUnresponsive;
-        loadClient.processDidBecomeResponsive = processDidBecomeResponsive;
-        WKPageSetPageLoaderClient(webPage.get(), &loadClient);
-    }
-
-    pagePolicyClient.reset(new QtWebPagePolicyClient(webPage.get(), q_ptr));
-    pageUIClient.reset(new QtWebPageUIClient(webPage.get(), q_ptr));
-    navigationHistory = adoptPtr(QWebNavigationHistoryPrivate::createHistory(webPage.get()));
-
-    QtWebIconDatabaseClient* iconDatabase = context->iconDatabase();
-    QObject::connect(iconDatabase, SIGNAL(iconChangedForPageURL(QString)), q_ptr, SLOT(_q_onIconChangedForPageURL(QString)));
-
-    // Any page setting should preferrable be set before creating the page.
-    WKPreferencesRef preferencesRef = WKPageGroupGetPreferences(pageGroup.get());
-    WKPreferencesSetAcceleratedCompositingEnabled(preferencesRef, true);
-    bool showDebugVisuals = qgetenv("WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS") == "1";
-    WKPreferencesSetCompositingBordersVisible(preferencesRef, showDebugVisuals);
-    WKPreferencesSetCompositingRepaintCountersVisible(preferencesRef, showDebugVisuals);
-    WKPreferencesSetFrameFlatteningEnabled(preferencesRef, true);
-    WKPreferencesSetWebGLEnabled(preferencesRef, true);
-    webPageProxy->pageGroup()->preferences()->setForceCompositingMode(true);
-
-    pageClient.initialize(q_ptr, pageEventHandler.data(), &undoController);
-    webPageProxy->initializeWebPage();
-    webPageProxy->registerApplicationScheme(ASCIILiteral("qrc"));
-
-    q_ptr->setAcceptedMouseButtons(Qt::MouseButtonMask);
-    q_ptr->setAcceptHoverEvents(true);
-    q_ptr->setFlag(QQuickItem::ItemAcceptsDrops, true);
-}
-
-void QQuickWebViewPrivate::didStartProvisionalLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef, const void* clientInfo)
-{
-    if (!WKFrameIsMainFrame(frame))
-        return;
-
-    WKRetainPtr<WKURLRef> url  = adoptWK(WKFrameCopyProvisionalURL(frame));
-
-    QQuickWebView* const q = toQQuickWebViewPrivate(clientInfo)->q_func();
-
-    q->emitUrlChangeIfNeeded();
-    QWebLoadRequest loadRequest(WKURLCopyQUrl(url.get()), QQuickWebView::LoadStartedStatus);
-    emit q->loadingChanged(&loadRequest);
-}
-
-void QQuickWebViewPrivate::didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef, const void* clientInfo)
-{
-    if (!WKFrameIsMainFrame(frame))
-        return;
-
-    toQQuickWebViewPrivate(clientInfo)->q_func()->emitUrlChangeIfNeeded();
-}
-
-void QQuickWebViewPrivate::didFailLoad(WKPageRef, WKFrameRef frame, WKErrorRef errorRef, WKTypeRef, const void* clientInfo)
-{
-    if (!WKFrameIsMainFrame(frame))
-        return;
-
-    QQuickWebView* const q = toQQuickWebViewPrivate(clientInfo)->q_func();
-    ASSERT(!q->loading());
-
-    QtWebError error(errorRef);
-    if (error.isCancellation()) {
-        QWebLoadRequest loadRequest(q->url(), QQuickWebView::LoadStoppedStatus);
-        emit q->loadingChanged(&loadRequest);
-        return;
-    }
-
-    int errorCode = error.errorCode();
-    if (errorCode == kWKErrorCodeFrameLoadInterruptedByPolicyChange && errorCode == kWKErrorCodePlugInWillHandleLoad) {
-        QWebLoadRequest loadRequest(q->url(), QQuickWebView::LoadSucceededStatus);
-        q->emitUrlChangeIfNeeded();
-        emit q->loadingChanged(&loadRequest);
-        return;
-    }
-
-    // We set the unreachable url unconditionally so that the current
-    // active url of the webview when the loadingChanged signal is
-    // emitted reflects the failed url, not the previously committed
-    // url. This also ensures that if the user does not do a loadHtml
-    // with an error page and and unreachable url as a reponse to the
-    // failed load, we can still detect the failed url for reloads.
-    // We need to find a way to do this via the C API or find another
-    // way to do this.
-    toImpl(frame)->setUnreachableURL(error.url());
-    q->emitUrlChangeIfNeeded();
-    QWebLoadRequest loadRequest(error.url(), QQuickWebView::LoadFailedStatus, error.description(), static_cast<QQuickWebView::ErrorDomain>(error.type()), errorCode);
-    emit q->loadingChanged(&loadRequest);
-}
-
-void QQuickWebViewPrivate::didCommitLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef, const void* clientInfo)
-{
-    if (!WKFrameIsMainFrame(frame))
-        return;
-    QQuickWebViewPrivate* d = toQQuickWebViewPrivate(clientInfo);
-
-    PageViewportController* pageViewportController = d->viewportController();
-    if (pageViewportController)
-        pageViewportController->didCommitLoad();
-
-    QQuickWebView* const q = d->q_func();
-    ASSERT(q->loading());
-    d->m_betweenLoadCommitAndFirstFrame = true;
-    emit q->navigationHistoryChanged();
-    emit q->titleChanged();
-}
-
-void QQuickWebViewPrivate::didFinishLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef, const void* clientInfo)
-{
-    if (!WKFrameIsMainFrame(frame))
-        return;
-
-    QQuickWebView* const q = toQQuickWebViewPrivate(clientInfo)->q_func();
-    ASSERT(!q->loading());
-
-    QWebLoadRequest loadRequest(q->url(), QQuickWebView::LoadSucceededStatus);
-    emit q->loadingChanged(&loadRequest);
-}
-
-void QQuickWebViewPrivate::didSameDocumentNavigationForFrame(WKPageRef, WKFrameRef frame, WKSameDocumentNavigationType type, WKTypeRef userData, const void* clientInfo)
-{
-    if (!WKFrameIsMainFrame(frame))
-        return;
-    QQuickWebView* const q = toQQuickWebViewPrivate(clientInfo)->q_func();
-    q->emitUrlChangeIfNeeded();
-    emit q->navigationHistoryChanged();
-}
-
-void QQuickWebViewPrivate::didReceiveTitleForFrame(WKPageRef, WKStringRef title, WKFrameRef frame, WKTypeRef, const void* clientInfo)
-{
-    if (!WKFrameIsMainFrame(frame))
-        return;
-    emit toQQuickWebViewPrivate(clientInfo)->q_func()->titleChanged();
-}
-
-void QQuickWebViewPrivate::didStartProgress(WKPageRef, const void* clientInfo)
-{
-    toQQuickWebViewPrivate(clientInfo)->loadProgressDidChange(0);
-}
-
-void QQuickWebViewPrivate::didChangeProgress(WKPageRef page, const void* clientInfo)
-{
-    toQQuickWebViewPrivate(clientInfo)->loadProgressDidChange(WKPageGetEstimatedProgress(page) * 100);
-}
-
-void QQuickWebViewPrivate::didFinishProgress(WKPageRef, const void* clientInfo)
-{
-    toQQuickWebViewPrivate(clientInfo)->loadProgressDidChange(100);
-}
-
-void QQuickWebViewPrivate::didChangeBackForwardList(WKPageRef, WKBackForwardListItemRef, WKArrayRef, const void *clientInfo)
-{
-    toQQuickWebViewPrivate(clientInfo)->navigationHistory->d->reset();
-}
-
-void QQuickWebViewPrivate::setTransparentBackground(bool enable)
-{
-    webPageProxy->setDrawsTransparentBackground(enable);
-}
-
-bool QQuickWebViewPrivate::transparentBackground() const
-{
-    return webPageProxy->drawsTransparentBackground();
-}
-
-void QQuickWebViewPrivate::loadProgressDidChange(int loadProgress)
-{
-    Q_Q(QQuickWebView);
-
-    m_loadProgress = loadProgress;
-
-    emit q->loadProgressChanged();
-}
-
-void QQuickWebViewPrivate::handleMouseEvent(QMouseEvent* event)
-{
-    switch (event->type()) {
-    case QEvent::MouseButtonPress:
-        pageEventHandler->handleMousePressEvent(event);
-        break;
-    case QEvent::MouseMove:
-        pageEventHandler->handleMouseMoveEvent(event);
-        break;
-    case QEvent::MouseButtonRelease:
-        pageEventHandler->handleMouseReleaseEvent(event);
-        break;
-    case QEvent::MouseButtonDblClick:
-        // If a MouseButtonDblClick was received then we got a MouseButtonPress before.
-        // WebCore will build double-clicks out of press events.
-        event->accept();
-        break;
-    default:
-        ASSERT_NOT_REACHED();
-        break;
-    }
-}
-
-void QQuickWebViewPrivate::setNeedsDisplay()
-{
-    Q_Q(QQuickWebView);
-    if (renderToOffscreenBuffer()) {
-        // This is used only to mantain the rendering synchronisation between the UI and
-        // the web process when running tests even if the render loop is not active.
-        QImage dummyImage(1, 1, QImage::Format_ARGB32);
-        QPainter painter(&dummyImage);
-        q->page()->d->paint(&painter);
-        return;
-    }
-    q->page()->update();
-}
-
-void QQuickWebViewPrivate::didRenderFrame()
-{
-    Q_Q(QQuickWebView);
-    if (m_betweenLoadCommitAndFirstFrame) {
-        emit q->experimental()->loadVisuallyCommitted();
-        m_betweenLoadCommitAndFirstFrame = false;
-    }
-}
-
-void QQuickWebViewPrivate::processDidCrash()
-{
-    Q_Q(QQuickWebView);
-
-    QUrl url(URL(WebCore::ParsedURLString, webPageProxy->urlAtProcessExit()));
-    qWarning("WARNING: The web process experienced a crash on '%s'.", qPrintable(url.toString(QUrl::RemoveUserInfo)));
-
-    pageEventHandler->resetGestureRecognizers();
-
-    // Check if loading was ongoing, when process crashed.
-    if (m_loadProgress > 0 && m_loadProgress < 100) {
-        QWebLoadRequest loadRequest(url, QQuickWebView::LoadFailedStatus, QLatin1String("The web process crashed."), QQuickWebView::InternalErrorDomain, 0);
-
-        loadProgressDidChange(100);
-        emit q->loadingChanged(&loadRequest);
-    }
-
-    emit q->experimental()->processDidCrash();
-}
-
-void QQuickWebViewPrivate::didRelaunchProcess()
-{
-    Q_Q(QQuickWebView);
-
-    qWarning("WARNING: The web process has been successfully restarted.");
-
-    if (DrawingAreaProxy *drawingArea = webPageProxy->drawingArea()) {
-        drawingArea->setSize(viewSize(), IntSize(), IntSize());
-
-        updateViewportSize();
-        updateUserScripts();
-        updateSchemeDelegates();
-    }
-
-    emit q->experimental()->didRelaunchProcess();
-}
-
-void QQuickWebViewPrivate::processDidBecomeUnresponsive(WKPageRef, const void* clientInfo)
-{
-    QQuickWebView* q = toQQuickWebViewPrivate(clientInfo)->q_ptr;
-
-    emit q->experimental()->processDidBecomeUnresponsive();
-}
-
-void QQuickWebViewPrivate::processDidBecomeResponsive(WKPageRef, const void* clientInfo)
-{
-    QQuickWebView* q = toQQuickWebViewPrivate(clientInfo)->q_ptr;
-
-    emit q->experimental()->processDidBecomeResponsive();
-}
-
-std::unique_ptr<DrawingAreaProxy> QQuickWebViewPrivate::createDrawingAreaProxy()
-{
-    return std::make_unique<WebKit::DrawingAreaProxyImpl>(webPageProxy.get());
-}
-
-void QQuickWebViewPrivate::handleDownloadRequest(DownloadProxy* download)
-{
-    Q_Q(QQuickWebView);
-    // This function is responsible for hooking up a DownloadProxy to our API layer
-    // by creating a QWebDownloadItem. It will then wait for the QWebDownloadItem to be
-    // ready (filled with the ResourceResponse information) so we can pass it through to
-    // our WebViews.
-    QWebDownloadItem* downloadItem = new QWebDownloadItem();
-    downloadItem->d->downloadProxy = download;
-
-    q->connect(downloadItem->d, SIGNAL(receivedResponse(QWebDownloadItem*)), q, SLOT(_q_onReceivedResponseFromDownload(QWebDownloadItem*)));
-    QtWebContext::defaultContext()->downloadManager()->addDownload(toAPI(download), downloadItem);
-}
-
-void QQuickWebViewPrivate::_q_onVisibleChanged()
-{
-    webPageProxy->viewStateDidChange(WebPageProxy::ViewIsVisible);
-}
-
-void QQuickWebViewPrivate::_q_onUrlChanged()
-{
-    updateIcon();
-}
-
-void QQuickWebViewPrivate::_q_onIconChangedForPageURL(const QString& pageUrl)
-{
-    if (pageUrl != m_currentUrl)
-        return;
-
-    updateIcon();
-}
-
-/* Called either when the url changes, or when the icon for the current page changes */
-void QQuickWebViewPrivate::updateIcon()
-{
-    Q_Q(QQuickWebView);
-
-    QQuickView* view = qobject_cast<QQuickView*>(q->window());
-    if (!view)
-        return;
-
-    QWebIconImageProvider* provider = static_cast<QWebIconImageProvider*>(
-                view->engine()->imageProvider(QWebIconImageProvider::identifier()));
-    if (!provider)
-        return;
-
-    QUrl iconUrl = provider->iconURLForPageURLInContext(m_currentUrl, context);
-
-    if (iconUrl == m_iconUrl)
-        return;
-
-    m_iconUrl = iconUrl;
-    emit q->iconChanged();
-}
-
-void QQuickWebViewPrivate::_q_onReceivedResponseFromDownload(QWebDownloadItem* downloadItem)
-{
-    // Now that our downloadItem has everything we need we can emit downloadRequested.
-    if (!downloadItem)
-        return;
-
-    Q_Q(QQuickWebView);
-    QQmlEngine::setObjectOwnership(downloadItem, QQmlEngine::JavaScriptOwnership);
-    emit q->experimental()->downloadRequested(downloadItem);
-}
-
-void QQuickWebViewPrivate::runJavaScriptAlert(const QString& alertText)
-{
-    Q_Q(QQuickWebView);
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForAlert(alertText))
-        return;
-
-    dialogRunner.run();
-}
-
-bool QQuickWebViewPrivate::runJavaScriptConfirm(const QString& message)
-{
-    Q_Q(QQuickWebView);
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForConfirm(message))
-        return true;
-
-    dialogRunner.run();
-
-    return dialogRunner.wasAccepted();
-}
-
-QString QQuickWebViewPrivate::runJavaScriptPrompt(const QString& message, const QString& defaultValue, bool& ok)
-{
-    Q_Q(QQuickWebView);
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForPrompt(message, defaultValue)) {
-        ok = true;
-        return defaultValue;
-    }
-
-    dialogRunner.run();
-
-    ok = dialogRunner.wasAccepted();
-    return dialogRunner.result();
-}
-
-void QQuickWebViewPrivate::handleAuthenticationRequiredRequest(const QString& hostname, const QString& realm, const QString& prefilledUsername, QString& username, QString& password)
-{
-    Q_Q(QQuickWebView);
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForAuthentication(hostname, realm, prefilledUsername))
-        return;
-
-    dialogRunner.run();
-
-    username = dialogRunner.username();
-    password = dialogRunner.password();
-}
-
-void QQuickWebViewPrivate::handleProxyAuthenticationRequiredRequest(const QString& hostname, uint16_t port, const QString& prefilledUsername, QString& username, QString& password)
-{
-    Q_Q(QQuickWebView);
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForProxyAuthentication(hostname, port, prefilledUsername))
-        return;
-
-    dialogRunner.run();
-
-    username = dialogRunner.username();
-    password = dialogRunner.password();
-}
-
-bool QQuickWebViewPrivate::handleCertificateVerificationRequest(const QString& hostname)
-{
-    Q_Q(QQuickWebView);
-
-    if (m_allowAnyHTTPSCertificateForLocalHost
-        && (hostname == QStringLiteral("127.0.0.1") || hostname == QStringLiteral("localhost")))
-        return true;
-
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForCertificateVerification(hostname))
-        return false;
-
-    dialogRunner.run();
-
-    return dialogRunner.wasAccepted();
-}
-
-void QQuickWebViewPrivate::chooseFiles(WKOpenPanelResultListenerRef listenerRef, const QStringList& selectedFileNames, QtWebPageUIClient::FileChooserType type)
-{
-    Q_Q(QQuickWebView);
-
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForFilePicker(selectedFileNames, (type == QtWebPageUIClient::MultipleFilesSelection)))
-        return;
-
-    dialogRunner.run();
-
-    if (dialogRunner.wasAccepted()) {
-        QStringList selectedPaths = dialogRunner.filePaths();
-
-        Vector<RefPtr<APIObject> > wkFiles(selectedPaths.size());
-        for (unsigned i = 0; i < selectedPaths.size(); ++i)
-            wkFiles[i] = WebURL::create(QUrl::fromLocalFile(selectedPaths.at(i)).toString());            
-
-        WKOpenPanelResultListenerChooseFiles(listenerRef, toAPI(ImmutableArray::adopt(wkFiles).leakRef()));
-    } else
-        WKOpenPanelResultListenerCancel(listenerRef);
-
-}
-
-quint64 QQuickWebViewPrivate::exceededDatabaseQuota(const QString& databaseName, const QString& displayName, WKSecurityOriginRef securityOrigin, quint64 currentQuota, quint64 currentOriginUsage, quint64 currentDatabaseUsage, quint64 expectedUsage)
-{
-    Q_Q(QQuickWebView);
-    QtDialogRunner dialogRunner(q);
-    if (!dialogRunner.initForDatabaseQuotaDialog(databaseName, displayName, securityOrigin, currentQuota, currentOriginUsage, currentDatabaseUsage, expectedUsage))
-        return 0;
-
-    dialogRunner.run();
-
-    return dialogRunner.wasAccepted() ? dialogRunner.databaseQuota() : 0;
-}
-
-/* The 'WebView' attached property allows items spawned by the webView to
-   refer back to the originating webView through 'WebView.view', similar
-   to how ListView.view and GridView.view is exposed to items. */
-QQuickWebViewAttached::QQuickWebViewAttached(QObject* object)
-    : QObject(object)
-    , m_view(0)
-{
-}
-
-void QQuickWebViewAttached::setView(QQuickWebView* view)
-{
-    if (m_view == view)
-        return;
-    m_view = view;
-    emit viewChanged();
-}
-
-QQuickWebViewAttached* QQuickWebView::qmlAttachedProperties(QObject* object)
-{
-    return new QQuickWebViewAttached(object);
-}
-
-
-
-void QQuickWebViewPrivate::addAttachedPropertyTo(QObject* object)
-{
-    Q_Q(QQuickWebView);
-    QQuickWebViewAttached* attached = static_cast<QQuickWebViewAttached*>(qmlAttachedPropertiesObject<QQuickWebView>(object));
-    attached->setView(q);
-}
-
-bool QQuickWebViewPrivate::navigatorQtObjectEnabled() const
-{
-    return m_navigatorQtObjectEnabled;
-}
-
-void QQuickWebViewPrivate::setNavigatorQtObjectEnabled(bool enabled)
-{
-    ASSERT(enabled != m_navigatorQtObjectEnabled);
-    // FIXME: Currently we have to keep this information in both processes and the setting is asynchronous.
-    m_navigatorQtObjectEnabled = enabled;
-
-    static WKStringRef messageName = WKStringCreateWithUTF8CString("SetNavigatorQtObjectEnabled");
-    WKRetainPtr<WKBooleanRef> wkEnabled = adoptWK(WKBooleanCreate(enabled));
-    WKPagePostMessageToInjectedBundle(webPage.get(), messageName, wkEnabled.get());
-}
-
-static WKRetainPtr<WKStringRef> readUserScript(const QUrl& url)
-{
-    QString path;
-    if (url.isLocalFile())
-        path = url.toLocalFile();
-    else if (url.scheme() == QLatin1String("qrc"))
-        path = QStringLiteral(":") + url.path();
-    else {
-        qWarning("QQuickWebView: Couldn't open '%s' as user script because only file:/// and qrc:/// URLs are supported.", qPrintable(url.toString()));
-        return 0;
-    }
-
-    QFile file(path);
-    if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
-        qWarning("QQuickWebView: Couldn't open '%s' as user script due to error '%s'.", qPrintable(url.toString()), qPrintable(file.errorString()));
-        return 0;
-    }
-
-    QByteArray contents = file.readAll();
-    if (contents.isEmpty())
-        qWarning("QQuickWebView: Ignoring '%s' as user script because file is empty.", qPrintable(url.toString()));
-
-    return adoptWK(WKStringCreateWithUTF8CString(contents.constData()));
-}
-
-void QQuickWebViewPrivate::updateUserScripts()
-{
-    // This feature works per-WebView because we keep an unique page group for
-    // each Page/WebView pair we create.
-    WKPageGroupRemoveAllUserScripts(pageGroup.get());
-
-    for (unsigned i = 0; i < userScripts.size(); ++i) {
-        const QUrl& url = userScripts.at(i);
-        if (!url.isValid()) {
-            qWarning("QQuickWebView: Couldn't open '%s' as user script because URL is invalid.", qPrintable(url.toString()));
-            continue;
-        }
-
-        WKRetainPtr<WKStringRef> contents = readUserScript(url);
-        if (!contents || WKStringIsEmpty(contents.get()))
-            continue;
-        WKPageGroupAddUserScript(pageGroup.get(), contents.get(), /*baseURL*/ 0, /*whitelistedURLPatterns*/ 0, /*blacklistedURLPatterns*/ 0, kWKInjectInTopFrameOnly, kWKInjectAtDocumentEnd);
-    }
-}
-
-void QQuickWebViewPrivate::updateSchemeDelegates()
-{
-    webPageProxy->registerApplicationScheme(ASCIILiteral("qrc"));
-
-    QQmlListProperty<QQuickUrlSchemeDelegate> schemes = experimental->schemeDelegates();
-    for (int i = 0, numSchemes = experimental->schemeDelegates_Count(&schemes); i < numSchemes; ++i) {
-        QQuickUrlSchemeDelegate* scheme = experimental->schemeDelegates_At(&schemes, i);
-        webPageProxy->registerApplicationScheme(scheme->scheme());
-    }
-}
-
-QPointF QQuickWebViewPrivate::contentPos() const
-{
-    Q_Q(const QQuickWebView);
-    return QPointF(q->contentX(), q->contentY());
-}
-
-void QQuickWebViewPrivate::setContentPos(const QPointF& pos)
-{
-    Q_Q(QQuickWebView);
-    q->setContentX(pos.x());
-    q->setContentY(pos.y());
-}
-
-WebCore::IntSize QQuickWebViewPrivate::viewSize() const
-{
-    return WebCore::IntSize(pageView->width(), pageView->height());
-}
-
-/*!
-    \internal
-
-    \qmlsignal WebViewExperimental::onMessageReceived(var message)
-
-    \brief Emitted when JavaScript code executing on the web page calls navigator.qt.postMessage().
-
-    \sa postMessage
-*/
-void QQuickWebViewPrivate::didReceiveMessageFromNavigatorQtObject(WKStringRef message)
-{
-    QVariantMap variantMap;
-    variantMap.insert(QLatin1String("data"), WKStringCopyQString(message));
-    variantMap.insert(QLatin1String("origin"), q_ptr->url());
-    emit q_ptr->experimental()->messageReceived(variantMap);
-}
-
-CoordinatedGraphicsScene* QQuickWebViewPrivate::coordinatedGraphicsScene()
-{
-    if (webPageProxy && webPageProxy->drawingArea() && webPageProxy->drawingArea()->coordinatedLayerTreeHostProxy())
-        return webPageProxy->drawingArea()->coordinatedLayerTreeHostProxy()->coordinatedGraphicsScene();
-
-    return 0;
-}
-
-float QQuickWebViewPrivate::deviceScaleFactor()
-{
-    return webPageProxy->deviceScaleFactor();
-}
-
-void QQuickWebViewPrivate::setIntrinsicDeviceScaleFactor(float scaleFactor)
-{
-    webPageProxy->setIntrinsicDeviceScaleFactor(scaleFactor);
-}
-
-QQuickWebViewLegacyPrivate::QQuickWebViewLegacyPrivate(QQuickWebView* viewport)
-    : QQuickWebViewPrivate(viewport)
-{
-}
-
-void QQuickWebViewLegacyPrivate::initialize(WKContextRef contextRef, WKPageGroupRef pageGroupRef)
-{
-    QQuickWebViewPrivate::initialize(contextRef, pageGroupRef);
-
-    // Trigger setting of correct visibility flags after everything was allocated and initialized.
-    _q_onVisibleChanged();
-}
-
-void QQuickWebViewLegacyPrivate::updateViewportSize()
-{
-    Q_Q(QQuickWebView);
-    QSizeF viewportSize = q->boundingRect().size();
-    if (viewportSize.isEmpty())
-        return;
-
-    pageView->setContentsSize(viewportSize);
-
-    if (DrawingAreaProxy *drawingArea = webPageProxy->drawingArea()) {
-        // The fixed layout is handled by the FrameView and the drawing area doesn't behave differently
-        // whether its fixed or not. We still need to tell the drawing area which part of it
-        // has to be rendered on tiles, and in desktop mode it's all of it.
-        drawingArea->setSize(viewportSize.toSize(), IntSize(), IntSize());
-        // The backing store scale factor should already be set to the device pixel ratio
-        // of the underlying window, thus we set the effective scale to 1 here.
-        drawingArea->setVisibleContentsRect(FloatRect(FloatPoint(), FloatSize(viewportSize)), FloatPoint());
-    }
-}
-
-qreal QQuickWebViewLegacyPrivate::zoomFactor() const
-{
-    return WKPageGetPageZoomFactor(webPage.get());
-}
-
-void QQuickWebViewLegacyPrivate::setZoomFactor(qreal factor)
-{
-    WKPageSetPageZoomFactor(webPage.get(), factor);
-}
-
-QQuickWebViewFlickablePrivate::QQuickWebViewFlickablePrivate(QQuickWebView* viewport)
-    : QQuickWebViewPrivate(viewport)
-{
-}
-
-void QQuickWebViewFlickablePrivate::initialize(WKContextRef contextRef, WKPageGroupRef pageGroupRef)
-{
-    QQuickWebViewPrivate::initialize(contextRef, pageGroupRef);
-}
-
-void QQuickWebViewFlickablePrivate::onComponentComplete()
-{
-    QQuickWebViewPrivate::onComponentComplete();
-
-    Q_Q(QQuickWebView);
-    m_pageViewportControllerClient.reset(new PageViewportControllerClientQt(q, pageView.data()));
-    m_pageViewportController.reset(new PageViewportController(webPageProxy.get(), m_pageViewportControllerClient.data()));
-    pageEventHandler->setViewportController(m_pageViewportControllerClient.data());
-
-    // Trigger setting of correct visibility flags after everything was allocated and initialized.
-    _q_onVisibleChanged();
-}
-
-void QQuickWebViewFlickablePrivate::didChangeViewportProperties(const WebCore::ViewportAttributes& newAttributes)
-{
-    if (m_pageViewportController)
-        m_pageViewportController->didChangeViewportAttributes(newAttributes);
-}
-
-void QQuickWebViewFlickablePrivate::updateViewportSize()
-{
-    Q_Q(QQuickWebView);
-
-    if (m_pageViewportController)
-        m_pageViewportController->didChangeViewportSize(FloatSize(q->width(), q->height()));
-}
-
-void QQuickWebViewFlickablePrivate::pageDidRequestScroll(const QPoint& pos)
-{
-    if (m_pageViewportController)
-        m_pageViewportController->pageDidRequestScroll(pos);
-}
-
-QQuickWebViewExperimental::QQuickWebViewExperimental(QQuickWebView *webView, QQuickWebViewPrivate* webViewPrivate)
-    : QObject(webView)
-    , q_ptr(webView)
-    , d_ptr(webViewPrivate)
-    , schemeParent(new QObject(this))
-    , m_test(new QWebKitTest(webViewPrivate, this))
-{
-}
-
-QQuickWebViewExperimental::~QQuickWebViewExperimental()
-{
-}
-
-void QQuickWebViewExperimental::setRenderToOffscreenBuffer(bool enable)
-{
-    Q_D(QQuickWebView);
-    d->setRenderToOffscreenBuffer(enable);
-}
-
-bool QQuickWebViewExperimental::renderToOffscreenBuffer() const
-{
-    Q_D(const QQuickWebView);
-    return d->renderToOffscreenBuffer();
-}
-
-bool QQuickWebViewExperimental::transparentBackground() const
-{
-    Q_D(const QQuickWebView);
-    return d->transparentBackground();
-}
-void QQuickWebViewExperimental::setTransparentBackground(bool enable)
-{
-    Q_D(QQuickWebView);
-    d->setTransparentBackground(enable);
-}
-
-bool QQuickWebViewExperimental::useDefaultContentItemSize() const
-{
-    Q_D(const QQuickWebView);
-    return d->m_useDefaultContentItemSize;
-}
-
-void QQuickWebViewExperimental::setUseDefaultContentItemSize(bool enable)
-{
-    Q_D(QQuickWebView);
-    d->m_useDefaultContentItemSize = enable;
-}
-
-/*!
-    \internal
-
-    \qmlproperty int WebViewExperimental::preferredMinimumContentsWidth
-    \brief Minimum contents width when not overriden by the page itself.
-
-    Unless the page defines how contents should be laid out, using e.g.
-    the viewport meta tag, it is laid out given the width of the viewport
-    (in CSS units).
-
-    This setting can be used to enforce a minimum width when the page
-    does not define a width itself. This is useful for laying out pages
-    designed for big screens, commonly knows as desktop pages, on small
-    devices.
-
-    The default value is 0, but the value of 980 is recommented for small
-    screens as it provides a good trade off between legitable pages and
-    non-broken content.
- */
-int QQuickWebViewExperimental::preferredMinimumContentsWidth() const
-{
-    Q_D(const QQuickWebView);
-    return d->webPageProxy->pageGroup()->preferences()->layoutFallbackWidth();
-}
-
-void QQuickWebViewExperimental::setPreferredMinimumContentsWidth(int width)
-{
-    Q_D(QQuickWebView);
-    WebPreferences* webPreferences = d->webPageProxy->pageGroup()->preferences();
-
-    if (width == webPreferences->layoutFallbackWidth())
-        return;
-
-    webPreferences->setLayoutFallbackWidth(width);
-    emit preferredMinimumContentsWidthChanged();
-}
-
-void QQuickWebViewExperimental::setFlickableViewportEnabled(bool enable)
-{
-    s_flickableViewportEnabled = enable;
-}
-
-bool QQuickWebViewExperimental::flickableViewportEnabled()
-{
-    return s_flickableViewportEnabled;
-}
-
-/*!
-    \internal
-
-    \qmlmethod void WebViewExperimental::postMessage(string message)
-
-    \brief Post a message to an onmessage function registered with the navigator.qt object
-           by JavaScript code executing on the page.
-
-    \sa onMessageReceived
-*/
-
-void QQuickWebViewExperimental::postMessage(const QString& message)
-{
-    Q_D(QQuickWebView);
-    static WKStringRef messageName = WKStringCreateWithUTF8CString("MessageToNavigatorQtObject");
-    WKRetainPtr<WKStringRef> contents = adoptWK(WKStringCreateWithQString(message));
-    WKPagePostMessageToInjectedBundle(d->webPage.get(), messageName, contents.get());
-}
-
-QQmlComponent* QQuickWebViewExperimental::alertDialog() const
-{
-    Q_D(const QQuickWebView);
-    return d->alertDialog;
-}
-
-void QQuickWebViewExperimental::setAlertDialog(QQmlComponent* alertDialog)
-{
-    Q_D(QQuickWebView);
-    if (d->alertDialog == alertDialog)
-        return;
-    d->alertDialog = alertDialog;
-    emit alertDialogChanged();
-}
-
-QQmlComponent* QQuickWebViewExperimental::confirmDialog() const
-{
-    Q_D(const QQuickWebView);
-    return d->confirmDialog;
-}
-
-void QQuickWebViewExperimental::setConfirmDialog(QQmlComponent* confirmDialog)
-{
-    Q_D(QQuickWebView);
-    if (d->confirmDialog == confirmDialog)
-        return;
-    d->confirmDialog = confirmDialog;
-    emit confirmDialogChanged();
-}
-
-QWebNavigationHistory* QQuickWebViewExperimental::navigationHistory() const
-{
-    return d_ptr->navigationHistory.get();
-}
-
-QQmlComponent* QQuickWebViewExperimental::promptDialog() const
-{
-    Q_D(const QQuickWebView);
-    return d->promptDialog;
-}
-
-QWebPreferences* QQuickWebViewExperimental::preferences() const
-{
-    QQuickWebViewPrivate* const d = d_ptr;
-    if (!d->preferences)
-        d->preferences = adoptPtr(QWebPreferencesPrivate::createPreferences(d));
-    return d->preferences.get();
-}
-
-void QQuickWebViewExperimental::setPromptDialog(QQmlComponent* promptDialog)
-{
-    Q_D(QQuickWebView);
-    if (d->promptDialog == promptDialog)
-        return;
-    d->promptDialog = promptDialog;
-    emit promptDialogChanged();
-}
-
-QQmlComponent* QQuickWebViewExperimental::authenticationDialog() const
-{
-    Q_D(const QQuickWebView);
-    return d->authenticationDialog;
-}
-
-void QQuickWebViewExperimental::setAuthenticationDialog(QQmlComponent* authenticationDialog)
-{
-    Q_D(QQuickWebView);
-    if (d->authenticationDialog == authenticationDialog)
-        return;
-    d->authenticationDialog = authenticationDialog;
-    emit authenticationDialogChanged();
-}
-
-QQmlComponent* QQuickWebViewExperimental::proxyAuthenticationDialog() const
-{
-    Q_D(const QQuickWebView);
-    return d->proxyAuthenticationDialog;
-}
-
-void QQuickWebViewExperimental::setProxyAuthenticationDialog(QQmlComponent* proxyAuthenticationDialog)
-{
-    Q_D(QQuickWebView);
-    if (d->proxyAuthenticationDialog == proxyAuthenticationDialog)
-        return;
-    d->proxyAuthenticationDialog = proxyAuthenticationDialog;
-    emit proxyAuthenticationDialogChanged();
-}
-QQmlComponent* QQuickWebViewExperimental::certificateVerificationDialog() const
-{
-    Q_D(const QQuickWebView);
-    return d->certificateVerificationDialog;
-}
-
-void QQuickWebViewExperimental::setCertificateVerificationDialog(QQmlComponent* certificateVerificationDialog)
-{
-    Q_D(QQuickWebView);
-    if (d->certificateVerificationDialog == certificateVerificationDialog)
-        return;
-    d->certificateVerificationDialog = certificateVerificationDialog;
-    emit certificateVerificationDialogChanged();
-}
-
-QQmlComponent* QQuickWebViewExperimental::itemSelector() const
-{
-    Q_D(const QQuickWebView);
-    return d->itemSelector;
-}
-
-void QQuickWebViewExperimental::setItemSelector(QQmlComponent* itemSelector)
-{
-    Q_D(QQuickWebView);
-    if (d->itemSelector == itemSelector)
-        return;
-    d->itemSelector = itemSelector;
-    emit itemSelectorChanged();
-}
-
-QQmlComponent* QQuickWebViewExperimental::filePicker() const
-{
-    Q_D(const QQuickWebView);
-    return d->filePicker;
-}
-
-void QQuickWebViewExperimental::setFilePicker(QQmlComponent* filePicker)
-{
-    Q_D(QQuickWebView);
-    if (d->filePicker == filePicker)
-        return;
-    d->filePicker = filePicker;
-    emit filePickerChanged();
-}
-
-QQmlComponent* QQuickWebViewExperimental::databaseQuotaDialog() const
-{
-    Q_D(const QQuickWebView);
-    return d->databaseQuotaDialog;
-}
-
-void QQuickWebViewExperimental::setDatabaseQuotaDialog(QQmlComponent* databaseQuotaDialog)
-{
-    Q_D(QQuickWebView);
-    if (d->databaseQuotaDialog == databaseQuotaDialog)
-        return;
-    d->databaseQuotaDialog = databaseQuotaDialog;
-    emit databaseQuotaDialogChanged();
-}
-
-QQmlComponent* QQuickWebViewExperimental::colorChooser() const
-{
-    Q_D(const QQuickWebView);
-    return d->colorChooser;
-}
-
-void QQuickWebViewExperimental::setColorChooser(QQmlComponent* colorChooser)
-{
-    Q_D(QQuickWebView);
-    if (d->colorChooser == colorChooser)
-        return;
-
-    d->colorChooser = colorChooser;
-    emit colorChooserChanged();
-}
-
-QString QQuickWebViewExperimental::userAgent() const
-{
-    Q_D(const QQuickWebView);
-    WKRetainPtr<WKStringRef> ua = adoptWK(WKPageCopyCustomUserAgent(d->webPage.get()));
-    return WKStringCopyQString(ua.get());
-}
-
-void QQuickWebViewExperimental::setUserAgent(const QString& userAgent)
-{
-    Q_D(QQuickWebView);
-    WKRetainPtr<WKStringRef> newUserAgent = adoptWK(WKStringCreateWithQString(userAgent));
-    WKRetainPtr<WKStringRef> currentUserAgent = adoptWK(WKPageCopyCustomUserAgent(d->webPage.get()));
-    if (WKStringIsEqual(newUserAgent.get(), currentUserAgent.get()))
-        return;
-
-    WKPageSetCustomUserAgent(d->webPage.get(), newUserAgent.get());
-    emit userAgentChanged();
-}
-
-/*!
-    \internal
-
-    \qmlproperty int WebViewExperimental::deviceWidth
-    \brief The device width used by the viewport calculations.
-
-    The value used when calculation the viewport, eg. what is used for 'device-width' when
-    used in the viewport meta tag. If unset (zero or negative width), the width of the
-    actual viewport is used instead.
-*/
-
-int QQuickWebViewExperimental::deviceWidth() const
-{
-    Q_D(const QQuickWebView);
-    return d->webPageProxy->pageGroup()->preferences()->deviceWidth();
-}
-
-void QQuickWebViewExperimental::setDeviceWidth(int value)
-{
-    Q_D(QQuickWebView);
-    d->webPageProxy->pageGroup()->preferences()->setDeviceWidth(qMax(0, value));
-    emit deviceWidthChanged();
-}
-
-/*!
-    \internal
-
-    \qmlproperty int WebViewExperimental::deviceHeight
-    \brief The device width used by the viewport calculations.
-
-    The value used when calculation the viewport, eg. what is used for 'device-height' when
-    used in the viewport meta tag. If unset (zero or negative height), the height of the
-    actual viewport is used instead.
-*/
-
-int QQuickWebViewExperimental::deviceHeight() const
-{
-    Q_D(const QQuickWebView);
-    return d->webPageProxy->pageGroup()->preferences()->deviceHeight();
-}
-
-void QQuickWebViewExperimental::setDeviceHeight(int value)
-{
-    Q_D(QQuickWebView);
-    d->webPageProxy->pageGroup()->preferences()->setDeviceHeight(qMax(0, value));
-    emit deviceHeightChanged();
-}
-
-/*!
-    \internal
-
-    \qmlmethod void WebViewExperimental::evaluateJavaScript(string script [, function(result)])
-
-    \brief Evaluates the specified JavaScript and, if supplied, calls a function with the result.
-*/
-
-void QQuickWebViewExperimental::evaluateJavaScript(const QString& script, const QJSValue& value)
-{
-    JSCallbackClosure* closure = new JSCallbackClosure;
-
-    closure->receiver = this;
-    closure->value = value;
-
-    WKRetainPtr<WKStringRef> scriptString = adoptWK(WKStringCreateWithQString(script));
-    WKPageRunJavaScriptInMainFrame(d_ptr->webPage.get(), scriptString.get(), closure, javaScriptCallback);
-}
-
-void QQuickWebViewExperimental::findText(const QString& string, FindFlags options)
-{
-    Q_D(QQuickWebView);
-    if (string.isEmpty()) {
-        WKPageHideFindUI(d->webPage.get());
-        return;
-    }
-
-    WKFindOptions wkOptions = kWKFindOptionsCaseInsensitive;
-    if (options & FindCaseSensitively)
-        wkOptions = wkOptions & ~kWKFindOptionsCaseInsensitive;
-    if (options & FindBackward)
-        wkOptions |= kWKFindOptionsBackwards;
-    if (options & FindWrapsAroundDocument)
-        wkOptions |= kWKFindOptionsWrapAround;
-    if (options & FindHighlightAllOccurrences)
-        wkOptions |= kWKFindOptionsShowHighlight;
-
-    WKRetainPtr<WKStringRef> str = adoptWK(WKStringCreateWithQString(string));
-
-    WKPageFindString(d->webPage.get(), str.get(), wkOptions, std::numeric_limits<unsigned>::max() - 1);
-}
-
-QList<QUrl> QQuickWebViewExperimental::userScripts() const
-{
-    Q_D(const QQuickWebView);
-    return d->userScripts;
-}
-
-void QQuickWebViewExperimental::setUserScripts(const QList<QUrl>& userScripts)
-{
-    Q_D(QQuickWebView);
-    if (d->userScripts == userScripts)
-        return;
-    d->userScripts = userScripts;
-    d->updateUserScripts();
-    emit userScriptsChanged();
-}
-
-QUrl QQuickWebViewExperimental::remoteInspectorUrl() const
-{
-#if ENABLE(INSPECTOR_SERVER)
-    return QUrl(WebInspectorServer::shared().inspectorUrlForPageID(d_ptr->webPageProxy->inspector()->remoteInspectionPageID()));
-#else
-    return QUrl();
-#endif
-}
-
-QQuickUrlSchemeDelegate* QQuickWebViewExperimental::schemeDelegates_At(QQmlListProperty<QQuickUrlSchemeDelegate>* property, int index)
-{
-    const QObjectList children = property->object->children();
-    if (index < children.count())
-        return static_cast<QQuickUrlSchemeDelegate*>(children.at(index));
-    return 0;
-}
-
-void QQuickWebViewExperimental::schemeDelegates_Append(QQmlListProperty<QQuickUrlSchemeDelegate>* property, QQuickUrlSchemeDelegate *scheme)
-{
-    if (!scheme->scheme().compare(QLatin1String("qrc"), Qt::CaseInsensitive)) {
-        qWarning("WARNING: The qrc scheme is reserved to be handled internally. The handler will be ignored.");
-        delete scheme;
-        return;
-    }
-
-    QObject* schemeParent = property->object;
-    scheme->setParent(schemeParent);
-    QQuickWebViewExperimental* webViewExperimental = qobject_cast<QQuickWebViewExperimental*>(property->object->parent());
-    if (!webViewExperimental)
-        return;
-    scheme->reply()->setWebViewExperimental(webViewExperimental);
-    QQuickWebViewPrivate* d = webViewExperimental->d_func();
-    d->webPageProxy->registerApplicationScheme(scheme->scheme());
-}
-
-int QQuickWebViewExperimental::schemeDelegates_Count(QQmlListProperty<QQuickUrlSchemeDelegate>* property)
-{
-    return property->object->children().count();
-}
-
-void QQuickWebViewExperimental::schemeDelegates_Clear(QQmlListProperty<QQuickUrlSchemeDelegate>* property)
-{
-    const QObjectList children = property->object->children();
-    for (int index = 0; index < children.count(); index++) {
-        QObject* child = children.at(index);
-        child->setParent(0);
-        delete child;
-    }
-}
-
-QQmlListProperty<QQuickUrlSchemeDelegate> QQuickWebViewExperimental::schemeDelegates()
-{
-    return QQmlListProperty<QQuickUrlSchemeDelegate>(schemeParent, 0,
-            QQuickWebViewExperimental::schemeDelegates_Append,
-            QQuickWebViewExperimental::schemeDelegates_Count,
-            QQuickWebViewExperimental::schemeDelegates_At,
-            QQuickWebViewExperimental::schemeDelegates_Clear);
-}
-
-void QQuickWebViewExperimental::invokeApplicationSchemeHandler(PassRefPtr<QtRefCountedNetworkRequestData> request)
-{
-    RefPtr<QtRefCountedNetworkRequestData> req = request;
-    if (req->data().m_scheme.startsWith("qrc", false)) {
-        QQuickQrcSchemeDelegate qrcDelegate(QUrl(QString(req->data().m_urlString)));
-        qrcDelegate.request()->setNetworkRequestData(req);
-        qrcDelegate.reply()->setNetworkRequestData(req);
-        qrcDelegate.reply()->setWebViewExperimental(this);
-        qrcDelegate.readResourceAndSend();
-        return;
-    }
-
-    const QObjectList children = schemeParent->children();
-    for (int index = 0; index < children.count(); index++) {
-        QQuickUrlSchemeDelegate* delegate = qobject_cast<QQuickUrlSchemeDelegate*>(children.at(index));
-        if (!delegate)
-            continue;
-        if (!delegate->scheme().compare(QString(req->data().m_scheme), Qt::CaseInsensitive)) {
-            delegate->request()->setNetworkRequestData(req);
-            delegate->reply()->setNetworkRequestData(req);
-            emit delegate->receivedRequest();
-            return;
-        }
-    }
-}
-
-void QQuickWebViewExperimental::sendApplicationSchemeReply(QQuickNetworkReply* reply)
-{
-    d_ptr->webPageProxy->sendApplicationSchemeReply(reply);
-}
-
-void QQuickWebViewExperimental::goForwardTo(int index)
-{
-    d_ptr->navigationHistory->d->goForwardTo(index);
-}
-
-void QQuickWebViewExperimental::goBackTo(int index)
-{
-    d_ptr->navigationHistory->d->goBackTo(index);
-}
-
-QWebKitTest* QQuickWebViewExperimental::test()
-{
-    return m_test;
-}
-
-QQuickWebPage* QQuickWebViewExperimental::page()
-{
-    return q_ptr->page();
-}
-
-/*!
-    \page index.html
-    \title QtWebKit: QML WebView version 3.0
-
-    The WebView API allows QML applications to render regions of dynamic
-    web content. A \e{WebView} component may share the screen with other
-    QML components or encompass the full screen as specified within the
-    QML application.
-
-    QML WebView version 3.0 is incompatible with previous QML \l
-    {QtWebKit1::WebView} {WebView} API versions.  It allows an
-    application to load pages into the WebView, either by URL or with
-    an HTML string, and navigate within session history.  By default,
-    links to different pages load within the same WebView, but applications
-    may intercept requests to delegate links to other functions.
-
-    This sample QML application loads a web page, responds to session
-    history context, and intercepts requests for external links:
-
-    \code
-    import QtQuick 2.0
-    import QtWebKit 3.0
-
-    Page {
-        WebView {
-            id: webview
-            url: "http://qt-project.org"
-            width: parent.width
-            height: parent.height
-            onNavigationRequested: {
-                // detect URL scheme prefix, most likely an external link
-                var schemaRE = /^\w+:/;
-                if (schemaRE.test(request.url)) {
-                    request.action = WebView.AcceptRequest;
-                } else {
-                    request.action = WebView.IgnoreRequest;
-                    // delegate request.url here
-                }
-            }
-        }
-    }
-    \endcode
-
-    \section1 Examples
-
-    There are several Qt WebKit examples located in the
-    \l{Qt WebKit Examples} page.
-
-*/
-
-
-/*!
-    \qmltype WebView
-    \instantiates QQuickWebView
-    \inqmlmodule QtWebKit 3.0
-    \brief A WebView renders web content within a QML application
-*/
-
-QQuickWebView::QQuickWebView(QQuickItem* parent)
-    : QQuickFlickable(parent)
-    , d_ptr(createPrivateObject(this))
-{
-    Q_D(QQuickWebView);
-    d->initialize();
-}
-
-QQuickWebView::QQuickWebView(WKContextRef contextRef, WKPageGroupRef pageGroupRef, QQuickItem* parent)
-    : QQuickFlickable(parent)
-    , d_ptr(createPrivateObject(this))
-{
-    Q_D(QQuickWebView);
-    d->initialize(contextRef, pageGroupRef);
-}
-
-QQuickWebView::~QQuickWebView()
-{
-}
-
-QQuickWebPage* QQuickWebView::page()
-{
-    Q_D(QQuickWebView);
-    return d->pageView.data();
-}
-
-/*!
-    \qmlmethod void WebView::goBack()
-
-    Go backward within the browser's session history, if possible.
-    (Equivalent to the \c{window.history.back()} DOM method.)
-
-    \sa WebView::canGoBack
-*/
-void QQuickWebView::goBack()
-{
-    Q_D(QQuickWebView);
-    WKPageGoBack(d->webPage.get());
-}
-
-/*!
-    \qmlmethod void WebView::goForward()
-
-    Go forward within the browser's session history, if possible.
-    (Equivalent to the \c{window.history.forward()} DOM method.)
-*/
-void QQuickWebView::goForward()
-{
-    Q_D(QQuickWebView);
-    WKPageGoForward(d->webPage.get());
-}
-
-/*!
-    \qmlmethod void WebView::stop()
-
-    Stop loading the current page.
-*/
-void QQuickWebView::stop()
-{
-    Q_D(QQuickWebView);
-    WKPageStopLoading(d->webPage.get());
-}
-
-/*!
-    \qmlmethod void WebView::reload()
-
-    Reload the current page. (Equivalent to the
-    \c{window.location.reload()} DOM method.)
-*/
-void QQuickWebView::reload()
-{
-    Q_D(QQuickWebView);
-
-    WebFrameProxy* mainFrame = d->webPageProxy->mainFrame();
-    if (mainFrame && !mainFrame->unreachableURL().isEmpty() && mainFrame->url() != blankURL()) {
-        // We are aware of the unreachable url on the UI process side, but since we haven't
-        // loaded alternative/subsitute data for it (an error page eg.) WebCore doesn't know
-        // about the unreachable url yet. If we just do a reload at this point WebCore will try to
-        // reload the currently committed url instead of the unrachable url. To work around this
-        // we override the reload here by doing a manual load.
-        d->webPageProxy->loadURL(mainFrame->unreachableURL());
-        // FIXME: We should make WebCore aware of the unreachable url regardless of substitute-loads
-        return;
-    }
-
-    WKPageReloadFromOrigin(d->webPage.get());
-}
-
-/*!
-    \qmlproperty url WebView::url
-
-    The location of the currently displaying HTML page. This writable
-    property offers the main interface to load a page into a web view.
-    It functions the same as the \c{window.location} DOM property.
-
-    \sa WebView::loadHtml()
-*/
-QUrl QQuickWebView::url() const
-{
-    Q_D(const QQuickWebView);
-
-    // FIXME: Enable once we are sure this should not trigger
-    // Q_ASSERT(d->m_currentUrl == d->webPageProxy->activeURL());
-
-    return QUrl(d->m_currentUrl);
-}
-
-void QQuickWebView::setUrl(const QUrl& url)
-{
-    Q_D(QQuickWebView);
-
-    if (url.isEmpty())
-        return;
-
-    WKRetainPtr<WKURLRef> u = adoptWK(WKURLCreateWithQUrl(url));
-    WKPageLoadURL(d->webPage.get(), u.get());
-    emitUrlChangeIfNeeded();
-}
-
-// Make sure we don't emit urlChanged unless it actually changed
-void QQuickWebView::emitUrlChangeIfNeeded()
-{
-    Q_D(QQuickWebView);
-
-    QString activeUrl = d->webPageProxy->activeURL();
-    if (activeUrl != d->m_currentUrl) {
-        d->m_currentUrl = activeUrl;
-        emit urlChanged();
-    }
-}
-
-/*!
-    \qmlproperty url WebView::icon
-
-    The location of the currently displaying Web site icon, also known as favicon
-    or shortcut icon. This read-only URL corresponds to the image used within a
-    mobile browser application to represent a bookmarked page on the device's home
-    screen.
-
-    This example uses the \c{icon} property to build an \c{Image} element:
-
-    \code
-    Image {
-        id: appIcon
-        source: webView.icon != "" ? webView.icon : "fallbackFavIcon.png";
-        ...
-    }
-    \endcode
-*/
-QUrl QQuickWebView::icon() const
-{
-    Q_D(const QQuickWebView);
-    return d->m_iconUrl;
-}
-
-/*!
-    \qmlproperty int WebView::loadProgress
-
-    The amount of the page that has been loaded, expressed as an integer
-    percentage in the range from \c{0} to \c{100}.
-*/
-int QQuickWebView::loadProgress() const
-{
-    Q_D(const QQuickWebView);
-    return d->loadProgress();
-}
-
-/*!
-    \qmlproperty bool WebView::canGoBack
-
-    Returns \c{true} if there are prior session history entries, \c{false}
-    otherwise.
-*/
-bool QQuickWebView::canGoBack() const
-{
-    Q_D(const QQuickWebView);
-    return WKPageCanGoBack(d->webPage.get());
-}
-
-/*!
-    \qmlproperty bool WebView::canGoForward
-
-    Returns \c{true} if there are subsequent session history entries,
-    \c{false} otherwise.
-*/
-bool QQuickWebView::canGoForward() const
-{
-    Q_D(const QQuickWebView);
-    return WKPageCanGoForward(d->webPage.get());
-}
-
-/*!
-    \qmlproperty bool WebView::loading
-
-    Returns \c{true} if the HTML page is currently loading, \c{false} otherwise.
-*/
-bool QQuickWebView::loading() const
-{
-    Q_D(const QQuickWebView);
-    WKFrameRef mainFrame = WKPageGetMainFrame(d->webPage.get());
-    return mainFrame && !(kWKFrameLoadStateFinished == WKFrameGetFrameLoadState(mainFrame));
-}
-
-/*!
-    \internal
- */
-
-QPointF QQuickWebView::mapToWebContent(const QPointF& pointInViewCoordinates) const
-{
-    Q_D(const QQuickWebView);
-    return d->pageView->transformFromItem().map(pointInViewCoordinates);
-}
-
-/*!
-    \internal
- */
-
-QRectF QQuickWebView::mapRectToWebContent(const QRectF& rectInViewCoordinates) const
-{
-    Q_D(const QQuickWebView);
-    return d->pageView->transformFromItem().mapRect(rectInViewCoordinates);
-}
-
-/*!
-    \internal
- */
-
-QPointF QQuickWebView::mapFromWebContent(const QPointF& pointInCSSCoordinates) const
-{
-    Q_D(const QQuickWebView);
-    return d->pageView->transformToItem().map(pointInCSSCoordinates);
-}
-
-/*!
-    \internal
- */
-QRectF QQuickWebView::mapRectFromWebContent(const QRectF& rectInCSSCoordinates) const
-{
-    Q_D(const QQuickWebView);
-    return d->pageView->transformToItem().mapRect(rectInCSSCoordinates);
-}
-
-/*!
-    \qmlproperty string WebView::title
-
-    The title of the currently displaying HTML page, a read-only value
-    that reflects the contents of the \c{<title>} tag.
-*/
-QString QQuickWebView::title() const
-{
-    Q_D(const QQuickWebView);
-    WKRetainPtr<WKStringRef> t = adoptWK(WKPageCopyTitle(d->webPage.get()));
-    return WKStringCopyQString(t.get());
-}
-
-QVariant QQuickWebView::inputMethodQuery(Qt::InputMethodQuery property) const
-{
-    Q_D(const QQuickWebView);
-    const EditorState& state = d->webPageProxy->editorState();
-
-    switch(property) {
-    case Qt::ImCursorRectangle:
-        return QRectF(state.cursorRect);
-    case Qt::ImFont:
-        return QVariant();
-    case Qt::ImCursorPosition:
-        return QVariant(static_cast<int>(state.cursorPosition));
-    case Qt::ImAnchorPosition:
-        return QVariant(static_cast<int>(state.anchorPosition));
-    case Qt::ImSurroundingText:
-        return QString(state.surroundingText);
-    case Qt::ImCurrentSelection:
-        return QString(state.selectedText);
-    case Qt::ImMaximumTextLength:
-        return QVariant(); // No limit.
-    case Qt::ImHints:
-        return int(Qt::InputMethodHints(state.inputMethodHints));
-    default:
-        // Rely on the base implementation for ImEnabled, ImHints and ImPreferredLanguage.
-        return QQuickFlickable::inputMethodQuery(property);
-    }
-}
-
-/*!
-    internal
-
-    The experimental module consisting on experimental API which will break
-    from version to version.
-*/
-QQuickWebViewExperimental* QQuickWebView::experimental() const
-{
-    Q_D(const QQuickWebView);
-    return d->experimental;
-}
-
-/*!
-    \internal
-*/
-void QQuickWebView::platformInitialize()
-{
-    JSC::initializeThreading();
-    WTF::initializeMainThread();
-}
-
-bool QQuickWebView::childMouseEventFilter(QQuickItem* item, QEvent* event)
-{
-    if (!isVisible() || !isEnabled())
-        return false;
-
-    // This function is used by MultiPointTouchArea and PinchArea to filter
-    // touch events, thus to hinder the canvas from sending synthesized
-    // mouse events to the Flickable implementation we need to reimplement
-    // childMouseEventFilter to ignore touch and mouse events.
-
-    switch (event->type()) {
-    case QEvent::MouseButtonPress:
-    case QEvent::MouseMove:
-    case QEvent::MouseButtonRelease:
-    case QEvent::TouchBegin:
-    case QEvent::TouchUpdate:
-    case QEvent::TouchEnd:
-        // Force all mouse and touch events through the default propagation path.
-        return false;
-    default:
-        ASSERT(event->type() == QEvent::UngrabMouse);
-        break;
-    }
-
-    return QQuickFlickable::childMouseEventFilter(item, event);
-}
-
-void QQuickWebView::geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry)
-{
-    Q_D(QQuickWebView);
-    QQuickFlickable::geometryChanged(newGeometry, oldGeometry);
-    if (newGeometry.size() != oldGeometry.size())
-        d->updateViewportSize();
-}
-
-void QQuickWebView::componentComplete()
-{
-    Q_D(QQuickWebView);
-    QQuickFlickable::componentComplete();
-
-    d->onComponentComplete();
-    d->updateViewportSize();
-}
-
-void QQuickWebView::keyPressEvent(QKeyEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleKeyPressEvent(event);
-}
-
-void QQuickWebView::keyReleaseEvent(QKeyEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleKeyReleaseEvent(event);
-}
-
-void QQuickWebView::inputMethodEvent(QInputMethodEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleInputMethodEvent(event);
-}
-
-void QQuickWebView::focusInEvent(QFocusEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleFocusInEvent(event);
-}
-
-void QQuickWebView::itemChange(ItemChange change, const ItemChangeData &value)
-{
-    Q_D(QQuickWebView);
-    if (change == ItemActiveFocusHasChanged) {
-        bool focus = value.boolValue;
-        if (!focus)
-            d->pageEventHandler->handleFocusLost();
-    }
-    QQuickFlickable::itemChange(change, value);
-}
-
-void QQuickWebView::touchEvent(QTouchEvent* event)
-{
-    Q_D(QQuickWebView);
-
-    bool lockingDisabled = flickableDirection() != AutoFlickDirection
-                           || event->touchPoints().size() != 1
-                           || width() >= contentWidth()
-                           || height() >= contentHeight();
-
-    if (!lockingDisabled)
-        d->axisLocker.update(event);
-    else
-        d->axisLocker.reset();
-
-    forceActiveFocus();
-    d->pageEventHandler->handleTouchEvent(event);
-}
-
-void QQuickWebView::mousePressEvent(QMouseEvent* event)
-{
-    Q_D(QQuickWebView);
-    forceActiveFocus();
-    d->handleMouseEvent(event);
-}
-
-void QQuickWebView::mouseMoveEvent(QMouseEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->handleMouseEvent(event);
-}
-
-void QQuickWebView::mouseReleaseEvent(QMouseEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->handleMouseEvent(event);
-}
-
-void QQuickWebView::mouseDoubleClickEvent(QMouseEvent* event)
-{
-    Q_D(QQuickWebView);
-    forceActiveFocus();
-    d->handleMouseEvent(event);
-}
-
-void QQuickWebView::wheelEvent(QWheelEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleWheelEvent(event);
-}
-
-void QQuickWebView::hoverEnterEvent(QHoverEvent* event)
-{
-    Q_D(QQuickWebView);
-    // Map HoverEnter to Move, for WebKit the distinction doesn't matter.
-    d->pageEventHandler->handleHoverMoveEvent(event);
-}
-
-void QQuickWebView::hoverMoveEvent(QHoverEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleHoverMoveEvent(event);
-}
-
-void QQuickWebView::hoverLeaveEvent(QHoverEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleHoverLeaveEvent(event);
-}
-
-void QQuickWebView::dragMoveEvent(QDragMoveEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleDragMoveEvent(event);
-}
-
-void QQuickWebView::dragEnterEvent(QDragEnterEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleDragEnterEvent(event);
-}
-
-void QQuickWebView::dragLeaveEvent(QDragLeaveEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleDragLeaveEvent(event);
-}
-
-void QQuickWebView::dropEvent(QDropEvent* event)
-{
-    Q_D(QQuickWebView);
-    d->pageEventHandler->handleDropEvent(event);
-}
-
-bool QQuickWebView::event(QEvent* ev)
-{
-    // Re-implemented for possible future use without breaking binary compatibility.
-    return QQuickFlickable::event(ev);
-}
-
-WKPageRef QQuickWebView::pageRef() const
-{
-    Q_D(const QQuickWebView);
-    return d->webPage.get();
-}
-
-QPointF QQuickWebView::contentPos() const
-{
-    Q_D(const QQuickWebView);
-    return d->contentPos();
-}
-
-void QQuickWebView::setContentPos(const QPointF& pos)
-{
-    Q_D(QQuickWebView);
-
-    if (pos == contentPos())
-        return;
-
-    d->setContentPos(pos);
-}
-
-void QQuickWebView::handleFlickableMousePress(const QPointF& position, qint64 eventTimestampMillis)
-{
-    Q_D(QQuickWebView);
-    d->axisLocker.setReferencePosition(position);
-    QMouseEvent mouseEvent(QEvent::MouseButtonPress, position, Qt::LeftButton, Qt::NoButton, Qt::NoModifier);
-    mouseEvent.setTimestamp(eventTimestampMillis);
-    QQuickFlickable::mousePressEvent(&mouseEvent);
-}
-
-void QQuickWebView::handleFlickableMouseMove(const QPointF& position, qint64 eventTimestampMillis)
-{
-    Q_D(QQuickWebView);
-    QMouseEvent mouseEvent(QEvent::MouseMove, d->axisLocker.adjust(position), Qt::LeftButton, Qt::NoButton, Qt::NoModifier);
-    mouseEvent.setTimestamp(eventTimestampMillis);
-    QQuickFlickable::mouseMoveEvent(&mouseEvent);
-}
-
-void QQuickWebView::handleFlickableMouseRelease(const QPointF& position, qint64 eventTimestampMillis)
-{
-    Q_D(QQuickWebView);
-    QMouseEvent mouseEvent(QEvent::MouseButtonRelease, d->axisLocker.adjust(position), Qt::LeftButton, Qt::NoButton, Qt::NoModifier);
-    d->axisLocker.reset();
-    mouseEvent.setTimestamp(eventTimestampMillis);
-    QQuickFlickable::mouseReleaseEvent(&mouseEvent);
-}
-
-/*!
-    \qmlmethod void WebView::loadHtml(string html, url baseUrl, url unreachableUrl)
-    \brief Loads the specified \a html as the content of the web view.
-
-    (This method offers a lower-level alternative to the \c{url} property,
-    which references HTML pages via URL.)
-
-    External objects such as stylesheets or images referenced in the HTML
-    document are located relative to \a baseUrl. For example if provided \a html
-    was originally retrieved from \c http://www.example.com/documents/overview.html
-    and that was the base url, then an image referenced with the relative url \c diagram.png
-    would be looked for at \c{http://www.example.com/documents/diagram.png}.
-
-    If an \a unreachableUrl is passed it is used as the url for the loaded
-    content. This is typically used to display error pages for a failed
-    load.
-
-    \sa WebView::url
-*/
-void QQuickWebView::loadHtml(const QString& html, const QUrl& baseUrl, const QUrl& unreachableUrl)
-{
-    Q_D(QQuickWebView);
-    WKRetainPtr<WKStringRef> htmlRef = adoptWK(WKStringCreateWithQString(html));
-    WKRetainPtr<WKURLRef> baseUrlRef = adoptWK(WKURLCreateWithQUrl(baseUrl));
-    WKRetainPtr<WKURLRef> unreachableUrlRef = adoptWK(WKURLCreateWithQUrl(unreachableUrl));
-
-    if (unreachableUrl.isValid())
-        WKPageLoadAlternateHTMLString(d->webPage.get(), htmlRef.get(), baseUrlRef.get(), unreachableUrlRef.get());
-    else
-        WKPageLoadHTMLString(d->webPage.get(), htmlRef.get(), baseUrlRef.get());
-}
-
-qreal QQuickWebView::zoomFactor() const
-{
-    Q_D(const QQuickWebView);
-    return d->zoomFactor();
-}
-
-void QQuickWebView::setZoomFactor(qreal factor)
-{
-
-    Q_D(QQuickWebView);
-    d->setZoomFactor(factor);
-}
-
-void QQuickWebView::runJavaScriptInMainFrame(const QString &script, QObject *receiver, const char *method)
-{
-    Q_D(QQuickWebView);
-
-    JSCallbackClosure* closure = new JSCallbackClosure;
-    closure->receiver = receiver;
-    closure->method = method;
-
-    WKRetainPtr<WKStringRef> scriptString = adoptWK(WKStringCreateWithQString(script));
-    WKPageRunJavaScriptInMainFrame(d->webPage.get(), scriptString.get(), closure, javaScriptCallback);
-}
-
-bool QQuickWebView::allowAnyHTTPSCertificateForLocalHost() const
-{
-    Q_D(const QQuickWebView);
-    return d->m_allowAnyHTTPSCertificateForLocalHost;
-}
-
-void QQuickWebView::setAllowAnyHTTPSCertificateForLocalHost(bool allow)
-{
-    Q_D(QQuickWebView);
-    d->m_allowAnyHTTPSCertificateForLocalHost = allow;
-}
-
-void QQuickWebViewPrivate::didFindString(WKPageRef, WKStringRef, unsigned matchCount, const void* clientInfo)
-{
-    QQuickWebView* q = toQQuickWebViewPrivate(clientInfo)->q_ptr;
-    emit q->experimental()->textFound(matchCount);
-}
-
-void QQuickWebViewPrivate::didFailToFindString(WKPageRef page, WKStringRef string, const void* clientInfo)
-{
-    QQuickWebViewPrivate::didFindString(page, string, 0, clientInfo);
-}
-
-/*!
-    \qmlsignal WebView::onLoadingChanged(loadRequest)
-
-    Occurs when any page load begins, ends, or fails. Various read-only
-    parameters are available on the \a loadRequest:
-
-    \list
-
-    \li \c{url}: the location of the resource that is loading.
-
-    \li \c{status}: Reflects one of three load states:
-       \c{LoadStartedStatus}, \c{LoadSucceededStatus}, or
-       \c{LoadFailedStatus}. See \c{WebView::LoadStatus}.
-
-    \li \c{errorString}: description of load error.
-
-    \li \c{errorCode}: HTTP error code.
-
-    \li \c{errorDomain}: high-level error types, one of
-    \c{NetworkErrorDomain}, \c{HttpErrorDomain}, \c{InternalErrorDomain},
-    \c{DownloadErrorDomain}, or \c{NoErrorDomain}.  See
-    \l{WebView::ErrorDomain}.
-
-    \endlist
-
-    \sa WebView::loading
-*/
-
-/*!
-    \qmlsignal WebView::onLinkHovered(hoveredUrl, hoveredTitle)
-
-    Within a mouse-driven interface, this signal is emitted when a mouse
-    pointer passes over a link, corresponding to the \c{mouseover} DOM
-    event.  (May also occur in touch interfaces for \c{mouseover} events
-    that are not cancelled with \c{preventDefault()}.)  The \a{hoveredUrl}
-    provides the link's location, and the \a{hoveredTitle} is any avalable
-    link text.
-*/
-
-/*!
-    \qmlsignal WebView::onNavigationRequested(request)
-
-    Occurs for various kinds of navigation.  If the application listens
-    for this signal, it must set the \c{request.action} to either of the
-    following \l{WebView::NavigationRequestAction} enum values:
-
-    \list
-
-    \li \c{AcceptRequest}: Allow navigation to external pages within the
-    web view. This represents the default behavior when no listener is
-    active.
-
-    \li \c{IgnoreRequest}: Suppress navigation to new pages within the web
-    view.  (The listener may then delegate navigation externally to
-    the browser application.)
-
-    \endlist
-
-    The \a{request} also provides the following read-only values:
-
-    \list
-
-    \li \c{url}: The location of the requested page.
-
-    \li \c{navigationType}: contextual information, one of
-    \c{LinkClickedNavigation}, \c{BackForwardNavigation},
-    \c{ReloadNavigation}, \c{FormSubmittedNavigation},
-    \c{FormResubmittedNavigation}, or \c{OtherNavigation} enum values.
-    See \l{WebView::NavigationType}.
-
-    \li \c{keyboardModifiers}: potential states for \l{Qt::KeyboardModifier}.
-
-    \li \c{mouseButton}: potential states for \l{Qt::MouseButton}.
-
-    \endlist
-*/
-
-/*!
-    \qmlproperty enumeration WebView::ErrorDomain
-
-    Details various high-level error types.
-
-    \table
-
-    \header
-    \li Constant
-    \li Description
-
-    \row
-    \li InternalErrorDomain
-    \li Content fails to be interpreted by Qt WebKit.
-
-    \row
-    \li NetworkErrorDomain
-    \li Error results from faulty network connection.
-
-    \row
-    \li HttpErrorDomain
-    \li Error is produced by server.
-
-    \row
-    \li DownloadErrorDomain
-    \li Error in saving file.
-
-    \row
-    \li NoErrorDomain
-    \li Unspecified fallback error.
-
-    \endtable
-*/
-
-/*!
-    \qmlproperty enumeration WebView::NavigationType
-
-    Distinguishes context for various navigation actions.
-
-    \table
-
-    \header
-    \li Constant
-    \li Description
-
-    \row
-    \li LinkClickedNavigation
-    \li Navigation via link.
-
-    \row
-    \li FormSubmittedNavigation
-    \li Form data is posted.
-
-    \row
-    \li BackForwardNavigation
-    \li Navigation back and forth within session history.
-
-    \row
-    \li ReloadNavigation
-    \li The current page is reloaded.
-
-    \row
-    \li FormResubmittedNavigation
-    \li Form data is re-posted.
-
-    \row
-    \li OtherNavigation
-    \li Unspecified fallback method of navigation.
-
-    \endtable
-*/
-
-/*!
-    \qmlproperty enumeration WebView::LoadStatus
-
-    Reflects a page's load status.
-
-    \table
-
-    \header
-    \li Constant
-    \li Description
-
-    \row
-    \li LoadStartedStatus
-    \li Page is currently loading.
-
-    \row
-    \li LoadSucceededStatus
-    \li Page has successfully loaded, and is not currently loading.
-
-    \row
-    \li LoadFailedStatus
-    \li Page has failed to load, and is not currently loading.
-
-    \endtable
-*/
-
-/*!
-    \qmlproperty enumeration WebView::NavigationRequestAction
-
-    Specifies a policy when navigating a link to an external page.
-
-    \table
-
-    \header
-    \li Constant
-    \li Description
-
-    \row
-    \li AcceptRequest
-    \li Allow navigation to external pages within the web view.
-
-    \row
-    \li IgnoreRequest
-    \li Suppress navigation to new pages within the web view.
-
-    \endtable
-*/
-
-#include "moc_qquickwebview_p.cpp"
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebview_p.h b/Source/WebKit2/UIProcess/API/qt/qquickwebview_p.h
deleted file mode 100644 (file)
index 86d68fc..0000000
+++ /dev/null
@@ -1,412 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- * Copyright (c) 2012 Hewlett-Packard Development Company, L.P.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qquickwebview_p_h
-#define qquickwebview_p_h
-
-#include "qquickurlschemedelegate_p.h"
-#include "qwebkitglobal.h"
-#include <QtQml/qqmllist.h>
-#include <QtQuick/qquickitem.h>
-#include <private/qquickflickable_p.h>
-
-QT_BEGIN_NAMESPACE
-class QQmlComponent;
-QT_END_NAMESPACE
-class QWebNavigationRequest;
-class QQuickWebPage;
-class QQuickWebViewAttached;
-class QWebLoadRequest;
-class QQuickWebViewPrivate;
-class QQuickWebViewExperimental;
-class QWebDownloadItem;
-class QWebNavigationHistory;
-class QWebPreferences;
-class QWebPermissionRequest;
-class QWebKitTest;
-class QQuickNetworkReply;
-
-namespace WTR {
-class PlatformWebView;
-}
-
-namespace TestWebKitAPI {
-class PlatformWebView;
-}
-
-namespace WebKit {
-struct QtRefCountedNetworkRequestData;
-class PageViewportControllerClientQt;
-class QtWebPagePolicyClient;
-class QtWebPageUIClient;
-}
-
-namespace WTF {
-template<class T> class PassRefPtr;
-}
-
-typedef const struct OpaqueWKContext* WKContextRef;
-typedef const struct OpaqueWKPageGroup* WKPageGroupRef;
-typedef const struct OpaqueWKPage* WKPageRef;
-
-QT_BEGIN_NAMESPACE
-class QPainter;
-class QUrl;
-class QQuickFlickable;
-class QJSValue;
-QT_END_NAMESPACE
-
-
-// Instantiating the WebView in C++ is only possible by creating
-// a QQmlComponent as the initialization depends on the
-// componentComplete method being called.
-class QWEBKIT_EXPORT QQuickWebView : public QQuickFlickable {
-    Q_OBJECT
-    Q_PROPERTY(QString title READ title NOTIFY titleChanged)
-    Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged)
-    Q_PROPERTY(QUrl icon READ icon NOTIFY iconChanged FINAL)
-    Q_PROPERTY(bool canGoBack READ canGoBack NOTIFY navigationHistoryChanged FINAL)
-    Q_PROPERTY(bool canGoForward READ canGoForward NOTIFY navigationHistoryChanged FINAL)
-    Q_PROPERTY(bool loading READ loading NOTIFY loadingChanged FINAL)
-    Q_PROPERTY(int loadProgress READ loadProgress NOTIFY loadProgressChanged)
-    Q_ENUMS(NavigationRequestAction)
-    Q_ENUMS(LoadStatus)
-    Q_ENUMS(ErrorDomain)
-    Q_ENUMS(NavigationType)
-
-public:
-    enum NavigationRequestAction {
-        AcceptRequest,
-        // Make room in the valid range of the enum for extra actions exposed in Experimental.
-        IgnoreRequest = 0xFF
-    };
-    enum LoadStatus {
-        LoadStartedStatus,
-        LoadStoppedStatus,
-        LoadSucceededStatus,
-        LoadFailedStatus
-    };
-    enum ErrorDomain {
-        NoErrorDomain,
-        InternalErrorDomain,
-        NetworkErrorDomain,
-        HttpErrorDomain,
-        DownloadErrorDomain
-    };
-
-    enum NavigationType {
-        LinkClickedNavigation,
-        FormSubmittedNavigation,
-        BackForwardNavigation,
-        ReloadNavigation,
-        FormResubmittedNavigation,
-        OtherNavigation
-    };
-
-    QQuickWebView(QQuickItem* parent = 0);
-    virtual ~QQuickWebView();
-
-    QUrl url() const;
-    void setUrl(const QUrl&);
-    QUrl icon() const;
-    QString title() const;
-    int loadProgress() const;
-
-    bool canGoBack() const;
-    bool canGoForward() const;
-    bool loading() const;
-
-    virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const;
-
-    QPointF mapToWebContent(const QPointF&) const;
-    QRectF mapRectToWebContent(const QRectF&) const;
-    QPointF mapFromWebContent(const QPointF&) const;
-    QRectF mapRectFromWebContent(const QRectF&) const;
-
-    QQuickWebPage* page();
-
-    QQuickWebViewExperimental* experimental() const;
-    static QQuickWebViewAttached* qmlAttachedProperties(QObject*);
-
-    static void platformInitialize(); // Only needed by WTR.
-
-    // Private C++-only API.
-    qreal zoomFactor() const;
-    void setZoomFactor(qreal);
-    void runJavaScriptInMainFrame(const QString& script, QObject* receiver, const char* method);
-    // Used to automatically accept the HTTPS certificate in WTR. No other use intended.
-    bool allowAnyHTTPSCertificateForLocalHost() const;
-    void setAllowAnyHTTPSCertificateForLocalHost(bool allow);
-
-public Q_SLOTS:
-    void loadHtml(const QString& html, const QUrl& baseUrl = QUrl(), const QUrl& unreachableUrl = QUrl());
-
-    void goBack();
-    void goForward();
-    void stop();
-    void reload();
-
-Q_SIGNALS:
-    void titleChanged();
-    void navigationHistoryChanged();
-    void loadingChanged(QWebLoadRequest* loadRequest);
-    void loadProgressChanged();
-    void urlChanged();
-    void iconChanged();
-    void linkHovered(const QUrl& hoveredUrl, const QString& hoveredTitle);
-    void navigationRequested(QWebNavigationRequest* request);
-
-protected:
-    virtual bool childMouseEventFilter(QQuickItem*, QEvent*);
-    virtual void geometryChanged(const QRectF&, const QRectF&);
-    virtual void componentComplete();
-    virtual void keyPressEvent(QKeyEvent*);
-    virtual void keyReleaseEvent(QKeyEvent*);
-    virtual void inputMethodEvent(QInputMethodEvent*);
-    virtual void focusInEvent(QFocusEvent*);
-    virtual void itemChange(ItemChange change, const ItemChangeData &value);
-    virtual void touchEvent(QTouchEvent*);
-    virtual void mousePressEvent(QMouseEvent*);
-    virtual void mouseMoveEvent(QMouseEvent*);
-    virtual void mouseReleaseEvent(QMouseEvent *);
-    virtual void mouseDoubleClickEvent(QMouseEvent*);
-    virtual void wheelEvent(QWheelEvent*);
-    virtual void hoverEnterEvent(QHoverEvent*);
-    virtual void hoverMoveEvent(QHoverEvent*);
-    virtual void hoverLeaveEvent(QHoverEvent*);
-    virtual void dragMoveEvent(QDragMoveEvent*);
-    virtual void dragEnterEvent(QDragEnterEvent*);
-    virtual void dragLeaveEvent(QDragLeaveEvent*);
-    virtual void dropEvent(QDropEvent*);
-    virtual bool event(QEvent*);
-
-private:
-    Q_DECLARE_PRIVATE(QQuickWebView)
-
-    void handleFlickableMousePress(const QPointF& position, qint64 eventTimestampMillis);
-    void handleFlickableMouseMove(const QPointF& position, qint64 eventTimestampMillis);
-    void handleFlickableMouseRelease(const QPointF& position, qint64 eventTimestampMillis);
-
-    QPointF contentPos() const;
-    void setContentPos(const QPointF&);
-
-    QQuickWebView(WKContextRef, WKPageGroupRef, QQuickItem* parent = 0);
-    WKPageRef pageRef() const;
-
-    void emitUrlChangeIfNeeded();
-
-    Q_PRIVATE_SLOT(d_func(), void _q_onVisibleChanged());
-    Q_PRIVATE_SLOT(d_func(), void _q_onUrlChanged());
-    Q_PRIVATE_SLOT(d_func(), void _q_onReceivedResponseFromDownload(QWebDownloadItem*));
-    Q_PRIVATE_SLOT(d_func(), void _q_onIconChangedForPageURL(const QString&));
-
-    // Hides QObject::d_ptr allowing us to use the convenience macros.
-    QScopedPointer<QQuickWebViewPrivate> d_ptr;
-
-    friend class QWebKitTest;
-    friend class WebKit::PageViewportControllerClientQt;
-    friend class WebKit::QtWebPagePolicyClient;
-    friend class WebKit::QtWebPageUIClient;
-    friend class WTR::PlatformWebView;
-    friend class TestWebKitAPI::PlatformWebView;
-    friend class QQuickWebViewExperimental;
-};
-
-QML_DECLARE_TYPE(QQuickWebView)
-
-class QWEBKIT_EXPORT QQuickWebViewAttached : public QObject {
-    Q_OBJECT
-    Q_PROPERTY(QQuickWebView* view READ view NOTIFY viewChanged FINAL)
-
-public:
-    QQuickWebViewAttached(QObject* object);
-    QQuickWebView* view() const { return m_view; }
-    void setView(QQuickWebView*);
-
-Q_SIGNALS:
-    void viewChanged();
-
-private:
-    QQuickWebView* m_view;
-};
-
-QML_DECLARE_TYPEINFO(QQuickWebView, QML_HAS_ATTACHED_PROPERTIES)
-
-class QWEBKIT_EXPORT QQuickWebViewExperimental : public QObject {
-    Q_OBJECT
-    Q_PROPERTY(QQuickWebPage* page READ page CONSTANT FINAL)
-
-    Q_PROPERTY(bool transparentBackground WRITE setTransparentBackground READ transparentBackground)
-    Q_PROPERTY(bool useDefaultContentItemSize WRITE setUseDefaultContentItemSize READ useDefaultContentItemSize)
-
-    Q_PROPERTY(int preferredMinimumContentsWidth WRITE setPreferredMinimumContentsWidth READ preferredMinimumContentsWidth NOTIFY preferredMinimumContentsWidthChanged)
-    Q_PROPERTY(int deviceWidth WRITE setDeviceWidth READ deviceWidth NOTIFY deviceWidthChanged)
-    Q_PROPERTY(int deviceHeight WRITE setDeviceHeight READ deviceHeight NOTIFY deviceHeightChanged)
-
-    Q_PROPERTY(QWebNavigationHistory* navigationHistory READ navigationHistory CONSTANT FINAL)
-
-    Q_PROPERTY(QQmlComponent* alertDialog READ alertDialog WRITE setAlertDialog NOTIFY alertDialogChanged)
-    Q_PROPERTY(QQmlComponent* confirmDialog READ confirmDialog WRITE setConfirmDialog NOTIFY confirmDialogChanged)
-    Q_PROPERTY(QQmlComponent* promptDialog READ promptDialog WRITE setPromptDialog NOTIFY promptDialogChanged)
-    Q_PROPERTY(QQmlComponent* authenticationDialog READ authenticationDialog WRITE setAuthenticationDialog NOTIFY authenticationDialogChanged)
-    Q_PROPERTY(QQmlComponent* proxyAuthenticationDialog READ proxyAuthenticationDialog WRITE setProxyAuthenticationDialog NOTIFY proxyAuthenticationDialogChanged)
-    Q_PROPERTY(QQmlComponent* certificateVerificationDialog READ certificateVerificationDialog WRITE setCertificateVerificationDialog NOTIFY certificateVerificationDialogChanged)
-    Q_PROPERTY(QQmlComponent* itemSelector READ itemSelector WRITE setItemSelector NOTIFY itemSelectorChanged)
-    Q_PROPERTY(QQmlComponent* filePicker READ filePicker WRITE setFilePicker NOTIFY filePickerChanged)
-    Q_PROPERTY(QQmlComponent* databaseQuotaDialog READ databaseQuotaDialog WRITE setDatabaseQuotaDialog NOTIFY databaseQuotaDialogChanged)
-    Q_PROPERTY(QQmlComponent* colorChooser READ colorChooser WRITE setColorChooser NOTIFY colorChooserChanged)
-
-    Q_PROPERTY(QWebPreferences* preferences READ preferences CONSTANT FINAL)
-    Q_PROPERTY(QWebKitTest* test READ test CONSTANT FINAL)
-    Q_PROPERTY(QQmlListProperty<QQuickUrlSchemeDelegate> urlSchemeDelegates READ schemeDelegates)
-    Q_PROPERTY(QString userAgent READ userAgent WRITE setUserAgent NOTIFY userAgentChanged)
-    Q_PROPERTY(QList<QUrl> userScripts READ userScripts WRITE setUserScripts NOTIFY userScriptsChanged)
-    Q_PROPERTY(QUrl remoteInspectorUrl READ remoteInspectorUrl NOTIFY remoteInspectorUrlChanged FINAL)
-    Q_ENUMS(NavigationRequestActionExperimental)
-    Q_FLAGS(FindFlags)
-
-public:
-    enum NavigationRequestActionExperimental {
-        DownloadRequest = QQuickWebView::IgnoreRequest - 1
-    };
-
-    enum FindFlag {
-        FindCaseSensitively = 1 << 0,
-        FindBackward = 1 << 1,
-        FindWrapsAroundDocument = 1 << 2,
-        FindHighlightAllOccurrences = 1 << 3
-    };
-    Q_DECLARE_FLAGS(FindFlags, FindFlag)
-
-    virtual ~QQuickWebViewExperimental();
-
-    QQmlComponent* alertDialog() const;
-    void setAlertDialog(QQmlComponent*);
-    QQmlComponent* confirmDialog() const;
-    void setConfirmDialog(QQmlComponent*);
-    QQmlComponent* promptDialog() const;
-    void setPromptDialog(QQmlComponent*);
-    QQmlComponent* authenticationDialog() const;
-    void setAuthenticationDialog(QQmlComponent*);
-    QQmlComponent* certificateVerificationDialog() const;
-    void setCertificateVerificationDialog(QQmlComponent*);
-    QQmlComponent* itemSelector() const;
-    void setItemSelector(QQmlComponent*);
-    QQmlComponent* proxyAuthenticationDialog() const;
-    void setProxyAuthenticationDialog(QQmlComponent*);
-    QQmlComponent* filePicker() const;
-    void setFilePicker(QQmlComponent*);
-    QQmlComponent* databaseQuotaDialog() const;
-    void setDatabaseQuotaDialog(QQmlComponent*);
-    QQmlComponent* colorChooser() const;
-    void setColorChooser(QQmlComponent*);
-    QString userAgent() const;
-    void setUserAgent(const QString& userAgent);
-    int deviceWidth() const;
-    void setDeviceWidth(int);
-    int deviceHeight() const;
-    void setDeviceHeight(int);
-    QList<QUrl> userScripts() const;
-    void setUserScripts(const QList<QUrl>& userScripts);
-    QUrl remoteInspectorUrl() const;
-
-    QWebKitTest* test();
-
-    QWebPreferences* preferences() const;
-    QWebNavigationHistory* navigationHistory() const;
-    QQuickWebPage* page();
-
-    static QQuickUrlSchemeDelegate* schemeDelegates_At(QQmlListProperty<QQuickUrlSchemeDelegate>*, int index);
-    static void schemeDelegates_Append(QQmlListProperty<QQuickUrlSchemeDelegate>*, QQuickUrlSchemeDelegate*);
-    static int schemeDelegates_Count(QQmlListProperty<QQuickUrlSchemeDelegate>*);
-    static void schemeDelegates_Clear(QQmlListProperty<QQuickUrlSchemeDelegate>*);
-    QQmlListProperty<QQuickUrlSchemeDelegate> schemeDelegates();
-    void invokeApplicationSchemeHandler(WTF::PassRefPtr<WebKit::QtRefCountedNetworkRequestData>);
-    void sendApplicationSchemeReply(QQuickNetworkReply*);
-
-    bool transparentBackground() const;
-    void setTransparentBackground(bool);
-
-    bool useDefaultContentItemSize() const;
-    void setUseDefaultContentItemSize(bool enable);
-
-    int preferredMinimumContentsWidth() const;
-    void setPreferredMinimumContentsWidth(int);
-
-    // C++ only
-    bool renderToOffscreenBuffer() const;
-    void setRenderToOffscreenBuffer(bool enable);
-    static void setFlickableViewportEnabled(bool enable);
-    static bool flickableViewportEnabled();
-
-public Q_SLOTS:
-    void goBackTo(int index);
-    void goForwardTo(int index);
-    void postMessage(const QString&);
-    void evaluateJavaScript(const QString& script, const QJSValue& value = QJSValue());
-    void findText(const QString& string, FindFlags options = 0);
-
-Q_SIGNALS:
-    void loadVisuallyCommitted();
-    void alertDialogChanged();
-    void confirmDialogChanged();
-    void promptDialogChanged();
-    void authenticationDialogChanged();
-    void certificateVerificationDialogChanged();
-    void itemSelectorChanged();
-    void filePickerChanged();
-    void databaseQuotaDialogChanged();
-    void colorChooserChanged();
-    void downloadRequested(QWebDownloadItem* downloadItem);
-    void permissionRequested(QWebPermissionRequest* permission);
-    void messageReceived(const QVariantMap& message);
-    void proxyAuthenticationDialogChanged();
-    void userAgentChanged();
-    void deviceWidthChanged();
-    void deviceHeightChanged();
-    void enterFullScreenRequested();
-    void exitFullScreenRequested();
-    void userScriptsChanged();
-    void preferredMinimumContentsWidthChanged();
-    void remoteInspectorUrlChanged();
-    void textFound(int matchCount);
-
-    void processDidCrash();
-    void didRelaunchProcess();
-    void processDidBecomeUnresponsive();
-    void processDidBecomeResponsive();
-
-private:
-    QQuickWebViewExperimental(QQuickWebView* webView, QQuickWebViewPrivate* webViewPrivate);
-    QQuickWebView* q_ptr;
-    QQuickWebViewPrivate* d_ptr;
-    QObject* schemeParent;
-    QWebKitTest* m_test;
-
-    friend class WebKit::QtWebPageUIClient;
-
-    Q_DECLARE_PRIVATE(QQuickWebView)
-    Q_DECLARE_PUBLIC(QQuickWebView)
-};
-
-Q_DECLARE_OPERATORS_FOR_FLAGS(QQuickWebViewExperimental::FindFlags)
-
-#endif // qquickwebview_p_h
diff --git a/Source/WebKit2/UIProcess/API/qt/qquickwebview_p_p.h b/Source/WebKit2/UIProcess/API/qt/qquickwebview_p_p.h
deleted file mode 100644 (file)
index 80276ac..0000000
+++ /dev/null
@@ -1,255 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qquickwebview_p_p_h
-#define qquickwebview_p_p_h
-
-#include "DefaultUndoController.h"
-#include "PageViewportController.h"
-#include "PageViewportControllerClient.h"
-#include "QtPageClient.h"
-#include "QtWebPageUIClient.h"
-
-#include "qquickwebview_p.h"
-#include "qquickwebpage_p.h"
-#include <QtCore/QElapsedTimer>
-#include <QtCore/QObject>
-#include <QtCore/QScopedPointer>
-#include <WebCore/ViewportArguments.h>
-#include <WebKit2/WKRetainPtr.h>
-#include <wtf/OwnPtr.h>
-#include <wtf/RefPtr.h>
-
-namespace WebCore {
-class CoordinatedGraphicsScene;
-}
-
-namespace WebKit {
-class DownloadProxy;
-class DrawingAreaProxy;
-class QtDialogRunner;
-class PageViewportControllerClientQt;
-class QtWebContext;
-class QtWebError;
-class QtWebPageEventHandler;
-class QtWebPagePolicyClient;
-class WebPageProxy;
-}
-
-class QWebNavigationHistory;
-class QWebKitTest;
-
-QT_BEGIN_NAMESPACE
-class QQmlComponent;
-QT_END_NAMESPACE
-
-class QQuickWebViewPrivate {
-    Q_DECLARE_PUBLIC(QQuickWebView)
-    friend class WebKit::QtDialogRunner;
-    friend class QQuickWebViewExperimental;
-    friend class QQuickWebPage;
-    friend class QWebPreferencesPrivate;
-    friend class QWebKitTest;
-
-public:
-    static QQuickWebViewPrivate* get(QQuickWebView* q) { return q->d_ptr.data(); }
-    static QQuickWebViewPrivate* get(WKPageRef);
-
-    virtual ~QQuickWebViewPrivate();
-
-    virtual void initialize(WKContextRef contextRef = 0, WKPageGroupRef pageGroupRef = 0);
-
-    virtual void onComponentComplete() { }
-
-    virtual void loadProgressDidChange(int loadProgress);
-    virtual void handleMouseEvent(QMouseEvent*);
-
-    static void didFindString(WKPageRef page, WKStringRef string, unsigned matchCount, const void* clientInfo);
-    static void didFailToFindString(WKPageRef page, WKStringRef string, const void* clientInfo);
-
-    virtual void didChangeViewportProperties(const WebCore::ViewportAttributes& attr) { }
-
-    int loadProgress() const { return m_loadProgress; }
-    void setNeedsDisplay();
-    void didRenderFrame();
-
-    virtual WebKit::PageViewportController* viewportController() const { return 0; }
-    virtual void updateViewportSize() { }
-    void updateTouchViewportSize();
-
-    virtual qreal zoomFactor() const { return 1; }
-    virtual void setZoomFactor(qreal) { }
-
-    void _q_onVisibleChanged();
-    void _q_onUrlChanged();
-    void _q_onReceivedResponseFromDownload(QWebDownloadItem*);
-    void _q_onIconChangedForPageURL(const QString&);
-
-    void chooseFiles(WKOpenPanelResultListenerRef, const QStringList& selectedFileNames, WebKit::QtWebPageUIClient::FileChooserType);
-    quint64 exceededDatabaseQuota(const QString& databaseName, const QString& displayName, WKSecurityOriginRef securityOrigin, quint64 currentQuota, quint64 currentOriginUsage, quint64 currentDatabaseUsage, quint64 expectedUsage);
-    void runJavaScriptAlert(const QString&);
-    bool runJavaScriptConfirm(const QString&);
-    QString runJavaScriptPrompt(const QString&, const QString& defaultValue, bool& ok);
-
-    void handleAuthenticationRequiredRequest(const QString& hostname, const QString& realm, const QString& prefilledUsername, QString& username, QString& password);
-    bool handleCertificateVerificationRequest(const QString& hostname);
-    void handleProxyAuthenticationRequiredRequest(const QString& hostname, uint16_t port, const QString& prefilledUsername, QString& username, QString& password);
-
-    void setRenderToOffscreenBuffer(bool enable) { m_renderToOffscreenBuffer = enable; }
-    void setTransparentBackground(bool);
-    void addAttachedPropertyTo(QObject*);
-
-    bool navigatorQtObjectEnabled() const;
-    bool renderToOffscreenBuffer() const { return m_renderToOffscreenBuffer; }
-    bool transparentBackground() const;
-    void setNavigatorQtObjectEnabled(bool);
-    void updateUserScripts();
-    void updateSchemeDelegates();
-
-    QPointF contentPos() const;
-    void setContentPos(const QPointF&);
-
-    void updateIcon();
-
-    // PageClient.
-    WebCore::IntSize viewSize() const;
-    virtual void pageDidRequestScroll(const QPoint& pos) { }
-    void processDidCrash();
-    void didRelaunchProcess();
-    std::unique_ptr<WebKit::DrawingAreaProxy> createDrawingAreaProxy();
-    void handleDownloadRequest(WebKit::DownloadProxy*);
-
-    void didReceiveMessageFromNavigatorQtObject(WKStringRef message);
-
-    WebCore::CoordinatedGraphicsScene* coordinatedGraphicsScene();
-    float deviceScaleFactor();
-    void setIntrinsicDeviceScaleFactor(float);
-
-protected:
-    class FlickableAxisLocker {
-        QQuickFlickable::FlickableDirection m_allowedDirection;
-
-        ulong m_time;
-        QPointF m_initialPosition;
-        QPointF m_lockReferencePosition;
-        int m_sampleCount;
-
-        QVector2D touchVelocity(const QTouchEvent* event);
-
-    public:
-        FlickableAxisLocker();
-
-        void update(const QTouchEvent* event);
-        void setReferencePosition(const QPointF&);
-        void reset();
-        QPointF adjust(const QPointF&);
-    };
-
-    // WKPageLoadClient callbacks.
-    static void didStartProvisionalLoadForFrame(WKPageRef, WKFrameRef, WKTypeRef userData, const void* clientInfo);
-    static void didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef, WKFrameRef, WKTypeRef userData, const void* clientInfo);
-    static void didFailLoad(WKPageRef, WKFrameRef, WKErrorRef, WKTypeRef userData, const void* clientInfo);
-    static void didCommitLoadForFrame(WKPageRef, WKFrameRef, WKTypeRef userData, const void* clientInfo);
-    static void didFinishLoadForFrame(WKPageRef, WKFrameRef, WKTypeRef userData, const void* clientInfo);
-    static void didSameDocumentNavigationForFrame(WKPageRef, WKFrameRef, WKSameDocumentNavigationType, WKTypeRef userData, const void* clientInfo);
-    static void didReceiveTitleForFrame(WKPageRef, WKStringRef, WKFrameRef, WKTypeRef userData, const void* clientInfo);
-    static void didStartProgress(WKPageRef, const void* clientInfo);
-    static void didChangeProgress(WKPageRef, const void* clientInfo);
-    static void didFinishProgress(WKPageRef, const void* clientInfo);
-    static void didChangeBackForwardList(WKPageRef, WKBackForwardListItemRef, WKArrayRef, const void *clientInfo);
-    static void processDidBecomeUnresponsive(WKPageRef, const void* clientInfo);
-    static void processDidBecomeResponsive(WKPageRef, const void* clientInfo);
-
-    QQuickWebViewPrivate(QQuickWebView* viewport);
-    RefPtr<WebKit::WebPageProxy> webPageProxy;
-    WKRetainPtr<WKPageRef> webPage;
-    WKRetainPtr<WKPageGroupRef> pageGroup;
-
-    WebKit::QtPageClient pageClient;
-    WebKit::DefaultUndoController undoController;
-    OwnPtr<QWebNavigationHistory> navigationHistory;
-    OwnPtr<QWebPreferences> preferences;
-
-    QScopedPointer<WebKit::QtWebPagePolicyClient> pagePolicyClient;
-    QScopedPointer<WebKit::QtWebPageUIClient> pageUIClient;
-
-    QScopedPointer<QQuickWebPage> pageView;
-    QScopedPointer<WebKit::QtWebPageEventHandler> pageEventHandler;
-    QQuickWebView* q_ptr;
-    QQuickWebViewExperimental* experimental;
-    WebKit::QtWebContext* context;
-
-    FlickableAxisLocker axisLocker;
-
-    QQmlComponent* alertDialog;
-    QQmlComponent* confirmDialog;
-    QQmlComponent* promptDialog;
-    QQmlComponent* authenticationDialog;
-    QQmlComponent* certificateVerificationDialog;
-    QQmlComponent* itemSelector;
-    QQmlComponent* proxyAuthenticationDialog;
-    QQmlComponent* filePicker;
-    QQmlComponent* databaseQuotaDialog;
-    QQmlComponent* colorChooser;
-
-    QList<QUrl> userScripts;
-
-    bool m_betweenLoadCommitAndFirstFrame;
-    bool m_useDefaultContentItemSize;
-    bool m_navigatorQtObjectEnabled;
-    bool m_renderToOffscreenBuffer;
-    bool m_allowAnyHTTPSCertificateForLocalHost;
-    QUrl m_iconUrl;
-    int m_loadProgress;
-    QString m_currentUrl;
-};
-
-class QQuickWebViewLegacyPrivate : public QQuickWebViewPrivate {
-    Q_DECLARE_PUBLIC(QQuickWebView)
-public:
-    QQuickWebViewLegacyPrivate(QQuickWebView* viewport);
-    virtual void initialize(WKContextRef contextRef = 0, WKPageGroupRef pageGroupRef = 0);
-
-    virtual void updateViewportSize();
-
-    qreal zoomFactor() const;
-    void setZoomFactor(qreal);
-};
-
-class QQuickWebViewFlickablePrivate : public QQuickWebViewPrivate {
-    Q_DECLARE_PUBLIC(QQuickWebView)
-public:
-    QQuickWebViewFlickablePrivate(QQuickWebView* viewport);
-    virtual void initialize(WKContextRef contextRef = 0, WKPageGroupRef pageGroupRef = 0);
-
-    virtual void onComponentComplete();
-
-    virtual void didChangeViewportProperties(const WebCore::ViewportAttributes&);
-    virtual WebKit::PageViewportController* viewportController() const { return m_pageViewportController.data(); }
-    virtual void updateViewportSize();
-
-    virtual void pageDidRequestScroll(const QPoint& pos);
-
-private:
-    QScopedPointer<WebKit::PageViewportController> m_pageViewportController;
-    QScopedPointer<WebKit::PageViewportControllerClientQt> m_pageViewportControllerClient;
-};
-
-#endif // qquickwebview_p_p_h
diff --git a/Source/WebKit2/UIProcess/API/qt/qtwebsecurityorigin.cpp b/Source/WebKit2/UIProcess/API/qt/qtwebsecurityorigin.cpp
deleted file mode 100644 (file)
index 4491dc4..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
-    Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "qtwebsecurityorigin_p.h"
-
-#include <QtCore/QFileInfo>
-#include <QtCore/QStringList>
-#include <SchemeRegistry.h>
-#include <SecurityOrigin.h>
-#include <WebKit2/WKBase.h>
-#include <WebKit2/WKRetainPtr.h>
-#include <WebKit2/WKSecurityOrigin.h>
-
-using namespace WebCore;
-
-QtWebSecurityOrigin::QtWebSecurityOrigin(QObject* parent)
-    : QObject(parent)
-{
-}
-
-QtWebSecurityOrigin::~QtWebSecurityOrigin()
-{
-}
-
-QString QtWebSecurityOrigin::host() const
-{
-    return m_url.host();
-}
-
-QString QtWebSecurityOrigin::scheme() const
-{
-    return m_url.scheme();
-}
-
-QString QtWebSecurityOrigin::path() const
-{
-    return m_url.path();
-}
-
-int QtWebSecurityOrigin::port() const
-{
-    return m_url.port();
-}
diff --git a/Source/WebKit2/UIProcess/API/qt/qtwebsecurityorigin_p.h b/Source/WebKit2/UIProcess/API/qt/qtwebsecurityorigin_p.h
deleted file mode 100644 (file)
index df09fb8..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-    Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-#ifndef qtwebsecurityorigin_p_h
-#define qtwebsecurityorigin_p_h
-
-#include "qwebkitglobal.h"
-
-#include <QtCore/QDataStream>
-#include <QtCore/QObject>
-#include <QtCore/QString>
-#include <QtCore/QUrl>
-#include <QtCore/qshareddata.h>
-
-class QWEBKIT_EXPORT QtWebSecurityOrigin : public QObject {
-    Q_OBJECT
-    Q_PROPERTY(QString scheme READ scheme CONSTANT)
-    Q_PROPERTY(QString host READ host CONSTANT)
-    Q_PROPERTY(int port READ port CONSTANT)
-    Q_PROPERTY(QString path READ path CONSTANT)
-
-public:
-    QtWebSecurityOrigin(QObject* parent = 0);
-    virtual ~QtWebSecurityOrigin();
-
-    QString scheme() const;
-    QString host() const;
-    int port() const;
-    QString path() const;
-
-    // Used to set security information in a permission request event (e.g.
-    // geolocation permission)
-    void setScheme(const QString& scheme) { m_url.setScheme(scheme); }
-    void setHost(const QString& host) { m_url.setHost(host); }
-    void setPath(const QString& path) { m_url.setPath(path); }
-    void setPort(int port) { m_url.setPort(port); }
-
-private:
-    QUrl m_url;
-};
-
-#endif // qtwebsecurityorigin_p_h
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebdownloaditem.cpp b/Source/WebKit2/UIProcess/API/qt/qwebdownloaditem.cpp
deleted file mode 100644 (file)
index 8547643..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "qwebdownloaditem_p.h"
-
-#include "DownloadProxy.h"
-#include "qwebdownloaditem_p_p.h"
-
-QWebDownloadItemPrivate::QWebDownloadItemPrivate(QWebDownloadItem* qq)
-    : q(qq)
-    , downloadProxy(0)
-    , expectedContentLength(0)
-    , totalBytesReceived(0)
-{
-}
-
-QWebDownloadItem::QWebDownloadItem(QObject* parent)
-    : QObject(parent)
-    , d(new QWebDownloadItemPrivate(this))
-{
-}
-
-QWebDownloadItem::~QWebDownloadItem()
-{
-    delete d;
-}
-
-QUrl QWebDownloadItem::url() const
-{
-    return d->sourceUrl;
-}
-
-QString QWebDownloadItem::destinationPath() const
-{
-    return d->destinationPath;
-}
-
-void QWebDownloadItem::setDestinationPath(const QString& destination)
-{
-    d->destinationPath = destination;
-}
-
-QString QWebDownloadItem::suggestedFilename() const
-{
-    return d->suggestedFilename;
-}
-
-QString QWebDownloadItem::mimeType() const
-{
-    return d->mimeType;
-}
-
-quint64 QWebDownloadItem::expectedContentLength() const
-{
-    return d->expectedContentLength;
-}
-
-quint64 QWebDownloadItem::totalBytesReceived() const
-{
-    return d->totalBytesReceived;
-}
-
-void QWebDownloadItem::cancel()
-{
-    ASSERT(d->downloadProxy);
-    d->downloadProxy->cancel();
-}
-
-void QWebDownloadItem::start()
-{
-    ASSERT(!d->suggestedFilename.isEmpty());
-
-    if (d->destinationPath.isEmpty())
-        d->destinationPath = d->suggestedFilename;
-
-    d->downloadProxy->startTransfer(d->destinationPath);
-}
-
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebdownloaditem_p.h b/Source/WebKit2/UIProcess/API/qt/qwebdownloaditem_p.h
deleted file mode 100644 (file)
index 69bb3df..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qwebdownloaditem_p_h
-#define qwebdownloaditem_p_h
-
-#include "qwebkitglobal.h"
-#include <QObject>
-#include <QUrl>
-
-class QWebDownloadItemPrivate;
-
-QT_BEGIN_NAMESPACE
-class QString;
-QT_END_NAMESPACE
-
-namespace WebKit {
-class QtDownloadManager;
-class QtWebError;
-}
-
-class QWEBKIT_EXPORT QWebDownloadItem : public QObject {
-    Q_OBJECT
-    Q_PROPERTY(quint64 expectedContentLength READ expectedContentLength CONSTANT FINAL)
-    Q_PROPERTY(QString destinationPath READ destinationPath WRITE setDestinationPath)
-    Q_PROPERTY(QString suggestedFilename READ suggestedFilename CONSTANT FINAL)
-    Q_PROPERTY(quint64 totalBytesReceived READ totalBytesReceived NOTIFY totalBytesReceivedChanged FINAL)
-    Q_PROPERTY(QUrl url READ url CONSTANT FINAL)
-    Q_ENUMS(DownloadError)
-public:
-    virtual ~QWebDownloadItem();
-
-    enum DownloadError {
-        Aborted = 0,
-        CannotWriteToFile,
-        CannotOpenFile,
-        DestinationAlreadyExists,
-        Cancelled,
-        CannotDetermineFilename,
-        NetworkFailure
-    };
-
-    QUrl url() const;
-    QString destinationPath() const;
-    QString suggestedFilename() const;
-    QString mimeType() const;
-    quint64 expectedContentLength() const;
-    quint64 totalBytesReceived() const;
-    void setDestinationPath(const QString& destination);
-
-public Q_SLOTS:
-    void start();
-    void cancel();
-
-Q_SIGNALS:
-    void destinationFileCreated(const QString& destinationPath);
-    void totalBytesReceivedChanged(quint64 bytesReceived);
-    void succeeded();
-    void failed(QWebDownloadItem::DownloadError error, const QUrl& url, const QString& description);
-
-private:
-    QWebDownloadItem(QObject* parent = 0);
-    QWebDownloadItemPrivate* d;
-
-    friend class WebKit::QtDownloadManager;
-    friend class QQuickWebViewPrivate;
-};
-
-#endif // qwebdownloaditem_p_h
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebdownloaditem_p_p.h b/Source/WebKit2/UIProcess/API/qt/qwebdownloaditem_p_p.h
deleted file mode 100644 (file)
index 780848b..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-    Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-
-#ifndef qwebdownloaditem_p_p_h
-#define qwebdownloaditem_p_p_h
-
-#include "qwebdownloaditem_p.h"
-#include <QUrl>
-
-namespace WebKit {
-class DownloadProxy;
-}
-
-class QWebDownloadItemPrivate : public QObject {
-    Q_OBJECT
-public:
-    QWebDownloadItemPrivate(QWebDownloadItem*);
-
-    void didReceiveResponse(QWebDownloadItem* download) { emit receivedResponse(download); }
-
-    QWebDownloadItem* q;
-
-    WebKit::DownloadProxy* downloadProxy;
-
-    QUrl sourceUrl;
-    QString suggestedFilename;
-    QString destinationPath;
-    QString mimeType;
-    quint64 expectedContentLength;
-    quint64 totalBytesReceived;
-
-Q_SIGNALS:
-    void receivedResponse(QWebDownloadItem*);
-};
-
-#endif // qwebdownloaditem_p_p_h
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider.cpp b/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider.cpp
deleted file mode 100644 (file)
index 00ec6bc..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-    Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include "config.h"
-#include "qwebiconimageprovider_p.h"
-
-#include "QtWebContext.h"
-#include "QtWebIconDatabaseClient.h"
-#include <QtCore/QUrl>
-#include <QtGui/QImage>
-
-using namespace WebKit;
-
-QWebIconImageProvider::QWebIconImageProvider()
-    : QQuickImageProvider(QQuickImageProvider::Image)
-{
-}
-
-QWebIconImageProvider::~QWebIconImageProvider()
-{
-}
-
-QUrl QWebIconImageProvider::iconURLForPageURLInContext(const QString &pageURL, QtWebContext* context)
-{
-    QtWebIconDatabaseClient* iconDatabase = context->iconDatabase();
-
-    // Verify that the image data is actually available before reporting back
-    // a url, since clients assume that the url can be used directly.
-    if (iconDatabase->iconImageForPageURL(pageURL).isNull())
-        return QUrl();
-
-    QUrl url;
-    url.setScheme(QStringLiteral("image"));
-    url.setHost(QWebIconImageProvider::identifier());
-    // Make sure that QML doesn't show a cached previous version of the icon after it changed.
-    url.setPath(QStringLiteral("/%1").arg(QtWebIconDatabaseClient::updateID()));
-
-    // FIXME: Use QUrl::DecodedMode when landed in Qt
-    url.setFragment(QString::fromLatin1(pageURL.toUtf8().toBase64()));
-
-    // FIXME: We can't know when the icon url is no longer in use,
-    // so we never release these icons. At some point we might want
-    // to introduce expiry of icons to elevate this issue.
-    iconDatabase->retainIconForPageURL(pageURL);
-
-    return url;
-}
-
-QImage QWebIconImageProvider::requestImage(const QString& id, QSize* size, const QSize& requestedSize)
-{
-    QString pageURL = QString::fromUtf8(QByteArray::fromBase64(id.midRef(id.indexOf('#') + 1).toLatin1()));
-
-    QtWebIconDatabaseClient* iconDatabase = QtWebContext::defaultContext()->iconDatabase();
-    Q_ASSERT(iconDatabase);
-
-    QImage icon = iconDatabase->iconImageForPageURL(pageURL);
-    Q_ASSERT(!icon.isNull());
-
-    if (size)
-        *size = icon.size();
-
-    if (requestedSize.isValid())
-        return icon.scaled(requestedSize, Qt::KeepAspectRatio, Qt::SmoothTransformation);
-
-    return icon;
-}
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider_p.h b/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider_p.h
deleted file mode 100644 (file)
index 10b2f69..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-    Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#ifndef qwebiconimageprovider_p_h
-#define qwebiconimageprovider_p_h
-
-#include "qwebkitglobal.h"
-#include <QString>
-#include <QtQuick/QQuickImageProvider>
-
-namespace WebKit {
-    class QtWebContext;
-}
-
-class QWEBKIT_EXPORT QWebIconImageProvider : public QQuickImageProvider {
-public:
-    QWebIconImageProvider();
-    ~QWebIconImageProvider();
-
-    static QString identifier() { return QStringLiteral("webicon"); }
-
-    QUrl iconURLForPageURLInContext(const QString& pageURL, WebKit::QtWebContext* context);
-    virtual QImage requestImage(const QString& id, QSize* size, const QSize& requestedSize);
-};
-
-#endif
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp b/Source/WebKit2/UIProcess/API/qt/qwebkittest.cpp
deleted file mode 100644 (file)
index 20cfa38..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "qwebkittest_p.h"
-
-#include "PageViewportControllerClientQt.h"
-#include "qquickwebview_p_p.h"
-#include <QMutableListIterator>
-#include <QTouchEvent>
-#include <QWheelEvent>
-#include <qpa/qwindowsysteminterface.h>
-
-using namespace WebKit;
-
-QWebKitTest::QWebKitTest(QQuickWebViewPrivate* webViewPrivate, QObject* parent)
-    : QObject(parent)
-    , m_webViewPrivate(webViewPrivate)
-{
-}
-
-QWebKitTest::~QWebKitTest()
-{
-}
-
-static QTouchEvent::TouchPoint touchPoint(qreal x, qreal y)
-{
-    QPointF localPos(x, y);
-
-    QTouchEvent::TouchPoint point;
-    point.setId(1);
-    point.setLastPos(localPos);
-    QRectF touchRect(0, 0, 40, 40);
-    touchRect.moveCenter(localPos);
-    point.setRect(touchRect);
-    point.setPressure(1);
-
-    return point;
-}
-
-bool QWebKitTest::sendTouchEvent(QQuickWebView* window, QEvent::Type type, const QList<QTouchEvent::TouchPoint>& points, ulong timestamp)
-{
-    ASSERT(window);
-
-    static QTouchDevice* device = 0;
-    if (!device) {
-        device = new QTouchDevice;
-        device->setType(QTouchDevice::TouchScreen);
-        QWindowSystemInterface::registerTouchDevice(device);
-    }
-
-    Qt::TouchPointStates touchPointStates = 0;
-    foreach (const QTouchEvent::TouchPoint& touchPoint, points)
-        touchPointStates |= touchPoint.state();
-
-    QTouchEvent event(type, device, Qt::NoModifier, touchPointStates, points);
-    event.setTimestamp(timestamp);
-    event.setAccepted(false);
-
-    window->touchEvent(&event);
-
-    return event.isAccepted();
-}
-
-bool QWebKitTest::touchTap(QObject* item, qreal x, qreal y, int delay)
-{
-    QQuickWebView* window = qobject_cast<QQuickWebView*>(item);
-
-    if (!window) {
-        qWarning("Touch event \"TouchBegin\" not accepted by receiving item");
-        return false;
-    }
-
-    // FIXME: implement delay using QTest::qWait() or similar.
-    Q_UNUSED(delay);
-
-    QList<QTouchEvent::TouchPoint> points;
-    points.append(touchPoint(x, y));
-
-    points[0].setState(Qt::TouchPointPressed);
-    sendTouchEvent(window, QEvent::TouchBegin, points, QDateTime::currentMSecsSinceEpoch());
-
-    points[0].setState(Qt::TouchPointReleased);
-    sendTouchEvent(window, QEvent::TouchEnd, points, QDateTime::currentMSecsSinceEpoch());
-
-    return true;
-}
-
-bool QWebKitTest::touchDoubleTap(QObject* item, qreal x, qreal y, int delay)
-{
-    if (!touchTap(item, x, y, delay))
-        return false;
-
-    if (!touchTap(item, x, y, delay))
-        return false;
-
-    return true;
-}
-
-bool QWebKitTest::wheelEvent(QObject* item, qreal x, qreal y, int delta, Qt::Orientation orient)
-{
-    QQuickWebView* window = qobject_cast<QQuickWebView*>(item);
-
-    if (!window) {
-        qWarning("Wheel event not accepted by receiving item");
-        return false;
-    }
-
-    QWheelEvent event(QPointF(x, y), delta, Qt::NoButton, Qt::NoModifier, orient);
-    event.setTimestamp(QDateTime::currentMSecsSinceEpoch());
-    event.setAccepted(false);
-
-    window->wheelEvent(&event);
-
-    return event.isAccepted();
-}
-
-QSize QWebKitTest::contentsSize() const
-{
-    return QSize(m_webViewPrivate->pageView->contentsSize().toSize());
-}
-
-static inline QJsonObject toJsonObject(const QSizeF& sizeF)
-{
-    QJsonObject result;
-    result.insert(QLatin1String("width"), sizeF.width());
-    result.insert(QLatin1String("height"), sizeF.height());
-    return result;
-}
-
-QJsonObject QWebKitTest::viewport() const
-{
-    QJsonObject viewportData;
-    if (const PageViewportController* const viewportHandler = m_webViewPrivate->viewportController()) {
-        viewportData.insert(QLatin1String("layoutSize"), toJsonObject(viewportHandler->contentsLayoutSize()));
-        viewportData.insert(QLatin1String("isScalable"), viewportHandler->allowsUserScaling());
-        viewportData.insert(QLatin1String("minimumScale"), viewportHandler->minimumScale());
-        viewportData.insert(QLatin1String("maximumScale"), viewportHandler->maximumScale());
-    } else {
-        viewportData.insert(QLatin1String("initialScale"), 1.0);
-        viewportData.insert(QLatin1String("layoutSize"), toJsonObject(QSizeF()));
-        viewportData.insert(QLatin1String("isScalable"), false);
-        viewportData.insert(QLatin1String("minimumScale"), 1.0);
-        viewportData.insert(QLatin1String("maximumScale"), 1.0);
-    }
-    return viewportData;
-}
-
-QVariant QWebKitTest::devicePixelRatio() const
-{
-    if (const PageViewportController* const viewport = m_webViewPrivate->viewportController())
-        return viewport->deviceScaleFactor();
-    return 1.0;
-}
-
-QVariant QWebKitTest::contentsScale() const
-{
-    if (const PageViewportController* const viewport = m_webViewPrivate->viewportController())
-        return viewport->currentScale();
-    return 1.0;
-}
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebkittest_p.h b/Source/WebKit2/UIProcess/API/qt/qwebkittest_p.h
deleted file mode 100644 (file)
index 5cbdddd..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef qwebkittest_p_h
-#define qwebkittest_p_h
-
-#include "qwebkitglobal.h"
-#include "qquickwebview_p.h"
-
-#include <QtCore/QJsonObject>
-#include <QtCore/QObject>
-#include <QtCore/QPointer>
-#include <QtCore/QSize>
-#include <QtCore/QVariant>
-#include <QtQuick/qquickitem.h>
-
-class QQuickWebViewPrivate;
-
-class QWEBKIT_EXPORT QWebKitTest : public QObject {
-    Q_OBJECT
-
-    Q_PROPERTY(QSize contentsSize READ contentsSize NOTIFY contentsSizeChanged)
-
-    Q_PROPERTY(QVariant contentsScale READ contentsScale NOTIFY contentsScaleChanged)
-
-    Q_PROPERTY(QVariant devicePixelRatio READ devicePixelRatio NOTIFY devicePixelRatioChanged)
-    Q_PROPERTY(QJsonObject viewport READ viewport NOTIFY viewportChanged)
-
-Q_SIGNALS:
-    void contentsSizeChanged();
-    void contentsScaleChanged();
-    void contentsScaleCommitted();
-    void devicePixelRatioChanged();
-    void viewportChanged();
-
-public Q_SLOTS:
-    bool touchTap(QObject* item, qreal x, qreal y, int delay = -1);
-    bool touchDoubleTap(QObject* item, qreal x, qreal y, int delay = -1);
-    bool wheelEvent(QObject* item, qreal x, qreal y, int delta, Qt::Orientation orient = Qt::Vertical);
-
-public:
-    QWebKitTest(QQuickWebViewPrivate* webviewPrivate, QObject* parent = 0);
-    virtual ~QWebKitTest();
-
-    bool sendTouchEvent(QQuickWebView* window, QEvent::Type type, const QList<QTouchEvent::TouchPoint>& points, ulong timestamp);
-
-    QSize contentsSize() const;
-    QVariant contentsScale() const;
-
-    QVariant devicePixelRatio() const;
-    QJsonObject viewport() const;
-
-private:
-    QQuickWebViewPrivate* m_webViewPrivate;
-};
-
-#endif // qwebkittest_p
diff --git a/Source/WebKit2/UIProcess/API/qt/qwebloadrequest.cpp b/Source/WebKit2/UIProcess/API/qt/qwebloadrequest.cpp
deleted file mode 100644 (file)
index eebf20d..0000000
+++ /dev/null<