# -------------------------------------------------------------------
TEMPLATE = lib
+TARGET = WebKit2
-DEFINES += BUILDING_WebKit2
+load(features)
-load(wtf)
-load(javascriptcore)
-load(webcore)
-load(webkit2)
+include(WebKit2.pri)
-CONFIG += staticlib
+WEBKIT += wtf javascriptcore webcore
+QT += qml quick quick-private
-TARGET = $$WEBKIT2_TARGET
-DESTDIR = $$WEBKIT2_DESTDIR
+CONFIG += staticlib
-QT += declarative
+RESOURCES += $$PWD/WebKit2.qrc
HEADERS += \
Platform/CoreIPC/ArgumentDecoder.h \
Platform/Logging.h \
Platform/Module.h \
Platform/PlatformProcessIdentifier.h \
- Platform/RunLoop.h \
Platform/SharedMemory.h \
Platform/WorkQueue.h \
PluginProcess/PluginControllerProxy.h \
+ PluginProcess/PluginCreationParameters.h \
PluginProcess/PluginProcess.h \
PluginProcess/WebProcessConnection.h \
Shared/API/c/WKBase.h \
Shared/API/c/WKMutableDictionary.h \
Shared/API/c/WKNumber.h \
Shared/API/c/WKPageLoadTypes.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/qt/WKImageQt.h \
Shared/APIClientTraits.h \
Shared/ShareableBitmap.h \
+ Shared/ShareableSurface.h \
Shared/CacheModel.h \
Shared/ChildProcess.h \
Shared/DictionaryPopupInfo.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/StringPairVector.h \
+ Shared/SurfaceUpdateInfo.h \
Shared/UpdateInfo.h \
Shared/UserMessageCoders.h \
Shared/VisitedLinkTable.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/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/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_p.h \
UIProcess/API/qt/qquickwebview_p.h \
UIProcess/API/qt/qquickwebview_p_p.h \
- UIProcess/API/qt/qwebviewportinfo_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/Authentication/AuthenticationChallengeProxy.h \
UIProcess/Authentication/AuthenticationDecisionListener.h \
UIProcess/Authentication/WebCredential.h \
UIProcess/ProcessModel.h \
UIProcess/ResponsivenessTimer.h \
UIProcess/TextChecker.h \
- UIProcess/TiledDrawingAreaProxy.h \
UIProcess/VisitedLinkProvider.h \
UIProcess/WebApplicationCacheManagerProxy.h \
UIProcess/WebBackForwardList.h \
+ UIProcess/WebColorChooserProxy.h \
UIProcess/WebConnectionToWebProcess.h \
UIProcess/WebContext.h \
UIProcess/WebContextConnectionClient.h \
UIProcess/WebIconDatabaseClient.h \
UIProcess/WebInspectorProxy.h \
UIProcess/WebKeyValueStorageManagerProxy.h \
+ UIProcess/WebLayerTreeRenderer.h \
UIProcess/WebLoaderClient.h \
UIProcess/WebMediaCacheManagerProxy.h \
UIProcess/WebNavigationData.h \
UIProcess/WebResourceCacheManagerProxy.h \
UIProcess/WebResourceLoadClient.h \
UIProcess/WebUIClient.h \
+ UIProcess/qt/LayerBackingStore.h \
UIProcess/qt/QtWebContext.h \
UIProcess/qt/QtWebPageEventHandler.h \
UIProcess/qt/QtGestureRecognizer.h \
UIProcess/qt/QtPageClient.h \
UIProcess/qt/QtWebPageLoadClient.h \
UIProcess/qt/QtWebPagePolicyClient.h \
+ UIProcess/qt/QtWebPageSGNode.h \
UIProcess/qt/QtWebPageUIClient.h \
- UIProcess/qt/QtSGUpdateQueue.h \
- UIProcess/qt/QtSGTileNode.h \
UIProcess/qt/QtViewportInteractionEngine.h \
UIProcess/qt/QtWebUndoController.h \
UIProcess/qt/QtWebIconDatabaseClient.h \
WebProcess/Downloads/DownloadManager.h \
WebProcess/Downloads/qt/QtFileDownloader.h \
WebProcess/FullScreen/WebFullScreenManager.h \
- WebProcess/FullScreen/qt/WebFullScreenManagerQt.h \
WebProcess/Geolocation/GeolocationPermissionRequestManager.h \
WebProcess/Geolocation/WebGeolocationManager.h \
WebProcess/IconDatabase/WebIconDatabaseProxy.h \
WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h \
WebProcess/InjectedBundle/InjectedBundle.h \
WebProcess/InjectedBundle/InjectedBundleClient.h \
+ WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h \
WebProcess/InjectedBundle/InjectedBundleHitTestResult.h \
WebProcess/InjectedBundle/InjectedBundleNavigationAction.h \
WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.h \
WebProcess/Plugins/Netscape/NPJSObject.h \
WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h \
WebProcess/Plugins/Netscape/NPRuntimeUtilities.h \
- WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp \
+ WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h \
WebProcess/Plugins/Netscape/NetscapePlugin.h \
WebProcess/Plugins/Netscape/NetscapePluginStream.h \
WebProcess/Plugins/Plugin.h \
WebProcess/Plugins/PluginProcessConnection.h \
WebProcess/Plugins/PluginProcessConnectionManager.h \
WebProcess/WebCoreSupport/WebChromeClient.h \
+ WebProcess/WebCoreSupport/WebColorChooser.h \
WebProcess/WebCoreSupport/WebContextMenuClient.h \
WebProcess/WebCoreSupport/WebDatabaseManager.h \
WebProcess/WebCoreSupport/WebDragClient.h \
WebProcess/WebPage/DrawingAreaImpl.h \
WebProcess/WebPage/EventDispatcher.h \
WebProcess/WebPage/FindController.h \
+ WebProcess/WebPage/TapHighlightController.h \
WebProcess/WebPage/PageOverlay.h \
+ WebProcess/WebPage/UpdateAtlas.h \
WebProcess/WebPage/WebContextMenu.h \
WebProcess/WebPage/WebFrame.h \
WebProcess/WebPage/WebInspector.h \
WebProcess/WebPage/WebPage.h \
WebProcess/WebPage/WebPageGroupProxy.h \
WebProcess/WebPage/WebUndoStep.h \
+ WebProcess/WebPage/qt/LayerTreeHostQt.h \
WebProcess/WebConnectionToUIProcess.h \
WebProcess/WebProcess.h \
WebProcess/qt/QtBuiltinBundle.h \
- WebProcess/qt/QtBuiltinBundlePage.h
+ WebProcess/qt/QtBuiltinBundlePage.h \
+ WebProcess/qt/QtNetworkAccessManager.h \
+ WebProcess/qt/QtNetworkReply.h
SOURCES += \
Platform/CoreIPC/ArgumentCoders.cpp \
Platform/CoreIPC/DataReference.cpp \
Platform/Logging.cpp \
Platform/Module.cpp \
- Platform/RunLoop.cpp \
Platform/WorkQueue.cpp \
Platform/qt/ModuleQt.cpp \
- Platform/qt/RunLoopQt.cpp \
PluginProcess/PluginControllerProxy.cpp \
+ PluginProcess/PluginCreationParameters.cpp \
PluginProcess/PluginProcess.cpp \
PluginProcess/WebProcessConnection.cpp \
PluginProcess/qt/PluginControllerProxyQt.cpp \
Shared/API/c/WKImage.cpp \
Shared/API/c/WKMutableDictionary.cpp \
Shared/API/c/WKNumber.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/Plugins/Netscape/NetscapePluginModuleNone.cpp \
Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp \
Shared/ShareableBitmap.cpp \
+ Shared/ShareableSurface.cpp \
Shared/Plugins/NPRemoteObjectMap.cpp \
Shared/Plugins/NPIdentifierData.cpp \
Shared/Plugins/NPObjectMessageReceiver.cpp \
Shared/SecurityOriginData.cpp \
Shared/SessionState.cpp \
Shared/StatisticsData.cpp \
+ Shared/SurfaceUpdateInfo.cpp \
Shared/UpdateInfo.cpp \
Shared/VisitedLinkTable.cpp \
Shared/WebBackForwardListItem.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/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/cpp/qt/WKURLQt.cpp \
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/qwebviewportinfo.cpp \
+ UIProcess/API/qt/qwebkittest.cpp \
UIProcess/Authentication/AuthenticationChallengeProxy.cpp \
UIProcess/Authentication/AuthenticationDecisionListener.cpp \
UIProcess/Authentication/WebCredential.cpp \
UIProcess/Launcher/ThreadLauncher.cpp \
UIProcess/Launcher/qt/ProcessLauncherQt.cpp \
UIProcess/Launcher/qt/ThreadLauncherQt.cpp \
+ UIProcess/LayerTreeHostProxy.cpp \
UIProcess/Notifications/NotificationPermissionRequest.cpp \
UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp \
UIProcess/Notifications/WebNotification.cpp \
UIProcess/Plugins/qt/PluginProcessProxyQt.cpp \
UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp \
UIProcess/ResponsivenessTimer.cpp \
- UIProcess/TiledDrawingAreaProxy.cpp \
UIProcess/VisitedLinkProvider.cpp \
UIProcess/WebApplicationCacheManagerProxy.cpp \
UIProcess/WebBackForwardList.cpp \
UIProcess/WebIconDatabaseClient.cpp \
UIProcess/WebInspectorProxy.cpp \
UIProcess/WebKeyValueStorageManagerProxy.cpp \
+ UIProcess/WebLayerTreeRenderer.cpp \
UIProcess/WebLoaderClient.cpp \
UIProcess/WebMediaCacheManagerProxy.cpp \
UIProcess/WebNavigationData.cpp \
UIProcess/WebResourceLoadClient.cpp \
UIProcess/WebUIClient.cpp \
UIProcess/qt/QtWebContext.cpp \
- UIProcess/qt/LayerTreeHostProxyQt.cpp \
+ UIProcess/qt/LayerBackingStore.cpp \
UIProcess/qt/QtWebPageEventHandler.cpp \
UIProcess/qt/QtGestureRecognizer.cpp \
UIProcess/qt/QtPanGestureRecognizer.cpp \
UIProcess/qt/QtPageClient.cpp \
UIProcess/qt/QtWebPageLoadClient.cpp \
UIProcess/qt/QtWebPagePolicyClient.cpp \
+ UIProcess/qt/QtWebPageSGNode.cpp \
UIProcess/qt/QtWebPageUIClient.cpp \
- UIProcess/qt/QtSGUpdateQueue.cpp \
- UIProcess/qt/QtSGTileNode.cpp \
- UIProcess/qt/TiledDrawingAreaProxyQt.cpp \
UIProcess/qt/TextCheckerQt.cpp \
UIProcess/qt/QtViewportInteractionEngine.cpp \
UIProcess/qt/WebContextMenuProxyQt.cpp \
WebProcess/Downloads/qt/DownloadQt.cpp \
WebProcess/Downloads/qt/QtFileDownloader.cpp \
WebProcess/FullScreen/WebFullScreenManager.cpp \
- WebProcess/FullScreen/qt/WebFullScreenManagerQt.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/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/Plugins/PluginProcessConnection.cpp \
WebProcess/Plugins/PluginProcessConnectionManager.cpp \
WebProcess/WebCoreSupport/WebChromeClient.cpp \
+ WebProcess/WebCoreSupport/WebColorChooser.cpp \
WebProcess/WebCoreSupport/WebContextMenuClient.cpp \
WebProcess/WebCoreSupport/WebDatabaseManager.cpp \
WebProcess/WebCoreSupport/WebDragClient.cpp \
WebProcess/WebPage/EncoderAdapter.cpp \
WebProcess/WebPage/EventDispatcher.cpp \
WebProcess/WebPage/FindController.cpp \
+ WebProcess/WebPage/TapHighlightController.cpp \
WebProcess/WebPage/LayerTreeHost.cpp \
WebProcess/WebPage/PageOverlay.cpp \
WebProcess/WebPage/TiledBackingStoreRemoteTile.cpp \
- WebProcess/WebPage/TiledDrawingArea.cpp \
+ WebProcess/WebPage/UpdateAtlas.cpp \
WebProcess/WebPage/WebBackForwardListProxy.cpp \
WebProcess/WebPage/WebContextMenu.cpp \
WebProcess/WebPage/WebFrame.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
-
mac: {
INCLUDEPATH += \
Platform/mac \
Platform/unix/SharedMemoryUnix.cpp
}
+contains(DEFINES, ENABLE_INSPECTOR_SERVER=1) {
+ HEADERS += \
+ UIProcess/InspectorServer/WebInspectorServer.h \
+ UIProcess/InspectorServer/WebSocketServer.h \
+ UIProcess/InspectorServer/WebSocketServerClient.h \
+ UIProcess/InspectorServer/WebSocketServerConnection.h \
+ UIProcess/InspectorServer/qt/WebSocketServerQt.h
+
+ SOURCES += \
+ UIProcess/InspectorServer/WebInspectorServer.cpp \
+ UIProcess/InspectorServer/WebSocketServer.cpp \
+ UIProcess/InspectorServer/WebSocketServerConnection.cpp \
+ UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp \
+ UIProcess/InspectorServer/qt/WebSocketServerQt.cpp
+}
+
contains(DEFINES, ENABLE_TOUCH_EVENTS=1) {
HEADERS += \
Shared/NativeWebTouchEvent.h
plugin_backend_xlib {
DEFINES += XP_UNIX
+ PKGCONFIG += x11
+ DEFINES += MOZ_X11
}
include(DerivedSources.pri)