2021-04-26 21:37:26 +00:00
|
|
|
add_definitions("-ObjC++ -std=c++17 -D__STDC_WANT_LIB_EXT1__")
|
2016-05-25 19:49:46 +00:00
|
|
|
find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
|
2015-09-14 21:22:46 +00:00
|
|
|
find_library(CARBON_LIBRARY Carbon)
|
2021-04-26 21:37:26 +00:00
|
|
|
find_library(CORESERVICES_LIBRARY CoreServices)
|
|
|
|
find_library(NETWORK_LIBRARY Network)
|
2019-10-02 20:35:03 +00:00
|
|
|
find_library(SECURITY_LIBRARY Security)
|
|
|
|
find_library(SECURITYINTERFACE_LIBRARY SecurityInterface)
|
2015-09-14 21:22:46 +00:00
|
|
|
find_library(QUARTZ_LIBRARY Quartz)
|
2016-03-25 03:59:30 +00:00
|
|
|
find_library(AVFOUNDATION_LIBRARY AVFoundation)
|
2016-03-25 17:00:02 +00:00
|
|
|
find_library(AVFAUDIO_LIBRARY AVFAudio HINTS ${AVFOUNDATION_LIBRARY}/Versions/*/Frameworks)
|
2021-04-26 21:37:26 +00:00
|
|
|
find_library(DEVICEIDENTITY_LIBRARY DeviceIdentity HINTS ${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks)
|
2015-10-22 21:17:59 +00:00
|
|
|
add_definitions(-iframework ${QUARTZ_LIBRARY}/Frameworks)
|
2015-10-23 23:55:41 +00:00
|
|
|
add_definitions(-iframework ${CARBON_LIBRARY}/Frameworks)
|
2016-05-25 19:49:46 +00:00
|
|
|
add_definitions(-iframework ${APPLICATIONSERVICES_LIBRARY}/Versions/Current/Frameworks)
|
2016-02-02 01:51:14 +00:00
|
|
|
add_definitions(-DWK_XPC_SERVICE_SUFFIX=".Development")
|
2015-10-22 21:17:59 +00:00
|
|
|
|
2019-10-02 20:35:03 +00:00
|
|
|
set(MACOSX_FRAMEWORK_IDENTIFIER com.apple.WebKit)
|
|
|
|
|
2021-04-26 21:37:26 +00:00
|
|
|
add_definitions(-iframework ${CORESERVICES_LIBRARY}/Versions/Current/Frameworks)
|
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
include(Headers.cmake)
|
|
|
|
|
2020-02-04 23:36:21 +00:00
|
|
|
list(APPEND WebKit_PRIVATE_LIBRARIES
|
2021-04-26 21:37:26 +00:00
|
|
|
PAL
|
2018-01-16 19:47:57 +00:00
|
|
|
WebKitLegacy
|
2016-05-25 19:49:46 +00:00
|
|
|
${APPLICATIONSERVICES_LIBRARY}
|
2021-04-26 21:37:26 +00:00
|
|
|
${CORESERVICES_LIBRARY}
|
2019-10-31 22:45:05 +00:00
|
|
|
${DEVICEIDENTITY_LIBRARY}
|
2021-04-26 21:37:26 +00:00
|
|
|
${NETWORK_LIBRARY}
|
2019-10-02 20:35:03 +00:00
|
|
|
${SECURITYINTERFACE_LIBRARY}
|
2015-09-14 21:22:46 +00:00
|
|
|
)
|
|
|
|
|
2016-03-25 03:59:30 +00:00
|
|
|
if (NOT AVFAUDIO_LIBRARY-NOTFOUND)
|
2017-09-19 00:29:31 +00:00
|
|
|
list(APPEND WebKit_LIBRARIES ${AVFAUDIO_LIBRARY})
|
2016-03-25 03:59:30 +00:00
|
|
|
endif ()
|
|
|
|
|
2019-10-01 20:35:50 +00:00
|
|
|
list(APPEND WebKit_UNIFIED_SOURCE_LIST_FILES
|
|
|
|
"SourcesCocoa.txt"
|
|
|
|
)
|
|
|
|
|
2017-09-19 00:29:31 +00:00
|
|
|
list(APPEND WebKit_SOURCES
|
2021-04-26 21:37:26 +00:00
|
|
|
GPUProcess/media/RemoteAudioDestinationManager.cpp
|
|
|
|
|
|
|
|
NetworkProcess/cocoa/LaunchServicesDatabaseObserver.mm
|
2019-10-01 20:35:50 +00:00
|
|
|
NetworkProcess/cocoa/WebSocketTaskCocoa.mm
|
|
|
|
|
2021-04-26 21:37:26 +00:00
|
|
|
NetworkProcess/mac/NetworkConnectionToWebProcessMac.mm
|
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
NetworkProcess/webrtc/NetworkRTCProvider.mm
|
|
|
|
|
2019-10-01 20:35:50 +00:00
|
|
|
NetworkProcess/Downloads/cocoa/WKDownloadProgress.mm
|
2016-03-25 03:59:30 +00:00
|
|
|
|
2019-10-02 03:12:49 +00:00
|
|
|
Shared/API/Cocoa/WKMain.mm
|
2019-05-21 00:07:39 +00:00
|
|
|
|
2021-04-26 21:37:26 +00:00
|
|
|
Shared/Cocoa/DefaultWebBrowserChecks.mm
|
|
|
|
Shared/Cocoa/XPCEndpoint.mm
|
|
|
|
Shared/Cocoa/XPCEndpointClient.mm
|
|
|
|
|
|
|
|
UIProcess/QuickLookThumbnailLoader.mm
|
|
|
|
UIProcess/QuickLookThumbnailingSoftLink.mm
|
|
|
|
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputs.mm
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorAssertionResponse.mm
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorAttestationResponse.mm
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorResponse.mm
|
|
|
|
|
|
|
|
UIProcess/Cocoa/PreferenceObserver.mm
|
2019-10-01 20:35:50 +00:00
|
|
|
UIProcess/Cocoa/WKSafeBrowsingWarning.mm
|
|
|
|
UIProcess/Cocoa/WKShareSheet.mm
|
2019-10-02 03:12:49 +00:00
|
|
|
UIProcess/Cocoa/WKStorageAccessAlert.mm
|
2021-04-26 21:37:26 +00:00
|
|
|
UIProcess/Cocoa/WebInspectorPreferenceObserver.mm
|
|
|
|
|
|
|
|
UIProcess/PDF/WKPDFHUDView.mm
|
2019-10-31 17:33:30 +00:00
|
|
|
|
|
|
|
WebProcess/InjectedBundle/API/c/mac/WKBundlePageMac.mm
|
2021-04-26 21:37:26 +00:00
|
|
|
|
|
|
|
WebProcess/WebAuthentication/WebAuthenticatorCoordinator.cpp
|
|
|
|
|
|
|
|
WebProcess/cocoa/AudioSessionRoutingArbitrator.cpp
|
|
|
|
WebProcess/cocoa/HandleXPCEndpointMessages.mm
|
|
|
|
WebProcess/cocoa/LaunchServicesDatabaseManager.mm
|
2015-09-14 21:22:46 +00:00
|
|
|
)
|
2015-03-14 02:57:54 +00:00
|
|
|
|
2020-02-04 23:36:21 +00:00
|
|
|
list(APPEND WebKit_SOURCES
|
2020-03-08 22:33:30 +00:00
|
|
|
UIProcess/API/Cocoa/WKContentWorld.mm
|
2020-02-04 23:36:21 +00:00
|
|
|
UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstParty.mm
|
|
|
|
UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.mm
|
|
|
|
)
|
|
|
|
|
2019-10-02 03:12:49 +00:00
|
|
|
list(APPEND WebKit_PRIVATE_INCLUDE_DIRECTORIES
|
2021-04-26 21:37:26 +00:00
|
|
|
"${CMAKE_BINARY_DIR}/libwebrtc/PrivateHeaders"
|
2019-10-02 03:12:49 +00:00
|
|
|
"${ICU_INCLUDE_DIRS}"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/NetworkProcess/cocoa"
|
|
|
|
"${WEBKIT_DIR}/NetworkProcess/mac"
|
|
|
|
"${WEBKIT_DIR}/PluginProcess/mac"
|
|
|
|
"${WEBKIT_DIR}/UIProcess/mac"
|
|
|
|
"${WEBKIT_DIR}/UIProcess/API/C/mac"
|
|
|
|
"${WEBKIT_DIR}/UIProcess/API/Cocoa"
|
|
|
|
"${WEBKIT_DIR}/UIProcess/API/mac"
|
2020-02-04 23:36:21 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/API/ios"
|
2019-10-01 20:35:50 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Authentication/cocoa"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Cocoa"
|
2019-10-01 20:35:50 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Cocoa/SOAuthorization"
|
2020-02-26 06:05:13 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Inspector/Cocoa"
|
2020-01-28 01:13:27 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Inspector/mac"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Launcher/mac"
|
2021-04-26 21:37:26 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Media/cocoa"
|
|
|
|
"${WEBKIT_DIR}/UIProcess/PDF"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/RemoteLayerTree"
|
|
|
|
"${WEBKIT_DIR}/UIProcess/RemoteLayerTree/ios"
|
2019-10-01 20:35:50 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/RemoteLayerTree/mac"
|
2019-10-31 03:06:31 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/WebAuthentication/Cocoa"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/ios"
|
|
|
|
"${WEBKIT_DIR}/Platform/cg"
|
|
|
|
"${WEBKIT_DIR}/Platform/classifier"
|
|
|
|
"${WEBKIT_DIR}/Platform/classifier/cocoa"
|
2017-09-25 19:03:00 +00:00
|
|
|
"${WEBKIT_DIR}/Platform/cocoa"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/Platform/mac"
|
|
|
|
"${WEBKIT_DIR}/Platform/unix"
|
|
|
|
"${WEBKIT_DIR}/Platform/spi/Cocoa"
|
2021-04-26 21:37:26 +00:00
|
|
|
"${WEBKIT_DIR}/Platform/spi/ios"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/Platform/spi/mac"
|
|
|
|
"${WEBKIT_DIR}/Platform/IPC/mac"
|
2019-10-01 06:29:13 +00:00
|
|
|
"${WEBKIT_DIR}/Platform/IPC/cocoa"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/Platform/spi/Cocoa"
|
|
|
|
"${WEBKIT_DIR}/Shared/API/Cocoa"
|
|
|
|
"${WEBKIT_DIR}/Shared/API/c/cf"
|
|
|
|
"${WEBKIT_DIR}/Shared/API/c/cg"
|
|
|
|
"${WEBKIT_DIR}/Shared/API/c/mac"
|
2019-10-31 22:45:05 +00:00
|
|
|
"${WEBKIT_DIR}/Shared/ApplePay/cocoa/"
|
2019-10-01 06:29:13 +00:00
|
|
|
"${WEBKIT_DIR}/Shared/Authentication/cocoa"
|
|
|
|
"${WEBKIT_DIR}/Shared/ios"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/Shared/cf"
|
|
|
|
"${WEBKIT_DIR}/Shared/Cocoa"
|
2019-10-01 06:29:13 +00:00
|
|
|
"${WEBKIT_DIR}/Shared/EntryPointUtilities/Cocoa/XPCService"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/Shared/mac"
|
2021-04-06 03:19:14 +00:00
|
|
|
"${WEBKIT_DIR}/Shared/mac/MediaFormatReader"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/Shared/Plugins/mac"
|
|
|
|
"${WEBKIT_DIR}/Shared/Scrolling"
|
2021-04-06 03:19:14 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/Media"
|
2019-10-31 22:45:05 +00:00
|
|
|
"${WEBKIT_DIR}/UIProcess/WebAuthentication/fido"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/WebAuthentication"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/WebProcess/cocoa"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/mac"
|
2021-04-26 21:37:26 +00:00
|
|
|
"${WEBKIT_DIR}/WebProcess/GPU/graphics/cocoa"
|
2020-01-28 01:13:27 +00:00
|
|
|
"${WEBKIT_DIR}/WebProcess/Inspector/mac"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/WebProcess/InjectedBundle/API/Cocoa"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/InjectedBundle/API/mac"
|
2021-04-06 03:19:14 +00:00
|
|
|
"${WEBKIT_DIR}/WebProcess/MediaSession"
|
2017-09-19 00:29:31 +00:00
|
|
|
"${WEBKIT_DIR}/WebProcess/Plugins/PDF"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/Plugins/Netscape/mac"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/WebPage/Cocoa"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/WebPage/RemoteLayerTree"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/WebPage/mac"
|
|
|
|
"${WEBKIT_DIR}/WebProcess/WebCoreSupport/mac"
|
2019-10-01 20:35:50 +00:00
|
|
|
"${WEBKITLEGACY_DIR}"
|
2021-04-26 21:37:26 +00:00
|
|
|
"${WebKitLegacy_FRAMEWORK_HEADERS_DIR}"
|
2015-03-17 00:29:55 +00:00
|
|
|
)
|
|
|
|
|
2015-10-28 19:34:29 +00:00
|
|
|
set(XPCService_SOURCES
|
2019-10-02 03:12:49 +00:00
|
|
|
Shared/EntryPointUtilities/Cocoa/AuxiliaryProcessMain.cpp
|
|
|
|
|
2019-06-05 21:11:39 +00:00
|
|
|
Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.mm
|
|
|
|
Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm
|
2015-10-28 19:34:29 +00:00
|
|
|
)
|
|
|
|
|
2015-03-14 02:57:54 +00:00
|
|
|
set(WebProcess_SOURCES
|
2019-06-05 21:11:39 +00:00
|
|
|
WebProcess/EntryPoint/Cocoa/XPCService/WebContentServiceEntryPoint.mm
|
2015-10-28 19:34:29 +00:00
|
|
|
${XPCService_SOURCES}
|
2015-10-23 23:55:41 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(PluginProcess_SOURCES
|
2019-06-05 21:11:39 +00:00
|
|
|
PluginProcess/EntryPoint/Cocoa/XPCService/PluginServiceEntryPoint.mm
|
2015-10-28 19:34:29 +00:00
|
|
|
${XPCService_SOURCES}
|
2015-03-14 02:57:54 +00:00
|
|
|
)
|
2015-03-20 18:18:41 +00:00
|
|
|
|
2020-03-12 02:55:46 +00:00
|
|
|
set(GPUProcess_SOURCES
|
|
|
|
GPUProcess/EntryPoint/Cocoa/XPCService/GPUServiceEntryPoint.mm
|
|
|
|
${XPCService_SOURCES}
|
|
|
|
)
|
|
|
|
|
2015-05-07 16:46:05 +00:00
|
|
|
list(APPEND NetworkProcess_SOURCES
|
2019-06-05 21:11:39 +00:00
|
|
|
NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkServiceEntryPoint.mm
|
2015-10-28 19:34:29 +00:00
|
|
|
${XPCService_SOURCES}
|
2015-05-07 16:46:05 +00:00
|
|
|
)
|
|
|
|
|
2016-04-01 16:45:58 +00:00
|
|
|
# FIXME: These should not have Development in production builds.
|
2020-04-06 03:02:54 +00:00
|
|
|
set(WebProcess_OUTPUT_NAME com.apple.WebKit.WebContent.Development)
|
|
|
|
set(NetworkProcess_OUTPUT_NAME com.apple.WebKit.Networking.Development)
|
2016-04-01 16:45:58 +00:00
|
|
|
|
2019-10-02 03:12:49 +00:00
|
|
|
set(WebProcess_INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR})
|
|
|
|
set(NetworkProcess_INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR})
|
|
|
|
set(PluginProcess_INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR})
|
|
|
|
|
2015-03-20 18:18:41 +00:00
|
|
|
add_definitions("-include WebKit2Prefix.h")
|
|
|
|
|
2017-09-19 00:29:31 +00:00
|
|
|
set(WebKit_FORWARDING_HEADERS_FILES
|
2017-09-25 19:03:00 +00:00
|
|
|
Platform/cocoa/WKCrashReporter.h
|
|
|
|
|
2015-03-20 18:18:41 +00:00
|
|
|
Shared/API/c/WKDiagnosticLoggingResultType.h
|
|
|
|
|
|
|
|
UIProcess/API/C/WKPageDiagnosticLoggingClient.h
|
|
|
|
UIProcess/API/C/WKPageNavigationClient.h
|
|
|
|
UIProcess/API/C/WKPageRenderingProgressEvents.h
|
|
|
|
)
|
|
|
|
|
2017-09-19 00:29:31 +00:00
|
|
|
list(APPEND WebKit_MESSAGES_IN_FILES
|
2021-04-06 03:19:14 +00:00
|
|
|
GPUProcess/media/RemoteImageDecoderAVFProxy
|
|
|
|
|
|
|
|
GPUProcess/media/ios/RemoteMediaSessionHelperProxy
|
2020-02-04 23:36:21 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
NetworkProcess/CustomProtocols/LegacyCustomProtocolManager
|
2017-12-01 02:04:07 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
Shared/API/Cocoa/RemoteObjectRegistry
|
2019-10-31 22:45:05 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
Shared/ApplePay/WebPaymentCoordinatorProxy
|
2015-10-22 21:17:59 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
UIProcess/ViewGestureController
|
[GTK] Implement back/forward touchpad gesture
https://bugs.webkit.org/show_bug.cgi?id=193919
Patch by Alexander Mikhaylenko <exalm7659@gmail.com> on 2019-02-08
Reviewed by Michael Catanzaro.
Source/WebKit:
Move ViewSnapshotStore and ViewGestureController from Cocoa/Mac directory
to UIProcess/, also move some parts of mac/ViewGestreControllerMac.mm to
ViewGestureController.cpp, split up Mac- and iOS-specific parts of
ViewSnapshotStore.cpp into mac/ViewSnapshotMac.mm, then implement 2-finger
touchpad swipe back-forward gesture for GTK based on that.
To avoid name conflict, rename existing ViewGestureController class inside
UIProcess/API/gtk/WebKitWebViewBase.cpp into TouchGestureController.
Since GTK gestures can only work with 3 or 4 fingers, treat horizontal
scrolling events as a swipe as long as there's nowhere to scroll in that
direction and web page doesn't handle the scrolling.
This is only allowed for touchpads, even though it can theoretically work
with touch mice and trackpoints.
The gesture requires every item in back-forward list to have a snapshot.
There's already an existing infrastructure for that, so the patch changes
a bunch of #if PLATFORM(COCOA) statements to also check for GTK platform.
The snapshots have to be taken in sync, so the implementation draws webview
widget into a Cairo image surface.
The gesture is disabled by default, and can be enabled by setting the newly
added 'enable-back-forward-navigation-gestures' property in WebKitSettings to
true.
Gesture drawing is implemented via Cairo. When the gesture is active, the
actual page is drawn into a Cairo group, which is then drawn together with
a given snapshot, as well as dimming and a drop shadow over the "lower" layer.
Also add a memory pressure handler that clears snapshot store when low on memory.
* DerivedSources-input.xcfilelist:
* PlatformGTK.cmake:
* PlatformMac.cmake:
* Shared/SessionState.h: Add snapshot to back-forward items for GTK.
* Shared/WebBackForwardListItem.h: Add snapshot to back-forward items for GTK.
* SourcesCocoa.txt:
* SourcesGTK.txt:
* UIProcess/API/glib/WebKitSettings.cpp:
Added 'enable-back-forward-navigation-gestures' property for enabling the gesture.
(webKitSettingsSetProperty):
(webKitSettingsGetProperty):
(webkit_settings_class_init):
(webkit_settings_get_enable_back_forward_navigation_gestures): Added, GTK only.
(webkit_settings_set_enable_back_forward_navigation_gestures): Added, GTK only.
* UIProcess/API/glib/WebKitWebView.cpp:
(enableBackForwardNavigationGesturesChanged): Added, GTK only.
(webkitWebViewUpdateSettings):
(webkitWebViewDisconnectSettingsSignalHandlers):
* UIProcess/API/gtk/PageClientImpl.cpp:
(WebKit::PageClientImpl::setViewNeedsDisplay): Redraw the whole screen instead of a region during the gesture.
(WebKit::PageClientImpl::takeViewSnapshot): Added.
(WebKit::PageClientImpl::wheelEventWasNotHandledByWebCore): Pass unhandled events to the gesture controller.
(WebKit::PageClientImpl::didRemoveNavigationGestureSnapshot): Redraw the widget immediately after removing snapshot.
(WebKit::PageClientImpl::didStartProvisionalLoadForMainFrame): Added, send a notification to the gesture controller.
(WebKit::PageClientImpl::didFirstVisuallyNonEmptyLayoutForMainFrame): Send a notification to the gesture controller.
(WebKit::PageClientImpl::didFinishLoadForMainFrame): Send a notification to the gesture controller.
(WebKit::PageClientImpl::didFailLoadForMainFrame): Added, send a notification to the gesture controller.
(WebKit::PageClientImpl::didSameDocumentNavigationForMainFrame): Send a notification to the gesture controller.
(WebKit::PageClientImpl::didRestoreScrollPosition): Added, send a notification to the gesture controller.
* UIProcess/API/gtk/PageClientImpl.h:
* UIProcess/API/gtk/WebKitSettings.h:
Add webkit_settings_get_enable_back_forward_navigation_gestures() and webkit_settings_get_enable_back_forward_navigation_gestures()
to public API.
* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseDraw): Pass drawing to ViewGestureController during the gesture.
(webkitWebViewBaseScrollEvent): Pass scroll events to ViewGestureController during the gesture.
(webkitWebViewBaseGestureController): Renamed ViewGestureController to TouchGestureController.
(webkitWebViewBaseViewGestureController): Added.
(webkitWebViewBaseCreateWebPage): Create an instance of ViewGestureController.
(webkitWebViewBaseTakeViewSnapshot): Added.
(webkitWebViewBaseDidStartProvisionalLoadForMainFrame): Added.
(webkitWebViewBaseDidFirstVisuallyNonEmptyLayoutForMainFrame): Added.
(webkitWebViewBaseDidFinishLoadForMainFrame): Added.
(webkitWebViewBaseDidFailLoadForMainFrame): Added.
(webkitWebViewBaseDidSameDocumentNavigationForMainFrame): Added.
(webkitWebViewBaseDidRestoreScrollPosition): Added.
* UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
* UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt: Mentioned the added functions in docs.
* UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::platformInitialize): Move the check from WebMemoryPressureHandlerCocoa.mm here.
* UIProcess/PageClient.h: Add takeViewSnapshot() for GTK.
* UIProcess/ViewGestureController.cpp: Renamed from Source/WebKit/UIProcess/Cocoa/ViewGestureController.cpp.
(WebKit::ViewGestureController::ViewGestureController):
(WebKit::ViewGestureController::~ViewGestureController):
(WebKit::ViewGestureController::disconnectFromProcess):
(WebKit::ViewGestureController::connectToProcess):
(WebKit::ViewGestureController::controllerForGesture):
(WebKit::ViewGestureController::takeNextGestureID):
(WebKit::ViewGestureController::willBeginGesture):
(WebKit::ViewGestureController::didEndGesture):
(WebKit::ViewGestureController::setAlternateBackForwardListSourcePage):
(WebKit::ViewGestureController::canSwipeInDirection const):
(WebKit::ViewGestureController::didStartProvisionalOrSameDocumentLoadForMainFrame):
(WebKit::ViewGestureController::didStartProvisionalLoadForMainFrame):
(WebKit::ViewGestureController::didFirstVisuallyNonEmptyLayoutForMainFrame):
(WebKit::ViewGestureController::didRepaintAfterNavigation):
(WebKit::ViewGestureController::didHitRenderTreeSizeThreshold):
(WebKit::ViewGestureController::didRestoreScrollPosition):
(WebKit::ViewGestureController::didReachMainFrameLoadTerminalState):
(WebKit::ViewGestureController::didSameDocumentNavigationForMainFrame):
(WebKit::ViewGestureController::checkForActiveLoads):
(WebKit::ViewGestureController::SnapshotRemovalTracker::SnapshotRemovalTracker):
(WebKit::ViewGestureController::SnapshotRemovalTracker::eventsDescription):
(WebKit::ViewGestureController::SnapshotRemovalTracker::log const):
(WebKit::ViewGestureController::SnapshotRemovalTracker::resume):
(WebKit::ViewGestureController::SnapshotRemovalTracker::start):
(WebKit::ViewGestureController::SnapshotRemovalTracker::reset):
(WebKit::ViewGestureController::SnapshotRemovalTracker::stopWaitingForEvent):
(WebKit::ViewGestureController::SnapshotRemovalTracker::eventOccurred):
(WebKit::ViewGestureController::SnapshotRemovalTracker::cancelOutstandingEvent):
(WebKit::ViewGestureController::SnapshotRemovalTracker::hasOutstandingEvent):
(WebKit::ViewGestureController::SnapshotRemovalTracker::fireRemovalCallbackIfPossible):
(WebKit::ViewGestureController::SnapshotRemovalTracker::fireRemovalCallbackImmediately):
(WebKit::ViewGestureController::SnapshotRemovalTracker::watchdogTimerFired):
(WebKit::ViewGestureController::SnapshotRemovalTracker::startWatchdog):
(WebKit::deltaShouldCancelSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::PendingSwipeTracker):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanBecomeSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::handleEvent):
(WebKit::ViewGestureController::PendingSwipeTracker::eventWasNotHandledByWebCore):
(WebKit::ViewGestureController::PendingSwipeTracker::tryToStartSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::reset):
(WebKit::ViewGestureController::startSwipeGesture):
(WebKit::ViewGestureController::isPhysicallySwipingLeft const):
(WebKit::ViewGestureController::shouldUseSnapshotForSize):
(WebKit::ViewGestureController::forceRepaintIfNeeded):
(WebKit::ViewGestureController::willEndSwipeGesture):
(WebKit::ViewGestureController::endSwipeGesture):
(WebKit::ViewGestureController::requestRenderTreeSizeNotificationIfNeeded):
* UIProcess/ViewGestureController.h: Renamed from Source/WebKit/UIProcess/Cocoa/ViewGestureController.h.
(WebKit::ViewGestureController::wheelEventWasNotHandledByWebCore):
(WebKit::ViewGestureController::shouldIgnorePinnedState):
(WebKit::ViewGestureController::setShouldIgnorePinnedState):
(WebKit::ViewGestureController::hasActiveMagnificationGesture const):
(WebKit::ViewGestureController::setCustomSwipeViews):
(WebKit::ViewGestureController::setCustomSwipeViewsTopContentInset):
(WebKit::ViewGestureController::setDidMoveSwipeSnapshotCallback):
(WebKit::ViewGestureController::backgroundColorForCurrentSnapshot const):
(WebKit::ViewGestureController::didFinishLoadForMainFrame):
(WebKit::ViewGestureController::didFailLoadForMainFrame):
(WebKit::ViewGestureController::setSwipeGestureEnabled):
(WebKit::ViewGestureController::isSwipeGestureEnabled):
(WebKit::ViewGestureController::SnapshotRemovalTracker::pause):
(WebKit::ViewGestureController::SnapshotRemovalTracker::isPaused const):
(WebKit::ViewGestureController::SnapshotRemovalTracker::hasRemovalCallback const):
(WebKit::ViewGestureController::SnapshotRemovalTracker::renderTreeSizeThreshold const):
(WebKit::ViewGestureController::SnapshotRemovalTracker::setRenderTreeSizeThreshold):
(WebKit::ViewGestureController::PendingSwipeTracker::shouldIgnorePinnedState):
(WebKit::ViewGestureController::PendingSwipeTracker::setShouldIgnorePinnedState):
(WebKit::ViewGestureController::SwipeProgressTracker::progress const):
(WebKit::ViewGestureController::SwipeProgressTracker::direction const):
* UIProcess/ViewGestureController.messages.in: Renamed from Source/WebKit/UIProcess/Cocoa/ViewGestureController.messages.in.
* UIProcess/ViewSnapshotStore.cpp: Copied from Source/WebKit/UIProcess/mac/ViewSnapshotStore.mm.
(WebKit::ViewSnapshotStore::ViewSnapshotStore):
(WebKit::ViewSnapshotStore::~ViewSnapshotStore):
(WebKit::ViewSnapshotStore::singleton):
(WebKit::ViewSnapshotStore::didAddImageToSnapshot):
(WebKit::ViewSnapshotStore::willRemoveImageFromSnapshot):
(WebKit::ViewSnapshotStore::pruneSnapshots):
(WebKit::ViewSnapshotStore::recordSnapshot):
(WebKit::ViewSnapshotStore::discardSnapshotImages):
(WebKit::ViewSnapshot::~ViewSnapshot):
* UIProcess/ViewSnapshotStore.h: Renamed from Source/WebKit/UIProcess/mac/ViewSnapshotStore.h.
(WebKit::ViewSnapshot::setRenderTreeSize):
(WebKit::ViewSnapshot::renderTreeSize const):
(WebKit::ViewSnapshot::setBackgroundColor):
(WebKit::ViewSnapshot::backgroundColor const):
(WebKit::ViewSnapshot::setViewScrollPosition):
(WebKit::ViewSnapshot::viewScrollPosition const):
(WebKit::ViewSnapshot::setDeviceScaleFactor):
(WebKit::ViewSnapshot::deviceScaleFactor const):
(WebKit::ViewSnapshot::surface const):
(WebKit::ViewSnapshot::imageSizeInBytes const):
(WebKit::ViewSnapshot::size const):
(WebKit::ViewSnapshotStore::setDisableSnapshotVolatilityForTesting):
(WebKit::ViewSnapshotStore::disableSnapshotVolatilityForTesting const):
* UIProcess/WebBackForwardList.cpp:
(WebKit::WebBackForwardList::didRemoveItem): Unset snapshot for GTK.
* UIProcess/WebMemoryPressureHandler.cpp: Copied from Source/WebKit/UIProcess/Cocoa/WebMemoryPressureHandlerCocoa.mm.
(WebKit::installMemoryPressureHandler):
* UIProcess/WebMemoryPressureHandler.h: Renamed from Source/WebKit/UIProcess/Cocoa/WebMemoryPressureHandlerCocoa.h.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::recordNavigationSnapshot): Take snapshots for GTK.
* UIProcess/WebPageProxy.h:
* UIProcess/gtk/ViewGestureControllerGtk.cpp: Added. This is a port of
UIProcess/mac/ViewGestureControllerMac.mm. SwipeProgressTracker class is a
re-implementation of trackSwipeEventWithOptions.
(WebKit::isEventStop):
(WebKit::ViewGestureController::platformTeardown):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanStartSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanEndSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanInfluenceSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventGetScrollingDeltas):
(WebKit::ViewGestureController::handleScrollWheelEvent):
(WebKit::ViewGestureController::trackSwipeGesture):
(WebKit::ViewGestureController::SwipeProgressTracker::SwipeProgressTracker):
(WebKit::ViewGestureController::SwipeProgressTracker::startTracking):
(WebKit::ViewGestureController::SwipeProgressTracker::reset):
(WebKit::ViewGestureController::SwipeProgressTracker::handleEvent):
(WebKit::ViewGestureController::SwipeProgressTracker::startAnimation):
(WebKit::easeOutCubic):
(WebKit::ViewGestureController::SwipeProgressTracker::onAnimationTick):
(WebKit::ViewGestureController::SwipeProgressTracker::endAnimation):
(WebKit::ViewGestureController::beginSwipeGesture):
(WebKit::ViewGestureController::handleSwipeGesture):
(WebKit::ViewGestureController::draw):
(WebKit::ViewGestureController::removeSwipeSnapshot):
(WebKit::ViewGestureController::beginSimulatedSwipeInDirectionForTesting):
(WebKit::ViewGestureController::completeSimulatedSwipeInDirectionForTesting):
* UIProcess/gtk/ViewSnapshotStoreGtk.cpp: Renamed from Source/WebKit/UIProcess/Cocoa/WebMemoryPressureHandlerCocoa.mm.
(WebKit::ViewSnapshot::create):
(WebKit::ViewSnapshot::ViewSnapshot):
(WebKit::ViewSnapshot::hasImage const):
(WebKit::ViewSnapshot::clearImage):
(WebKit::ViewSnapshot::imageSizeInBytes const):
(WebKit::ViewSnapshot::size const):
* UIProcess/gtk/WebProcessPoolGtk.cpp:
(WebKit::memoryPressureMonitorDisabled): Added.
(WebKit::WebProcessPool::platformInitialize): Install memory pressure handler.
(WebKit::WebProcessPool::platformInitializeWebProcess): Use memoryPressureMonitorDisabled().
* UIProcess/mac/ViewGestureControllerMac.mm:
Moved many functions into UIProcess/ViewGestureController.cpp
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanStartSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanEndSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanInfluenceSwipe):
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventGetScrollingDeltas):
(WebKit::ViewGestureController::trackSwipeGesture):
(WebKit::scrollEventCanInfluenceSwipe): Deleted.
(WebKit::deltaShouldCancelSwipe): Deleted.
(WebKit::ViewGestureController::PendingSwipeTracker::PendingSwipeTracker): Deleted.
(WebKit::ViewGestureController::PendingSwipeTracker::scrollEventCanBecomeSwipe): Deleted.
(WebKit::ViewGestureController::PendingSwipeTracker::handleEvent): Deleted.
(WebKit::ViewGestureController::PendingSwipeTracker::eventWasNotHandledByWebCore): Deleted.
(WebKit::ViewGestureController::PendingSwipeTracker::tryToStartSwipe): Deleted.
(WebKit::ViewGestureController::PendingSwipeTracker::reset): Deleted.
(WebKit::ViewGestureController::willEndSwipeGesture): Deleted.
(WebKit::ViewGestureController::shouldUseSnapshotForSize): Deleted.
(WebKit::ViewGestureController::isPhysicallySwipingLeft const): Deleted.
(WebKit::ViewGestureController::endSwipeGesture): Deleted.
(WebKit::ViewGestureController::forceRepaintIfNeeded): Deleted.
(WebKit::ViewGestureController::requestRenderTreeSizeNotificationIfNeeded): Deleted.
* UIProcess/mac/ViewSnapshotStoreMac.mm: Renamed from Source/WebKit/UIProcess/mac/ViewSnapshotStore.mm.
(WebKit::ViewSnapshotStore::snapshottingContext):
(WebKit::ViewSnapshot::create):
(WebKit::ViewSnapshot::ViewSnapshot):
(WebKit::ViewSnapshot::setSurface):
(WebKit::ViewSnapshot::hasImage const):
(WebKit::ViewSnapshot::clearImage):
(WebKit::ViewSnapshot::setVolatile):
(WebKit::ViewSnapshot::asLayerContents):
(WebKit::ViewSnapshot::asImageForTesting):
* WebKit.xcodeproj/project.pbxproj:
* WebProcess/WebPage/ViewGestureGeometryCollector.cpp:
Make SetRenderTreeSizeNotificationThreshold() cross-platform.
(WebKit::ViewGestureGeometryCollector::ViewGestureGeometryCollector):
(WebKit::ViewGestureGeometryCollector::computeMinimumAndMaximumViewportScales const):
(WebKit::ViewGestureGeometryCollector::mainFrameDidLayout):
* WebProcess/WebPage/ViewGestureGeometryCollector.h:
* WebProcess/WebPage/ViewGestureGeometryCollector.messages.in:
* WebProcess/WebPage/WebPage.cpp:
Start using ViewGestureGeometryCollector for GTK.
(WebKit::WebPage::mainFrameDidLayout):
* WebProcess/WebPage/WebPage.h:
Tools:
* TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitSettings): Add a test for 'enable-back-forward-navigation-gestures' property.
Canonical link: https://commits.webkit.org/208883@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-02-09 01:29:22 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
UIProcess/Cocoa/PlaybackSessionManagerProxy
|
|
|
|
UIProcess/Cocoa/UserMediaCaptureManagerProxy
|
|
|
|
UIProcess/Cocoa/VideoFullscreenManagerProxy
|
2016-02-01 12:19:23 +00:00
|
|
|
|
2021-04-26 21:37:26 +00:00
|
|
|
UIProcess/Inspector/WebInspectorUIExtensionControllerProxy
|
|
|
|
|
|
|
|
UIProcess/Media/AudioSessionRoutingArbitratorProxy
|
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy
|
2017-12-01 02:04:07 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy
|
2017-09-02 23:52:34 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy
|
2021-04-26 21:37:26 +00:00
|
|
|
UIProcess/WebAuthentication/WebAuthnProcessProxy
|
2019-10-31 22:45:05 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
UIProcess/mac/SecItemShimProxy
|
2015-10-22 21:17:59 +00:00
|
|
|
|
2021-04-26 21:37:26 +00:00
|
|
|
WebAuthnProcess/WebAuthnConnectionToWebProcess
|
|
|
|
WebAuthnProcess/WebAuthnProcess
|
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
WebProcess/ApplePay/WebPaymentCoordinator
|
2019-10-31 22:45:05 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
WebProcess/GPU/media/RemoteImageDecoderAVFManager
|
2019-10-01 20:35:50 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
WebProcess/GPU/media/ios/RemoteMediaSessionHelper
|
2020-02-04 23:36:21 +00:00
|
|
|
|
2021-04-26 21:37:26 +00:00
|
|
|
WebProcess/Inspector/WebInspectorUIExtensionController
|
|
|
|
|
|
|
|
WebProcess/WebAuthentication/WebAuthnProcessConnection
|
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
WebProcess/WebPage/ViewGestureGeometryCollector
|
|
|
|
WebProcess/WebPage/ViewUpdateDispatcher
|
2019-10-01 20:35:50 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
WebProcess/WebPage/Cocoa/TextCheckingControllerProxy
|
|
|
|
|
|
|
|
WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator
|
|
|
|
|
|
|
|
WebProcess/cocoa/PlaybackSessionManager
|
|
|
|
WebProcess/cocoa/RemoteCaptureSampleManager
|
|
|
|
WebProcess/cocoa/UserMediaCaptureManager
|
|
|
|
WebProcess/cocoa/VideoFullscreenManager
|
|
|
|
)
|
2019-10-01 20:35:50 +00:00
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
list(APPEND WebKit_PUBLIC_FRAMEWORK_HEADERS
|
|
|
|
Shared/API/Cocoa/RemoteObjectInvocation.h
|
|
|
|
Shared/API/Cocoa/RemoteObjectRegistry.h
|
|
|
|
Shared/API/Cocoa/WKBrowsingContextHandle.h
|
|
|
|
Shared/API/Cocoa/WKDataDetectorTypes.h
|
|
|
|
Shared/API/Cocoa/WKDragDestinationAction.h
|
|
|
|
Shared/API/Cocoa/WKFoundation.h
|
|
|
|
Shared/API/Cocoa/WKMain.h
|
|
|
|
Shared/API/Cocoa/WKRemoteObject.h
|
|
|
|
Shared/API/Cocoa/WKRemoteObjectCoder.h
|
|
|
|
Shared/API/Cocoa/WebKit.h
|
|
|
|
Shared/API/Cocoa/WebKitPrivate.h
|
|
|
|
Shared/API/Cocoa/_WKFrameHandle.h
|
|
|
|
Shared/API/Cocoa/_WKHitTestResult.h
|
|
|
|
Shared/API/Cocoa/_WKNSFileManagerExtras.h
|
|
|
|
Shared/API/Cocoa/_WKNSWindowExtras.h
|
|
|
|
Shared/API/Cocoa/_WKRemoteObjectInterface.h
|
|
|
|
Shared/API/Cocoa/_WKRemoteObjectRegistry.h
|
|
|
|
Shared/API/Cocoa/_WKRenderingProgressEvents.h
|
|
|
|
Shared/API/Cocoa/_WKSameDocumentNavigationType.h
|
|
|
|
|
|
|
|
Shared/API/c/mac/WKBaseMac.h
|
|
|
|
Shared/API/c/mac/WKCertificateInfoMac.h
|
|
|
|
Shared/API/c/mac/WKMediaFormatReader.h
|
|
|
|
Shared/API/c/mac/WKObjCTypeWrapperRef.h
|
|
|
|
Shared/API/c/mac/WKURLRequestNS.h
|
|
|
|
Shared/API/c/mac/WKURLResponseNS.h
|
|
|
|
Shared/API/c/mac/WKWebArchiveRef.h
|
|
|
|
Shared/API/c/mac/WKWebArchiveResource.h
|
|
|
|
|
|
|
|
UIProcess/API/Cocoa/NSAttributedString.h
|
|
|
|
UIProcess/API/Cocoa/NSAttributedStringPrivate.h
|
|
|
|
UIProcess/API/Cocoa/PageLoadStateObserver.h
|
|
|
|
UIProcess/API/Cocoa/WKBackForwardList.h
|
|
|
|
UIProcess/API/Cocoa/WKBackForwardListItem.h
|
|
|
|
UIProcess/API/Cocoa/WKBackForwardListItemPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKBackForwardListPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextController.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextGroup.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextGroupPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextHistoryDelegate.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextLoadDelegate.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextLoadDelegatePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKBrowsingContextPolicyDelegate.h
|
|
|
|
UIProcess/API/Cocoa/WKConnection.h
|
|
|
|
UIProcess/API/Cocoa/WKContentRuleList.h
|
|
|
|
UIProcess/API/Cocoa/WKContentRuleListPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKContentRuleListStore.h
|
|
|
|
UIProcess/API/Cocoa/WKContentRuleListStorePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKContentWorld.h
|
|
|
|
UIProcess/API/Cocoa/WKContentWorldPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKContextMenuElementInfo.h
|
|
|
|
UIProcess/API/Cocoa/WKContextMenuElementInfoPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKDownload.h
|
|
|
|
UIProcess/API/Cocoa/WKDownloadDelegate.h
|
|
|
|
UIProcess/API/Cocoa/WKError.h
|
|
|
|
UIProcess/API/Cocoa/WKErrorPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKFindConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/WKFindResult.h
|
|
|
|
UIProcess/API/Cocoa/WKFrameInfo.h
|
|
|
|
UIProcess/API/Cocoa/WKFrameInfoPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKHTTPCookieStore.h
|
|
|
|
UIProcess/API/Cocoa/WKHTTPCookieStorePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKHistoryDelegatePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKMenuItemIdentifiersPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKNSURLAuthenticationChallenge.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigation.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationAction.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationActionPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationData.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationDelegate.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationResponse.h
|
|
|
|
UIProcess/API/Cocoa/WKNavigationResponsePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKOpenPanelParameters.h
|
|
|
|
UIProcess/API/Cocoa/WKOpenPanelParametersPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKPDFConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/WKPreferences.h
|
|
|
|
UIProcess/API/Cocoa/WKPreferencesPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKPreviewActionItem.h
|
|
|
|
UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.h
|
|
|
|
UIProcess/API/Cocoa/WKPreviewElementInfo.h
|
|
|
|
UIProcess/API/Cocoa/WKProcessGroup.h
|
|
|
|
UIProcess/API/Cocoa/WKProcessGroupPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKProcessPool.h
|
|
|
|
UIProcess/API/Cocoa/WKProcessPoolPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKScriptMessage.h
|
|
|
|
UIProcess/API/Cocoa/WKScriptMessageHandler.h
|
|
|
|
UIProcess/API/Cocoa/WKScriptMessageHandlerWithReply.h
|
|
|
|
UIProcess/API/Cocoa/WKSecurityOrigin.h
|
|
|
|
UIProcess/API/Cocoa/WKSnapshotConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/WKTypeRefWrapper.h
|
|
|
|
UIProcess/API/Cocoa/WKUIDelegate.h
|
|
|
|
UIProcess/API/Cocoa/WKUIDelegatePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKURLSchemeHandler.h
|
|
|
|
UIProcess/API/Cocoa/WKURLSchemeTask.h
|
|
|
|
UIProcess/API/Cocoa/WKURLSchemeTaskPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKUserContentController.h
|
|
|
|
UIProcess/API/Cocoa/WKUserContentControllerPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKUserScript.h
|
|
|
|
UIProcess/API/Cocoa/WKUserScriptPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKView.h
|
|
|
|
UIProcess/API/Cocoa/WKViewPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKWebArchive.h
|
|
|
|
UIProcess/API/Cocoa/WKWebView.h
|
|
|
|
UIProcess/API/Cocoa/WKWebViewConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKWebViewPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKWebViewPrivateForTesting.h
|
|
|
|
UIProcess/API/Cocoa/WKWebpagePreferences.h
|
|
|
|
UIProcess/API/Cocoa/WKWebpagePreferencesPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKWebsiteDataRecord.h
|
|
|
|
UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKWebsiteDataStore.h
|
|
|
|
UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
|
|
|
|
UIProcess/API/Cocoa/WKWindowFeatures.h
|
|
|
|
UIProcess/API/Cocoa/WKWindowFeaturesPrivate.h
|
|
|
|
UIProcess/API/Cocoa/WebKitLegacy.h
|
|
|
|
UIProcess/API/Cocoa/_WKActivatedElementInfo.h
|
|
|
|
UIProcess/API/Cocoa/_WKAppHighlight.h
|
|
|
|
UIProcess/API/Cocoa/_WKAppHighlightDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKApplicationManifest.h
|
|
|
|
UIProcess/API/Cocoa/_WKAttachment.h
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientInputs.h
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputs.h
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorAssertionResponse.h
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorAttachment.h
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorAttestationResponse.h
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorResponse.h
|
|
|
|
UIProcess/API/Cocoa/_WKAuthenticatorSelectionCriteria.h
|
|
|
|
UIProcess/API/Cocoa/_WKAutomationDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKAutomationSession.h
|
|
|
|
UIProcess/API/Cocoa/_WKAutomationSessionConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKContentRuleListAction.h
|
|
|
|
UIProcess/API/Cocoa/_WKContextMenuElementInfo.h
|
|
|
|
UIProcess/API/Cocoa/_WKCustomHeaderFields.h
|
|
|
|
UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKDownload.h
|
|
|
|
UIProcess/API/Cocoa/_WKDownloadDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKElementAction.h
|
|
|
|
UIProcess/API/Cocoa/_WKErrorRecoveryAttempting.h
|
|
|
|
UIProcess/API/Cocoa/_WKExperimentalFeature.h
|
|
|
|
UIProcess/API/Cocoa/_WKFindDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKFindOptions.h
|
|
|
|
UIProcess/API/Cocoa/_WKFocusedElementInfo.h
|
|
|
|
UIProcess/API/Cocoa/_WKFormInputSession.h
|
|
|
|
UIProcess/API/Cocoa/_WKFrameTreeNode.h
|
|
|
|
UIProcess/API/Cocoa/_WKFullscreenDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKGeolocationCoreLocationProvider.h
|
|
|
|
UIProcess/API/Cocoa/_WKGeolocationPosition.h
|
|
|
|
UIProcess/API/Cocoa/_WKIconLoadingDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKInputDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspector.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorDebuggableInfo.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorExtension.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorExtensionDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorExtensionHost.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorPrivate.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorPrivateForTesting.h
|
|
|
|
UIProcess/API/Cocoa/_WKInspectorWindow.h
|
2021-04-26 21:37:26 +00:00
|
|
|
UIProcess/API/Cocoa/_WKInternalDebugFeature.h
|
2021-04-06 03:19:14 +00:00
|
|
|
UIProcess/API/Cocoa/_WKLayoutMode.h
|
|
|
|
UIProcess/API/Cocoa/_WKLinkIconParameters.h
|
|
|
|
UIProcess/API/Cocoa/_WKOverlayScrollbarStyle.h
|
|
|
|
UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/_WKPublicKeyCredentialCreationOptions.h
|
|
|
|
UIProcess/API/Cocoa/_WKPublicKeyCredentialDescriptor.h
|
|
|
|
UIProcess/API/Cocoa/_WKPublicKeyCredentialEntity.h
|
|
|
|
UIProcess/API/Cocoa/_WKPublicKeyCredentialParameters.h
|
|
|
|
UIProcess/API/Cocoa/_WKPublicKeyCredentialRelyingPartyEntity.h
|
|
|
|
UIProcess/API/Cocoa/_WKPublicKeyCredentialRequestOptions.h
|
|
|
|
UIProcess/API/Cocoa/_WKPublicKeyCredentialUserEntity.h
|
|
|
|
UIProcess/API/Cocoa/_WKRemoteWebInspectorViewController.h
|
|
|
|
UIProcess/API/Cocoa/_WKRemoteWebInspectorViewControllerPrivate.h
|
|
|
|
UIProcess/API/Cocoa/_WKResourceLoadDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKResourceLoadInfo.h
|
|
|
|
UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstParty.h
|
|
|
|
UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.h
|
|
|
|
UIProcess/API/Cocoa/_WKSessionState.h
|
|
|
|
UIProcess/API/Cocoa/_WKTextInputContext.h
|
|
|
|
UIProcess/API/Cocoa/_WKTextManipulationConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/_WKTextManipulationDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKTextManipulationExclusionRule.h
|
|
|
|
UIProcess/API/Cocoa/_WKTextManipulationItem.h
|
|
|
|
UIProcess/API/Cocoa/_WKTextManipulationToken.h
|
|
|
|
UIProcess/API/Cocoa/_WKThumbnailView.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserContentExtensionStore.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserContentFilter.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserContentFilterPrivate.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserContentWorld.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserInitiatedAction.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserStyleSheet.h
|
|
|
|
UIProcess/API/Cocoa/_WKUserVerificationRequirement.h
|
|
|
|
UIProcess/API/Cocoa/_WKVisitedLinkStore.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebAuthenticationAssertionResponse.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebAuthenticationPanel.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebAuthenticationPanelForTesting.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebsiteDataSize.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebsiteDataStore.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebsiteDataStoreDelegate.h
|
|
|
|
UIProcess/API/Cocoa/_WKWebsitePolicies.h
|
|
|
|
|
2021-04-26 21:37:26 +00:00
|
|
|
UIProcess/API/ios/WKWebViewPrivateForTestingIOS.h
|
|
|
|
|
|
|
|
UIProcess/API/mac/WKWebViewPrivateForTestingMac.h
|
|
|
|
|
|
|
|
UIProcess/Cocoa/WKShareSheet.h
|
|
|
|
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessBundleParameters.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInEditingDelegate.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFormDelegatePrivate.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInHitTestResult.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInLoadDelegate.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandlePrivate.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.h
|
|
|
|
WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInScriptWorld.h
|
|
|
|
|
2021-04-06 03:19:14 +00:00
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMDocument.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMElement.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMInternals.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMNode.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMNodePrivate.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMRange.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMRangePrivate.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMText.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h
|
|
|
|
WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInPrivate.h
|
2015-10-22 21:17:59 +00:00
|
|
|
)
|
|
|
|
|
2017-09-19 00:29:31 +00:00
|
|
|
set(WebKit_FORWARDING_HEADERS_DIRECTORIES
|
2015-10-29 20:01:20 +00:00
|
|
|
Platform
|
2015-10-23 23:55:41 +00:00
|
|
|
Shared
|
2015-10-29 20:01:20 +00:00
|
|
|
|
2016-04-01 16:45:58 +00:00
|
|
|
NetworkProcess/Downloads
|
|
|
|
|
|
|
|
Platform/IPC
|
|
|
|
|
2015-10-29 20:01:20 +00:00
|
|
|
Shared/API
|
|
|
|
Shared/Cocoa
|
|
|
|
|
2015-10-22 21:17:59 +00:00
|
|
|
Shared/API/Cocoa
|
2015-03-20 18:18:41 +00:00
|
|
|
Shared/API/c
|
2015-06-09 09:46:19 +00:00
|
|
|
|
2015-10-28 19:34:29 +00:00
|
|
|
Shared/API/c/cf
|
2015-03-26 22:53:46 +00:00
|
|
|
Shared/API/c/mac
|
2015-06-09 09:46:19 +00:00
|
|
|
|
2015-03-20 18:18:41 +00:00
|
|
|
UIProcess/Cocoa
|
2015-06-09 09:46:19 +00:00
|
|
|
|
|
|
|
UIProcess/API/C
|
2016-04-06 21:51:56 +00:00
|
|
|
|
2017-01-30 17:04:18 +00:00
|
|
|
UIProcess/API/C/Cocoa
|
2016-04-06 21:51:56 +00:00
|
|
|
UIProcess/API/C/mac
|
2015-10-28 19:34:29 +00:00
|
|
|
UIProcess/API/cpp
|
2020-02-04 23:36:21 +00:00
|
|
|
UIProcess/API/ios
|
2015-06-09 09:46:19 +00:00
|
|
|
|
2015-10-23 23:55:41 +00:00
|
|
|
WebProcess/InjectedBundle/API/Cocoa
|
2015-06-09 09:46:19 +00:00
|
|
|
WebProcess/InjectedBundle/API/c
|
2015-10-23 23:55:41 +00:00
|
|
|
WebProcess/InjectedBundle/API/mac
|
|
|
|
)
|
|
|
|
|
2016-04-01 16:45:58 +00:00
|
|
|
# FIXME: Forwarding headers should be complete copies of the header.
|
|
|
|
set(WebKitLegacyForwardingHeaders
|
2016-04-06 21:51:56 +00:00
|
|
|
DOM.h
|
|
|
|
DOMCore.h
|
2016-04-01 16:45:58 +00:00
|
|
|
DOMElement.h
|
|
|
|
DOMException.h
|
|
|
|
DOMObject.h
|
|
|
|
DOMPrivate.h
|
|
|
|
WebApplicationCache.h
|
|
|
|
WebCache.h
|
|
|
|
WebCoreStatistics.h
|
2016-04-06 21:51:56 +00:00
|
|
|
WebDOMOperations.h
|
2016-04-01 16:45:58 +00:00
|
|
|
WebDOMOperationsPrivate.h
|
2017-09-16 18:46:44 +00:00
|
|
|
WebDatabaseManagerPrivate.h
|
2016-04-01 16:45:58 +00:00
|
|
|
WebDataSource.h
|
|
|
|
WebDataSourcePrivate.h
|
|
|
|
WebDefaultPolicyDelegate.h
|
|
|
|
WebDeviceOrientation.h
|
|
|
|
WebDeviceOrientationProviderMock.h
|
|
|
|
WebDocument.h
|
|
|
|
WebDocumentPrivate.h
|
|
|
|
WebDynamicScrollBarsView.h
|
2016-04-04 22:47:34 +00:00
|
|
|
WebEditingDelegate.h
|
2016-04-01 16:45:58 +00:00
|
|
|
WebFrame.h
|
|
|
|
WebFramePrivate.h
|
|
|
|
WebFrameViewPrivate.h
|
|
|
|
WebGeolocationPosition.h
|
|
|
|
WebHTMLRepresentation.h
|
|
|
|
WebHTMLView.h
|
|
|
|
WebHTMLViewPrivate.h
|
|
|
|
WebHistory.h
|
|
|
|
WebHistoryItem.h
|
|
|
|
WebHistoryItemPrivate.h
|
|
|
|
WebHistoryPrivate.h
|
|
|
|
WebIconDatabasePrivate.h
|
2019-10-02 03:12:49 +00:00
|
|
|
WebInspector.h
|
2016-04-01 16:45:58 +00:00
|
|
|
WebInspectorPrivate.h
|
|
|
|
WebKitNSStringExtras.h
|
|
|
|
WebNSURLExtras.h
|
|
|
|
WebNavigationData.h
|
|
|
|
WebNotification.h
|
|
|
|
WebPluginDatabase.h
|
|
|
|
WebPolicyDelegate.h
|
|
|
|
WebPolicyDelegatePrivate.h
|
|
|
|
WebPreferenceKeysPrivate.h
|
|
|
|
WebPreferences.h
|
|
|
|
WebPreferencesPrivate.h
|
|
|
|
WebQuotaManager.h
|
|
|
|
WebScriptWorld.h
|
|
|
|
WebSecurityOriginPrivate.h
|
2017-09-16 18:46:44 +00:00
|
|
|
WebStorageManagerPrivate.h
|
2016-04-01 16:45:58 +00:00
|
|
|
WebTypesInternal.h
|
|
|
|
WebUIDelegate.h
|
|
|
|
WebUIDelegatePrivate.h
|
|
|
|
WebView.h
|
|
|
|
WebViewPrivate
|
|
|
|
WebViewPrivate.h
|
|
|
|
)
|
|
|
|
|
2016-08-22 20:13:36 +00:00
|
|
|
set(ObjCForwardingHeaders
|
2016-04-01 16:45:58 +00:00
|
|
|
DOMAbstractView.h
|
|
|
|
DOMAttr.h
|
|
|
|
DOMBeforeLoadEvent.h
|
|
|
|
DOMBlob.h
|
|
|
|
DOMCDATASection.h
|
|
|
|
DOMCSSCharsetRule.h
|
|
|
|
DOMCSSFontFaceRule.h
|
|
|
|
DOMCSSImportRule.h
|
|
|
|
DOMCSSKeyframeRule.h
|
|
|
|
DOMCSSKeyframesRule.h
|
|
|
|
DOMCSSMediaRule.h
|
|
|
|
DOMCSSPageRule.h
|
|
|
|
DOMCSSPrimitiveValue.h
|
|
|
|
DOMCSSRule.h
|
|
|
|
DOMCSSRuleList.h
|
|
|
|
DOMCSSStyleDeclaration.h
|
|
|
|
DOMCSSStyleRule.h
|
|
|
|
DOMCSSStyleSheet.h
|
|
|
|
DOMCSSSupportsRule.h
|
|
|
|
DOMCSSUnknownRule.h
|
|
|
|
DOMCSSValue.h
|
|
|
|
DOMCSSValueList.h
|
|
|
|
DOMCharacterData.h
|
|
|
|
DOMComment.h
|
|
|
|
DOMCounter.h
|
|
|
|
DOMDOMImplementation.h
|
|
|
|
DOMDOMNamedFlowCollection.h
|
|
|
|
DOMDOMTokenList.h
|
|
|
|
DOMDocument.h
|
|
|
|
DOMDocumentFragment.h
|
|
|
|
DOMDocumentType.h
|
|
|
|
DOMElement.h
|
|
|
|
DOMEntity.h
|
|
|
|
DOMEntityReference.h
|
|
|
|
DOMEvent.h
|
|
|
|
DOMEventException.h
|
|
|
|
DOMEventListener.h
|
|
|
|
DOMEventTarget.h
|
|
|
|
DOMFile.h
|
|
|
|
DOMFileList.h
|
|
|
|
DOMHTMLAnchorElement.h
|
|
|
|
DOMHTMLAppletElement.h
|
|
|
|
DOMHTMLAreaElement.h
|
|
|
|
DOMHTMLBRElement.h
|
|
|
|
DOMHTMLBaseElement.h
|
|
|
|
DOMHTMLBaseFontElement.h
|
|
|
|
DOMHTMLBodyElement.h
|
|
|
|
DOMHTMLButtonElement.h
|
|
|
|
DOMHTMLCanvasElement.h
|
|
|
|
DOMHTMLCollection.h
|
|
|
|
DOMHTMLDListElement.h
|
|
|
|
DOMHTMLDirectoryElement.h
|
|
|
|
DOMHTMLDivElement.h
|
|
|
|
DOMHTMLDocument.h
|
|
|
|
DOMHTMLElement.h
|
|
|
|
DOMHTMLEmbedElement.h
|
|
|
|
DOMHTMLFieldSetElement.h
|
|
|
|
DOMHTMLFontElement.h
|
|
|
|
DOMHTMLFormElement.h
|
|
|
|
DOMHTMLFrameElement.h
|
|
|
|
DOMHTMLFrameSetElement.h
|
|
|
|
DOMHTMLHRElement.h
|
|
|
|
DOMHTMLHeadElement.h
|
|
|
|
DOMHTMLHeadingElement.h
|
|
|
|
DOMHTMLHtmlElement.h
|
|
|
|
DOMHTMLIFrameElement.h
|
|
|
|
DOMHTMLImageElement.h
|
|
|
|
DOMHTMLInputElement.h
|
|
|
|
DOMHTMLInputElementPrivate.h
|
|
|
|
DOMHTMLLIElement.h
|
|
|
|
DOMHTMLLabelElement.h
|
|
|
|
DOMHTMLLegendElement.h
|
|
|
|
DOMHTMLLinkElement.h
|
|
|
|
DOMHTMLMapElement.h
|
|
|
|
DOMHTMLMarqueeElement.h
|
|
|
|
DOMHTMLMediaElement.h
|
|
|
|
DOMHTMLMenuElement.h
|
|
|
|
DOMHTMLMetaElement.h
|
|
|
|
DOMHTMLModElement.h
|
|
|
|
DOMHTMLOListElement.h
|
|
|
|
DOMHTMLObjectElement.h
|
|
|
|
DOMHTMLOptGroupElement.h
|
|
|
|
DOMHTMLOptionElement.h
|
|
|
|
DOMHTMLOptionsCollection.h
|
|
|
|
DOMHTMLParagraphElement.h
|
|
|
|
DOMHTMLParamElement.h
|
|
|
|
DOMHTMLPreElement.h
|
|
|
|
DOMHTMLQuoteElement.h
|
|
|
|
DOMHTMLScriptElement.h
|
|
|
|
DOMHTMLSelectElement.h
|
|
|
|
DOMHTMLStyleElement.h
|
|
|
|
DOMHTMLTableCaptionElement.h
|
|
|
|
DOMHTMLTableCellElement.h
|
|
|
|
DOMHTMLTableColElement.h
|
|
|
|
DOMHTMLTableElement.h
|
|
|
|
DOMHTMLTableRowElement.h
|
|
|
|
DOMHTMLTableSectionElement.h
|
|
|
|
DOMHTMLTextAreaElement.h
|
|
|
|
DOMHTMLTitleElement.h
|
|
|
|
DOMHTMLUListElement.h
|
|
|
|
DOMHTMLVideoElement.h
|
2016-04-01 17:55:25 +00:00
|
|
|
DOMImplementation.h
|
2016-04-01 16:45:58 +00:00
|
|
|
DOMKeyboardEvent.h
|
|
|
|
DOMMediaError.h
|
|
|
|
DOMMediaList.h
|
|
|
|
DOMMessageEvent.h
|
|
|
|
DOMMessagePort.h
|
|
|
|
DOMMouseEvent.h
|
|
|
|
DOMMutationEvent.h
|
|
|
|
DOMNamedNodeMap.h
|
|
|
|
DOMNode.h
|
|
|
|
DOMNodeFilter.h
|
|
|
|
DOMNodeIterator.h
|
|
|
|
DOMNodeList.h
|
|
|
|
DOMOverflowEvent.h
|
|
|
|
DOMProcessingInstruction.h
|
|
|
|
DOMProgressEvent.h
|
|
|
|
DOMRGBColor.h
|
|
|
|
DOMRange.h
|
|
|
|
DOMRangeException.h
|
|
|
|
DOMRect.h
|
|
|
|
DOMStyleSheet.h
|
|
|
|
DOMStyleSheetList.h
|
|
|
|
DOMText.h
|
|
|
|
DOMTextEvent.h
|
|
|
|
DOMTimeRanges.h
|
|
|
|
DOMTreeWalker.h
|
|
|
|
DOMUIEvent.h
|
|
|
|
DOMValidityState.h
|
|
|
|
DOMWebKitCSSFilterValue.h
|
|
|
|
DOMWebKitCSSRegionRule.h
|
|
|
|
DOMWebKitCSSTransformValue.h
|
|
|
|
DOMWebKitNamedFlow.h
|
|
|
|
DOMWheelEvent.h
|
|
|
|
DOMXPathException.h
|
|
|
|
DOMXPathExpression.h
|
|
|
|
DOMXPathNSResolver.h
|
|
|
|
DOMXPathResult.h
|
|
|
|
)
|
|
|
|
|
2019-10-02 20:35:03 +00:00
|
|
|
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-compatibility_version 1 -current_version ${WEBKIT_MAC_VERSION}")
|
2019-10-03 18:15:59 +00:00
|
|
|
target_link_options(WebKit PRIVATE -weak_framework SafariSafeBrowsing -lsandbox -framework AuthKit)
|
2016-04-06 05:31:07 +00:00
|
|
|
|
2017-09-19 00:29:31 +00:00
|
|
|
set(WebKit_OUTPUT_NAME WebKit)
|
2017-10-05 19:09:53 +00:00
|
|
|
|
|
|
|
# XPC Services
|
|
|
|
|
|
|
|
function(WEBKIT_DEFINE_XPC_SERVICES)
|
2019-10-02 20:35:03 +00:00
|
|
|
set(RUNLOOP_TYPE _WebKit)
|
2017-10-05 19:09:53 +00:00
|
|
|
set(WebKit_XPC_SERVICE_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/WebKit.framework/Versions/A/XPCServices)
|
|
|
|
WEBKIT_CREATE_SYMLINK(WebProcess ${WebKit_XPC_SERVICE_DIR} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/WebKit.framework/XPCServices)
|
|
|
|
|
|
|
|
function(WEBKIT_XPC_SERVICE _target _bundle_identifier _info_plist _executable_name)
|
|
|
|
set(_service_dir ${WebKit_XPC_SERVICE_DIR}/${_bundle_identifier}.xpc/Contents)
|
|
|
|
make_directory(${_service_dir}/MacOS)
|
|
|
|
make_directory(${_service_dir}/_CodeSignature)
|
|
|
|
make_directory(${_service_dir}/Resources)
|
|
|
|
|
|
|
|
# FIXME: These version strings don't match Xcode's.
|
|
|
|
set(BUNDLE_VERSION ${WEBKIT_VERSION})
|
|
|
|
set(SHORT_VERSION_STRING ${WEBKIT_VERSION_MAJOR})
|
|
|
|
set(BUNDLE_VERSION ${WEBKIT_VERSION})
|
|
|
|
set(EXECUTABLE_NAME ${_executable_name})
|
|
|
|
set(PRODUCT_BUNDLE_IDENTIFIER ${_bundle_identifier})
|
|
|
|
set(PRODUCT_NAME ${_bundle_identifier})
|
|
|
|
configure_file(${_info_plist} ${_service_dir}/Info.plist)
|
|
|
|
|
|
|
|
set_target_properties(${_target} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${_service_dir}/MacOS")
|
|
|
|
endfunction()
|
|
|
|
|
|
|
|
WEBKIT_XPC_SERVICE(WebProcess
|
|
|
|
"com.apple.WebKit.WebContent"
|
2019-06-05 21:11:39 +00:00
|
|
|
${WEBKIT_DIR}/WebProcess/EntryPoint/Cocoa/XPCService/WebContentService/Info-OSX.plist
|
2020-04-06 03:02:54 +00:00
|
|
|
${WebProcess_OUTPUT_NAME})
|
2017-10-05 19:09:53 +00:00
|
|
|
|
|
|
|
WEBKIT_XPC_SERVICE(NetworkProcess
|
|
|
|
"com.apple.WebKit.Networking"
|
2019-06-05 21:11:39 +00:00
|
|
|
${WEBKIT_DIR}/NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkService/Info-OSX.plist
|
2020-04-06 03:02:54 +00:00
|
|
|
${NetworkProcess_OUTPUT_NAME})
|
2017-10-05 19:09:53 +00:00
|
|
|
|
2019-10-31 17:33:30 +00:00
|
|
|
set(WebKit_RESOURCES_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/WebKit.framework/Versions/A/Resources)
|
|
|
|
add_custom_command(OUTPUT ${WebKit_RESOURCES_DIR}/com.apple.WebProcess.sb COMMAND
|
2021-04-06 03:19:14 +00:00
|
|
|
grep -o "^[^;]*" ${WEBKIT_DIR}/WebProcess/com.apple.WebProcess.sb.in | clang -E -P -w -include wtf/Platform.h -I ${WTF_FRAMEWORK_HEADERS_DIR} - > ${WebKit_RESOURCES_DIR}/com.apple.WebProcess.sb
|
2019-10-31 17:33:30 +00:00
|
|
|
VERBATIM)
|
|
|
|
add_custom_command(OUTPUT ${WebKit_RESOURCES_DIR}/com.apple.WebKit.NetworkProcess.sb COMMAND
|
2021-04-06 03:19:14 +00:00
|
|
|
grep -o "^[^;]*" ${WEBKIT_DIR}/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in | clang -E -P -w -include wtf/Platform.h -I ${WTF_FRAMEWORK_HEADERS_DIR} - > ${WebKit_RESOURCES_DIR}/com.apple.WebKit.NetworkProcess.sb
|
2019-10-31 17:33:30 +00:00
|
|
|
VERBATIM)
|
|
|
|
add_custom_target(WebKitSandboxProfiles ALL DEPENDS ${WebKit_RESOURCES_DIR}/com.apple.WebProcess.sb ${WebKit_RESOURCES_DIR}/com.apple.WebKit.NetworkProcess.sb)
|
|
|
|
add_dependencies(WebKit WebKitSandboxProfiles)
|
|
|
|
|
2019-10-02 03:12:49 +00:00
|
|
|
add_custom_command(OUTPUT ${WebKit_XPC_SERVICE_DIR}/com.apple.WebKit.WebContent.xpc/Contents/Resources/WebContentProcess.nib COMMAND
|
2017-10-05 19:09:53 +00:00
|
|
|
ibtool --compile ${WebKit_XPC_SERVICE_DIR}/com.apple.WebKit.WebContent.xpc/Contents/Resources/WebContentProcess.nib ${WEBKIT_DIR}/Resources/WebContentProcess.xib
|
|
|
|
VERBATIM)
|
2019-10-02 03:12:49 +00:00
|
|
|
add_custom_target(WebContentProcessNib ALL DEPENDS ${WebKit_XPC_SERVICE_DIR}/com.apple.WebKit.WebContent.xpc/Contents/Resources/WebContentProcess.nib)
|
2017-10-05 19:09:53 +00:00
|
|
|
add_dependencies(WebKit WebContentProcessNib)
|
2017-11-29 21:31:07 +00:00
|
|
|
endfunction()
|