Rid the world of WK_API_ENABLED
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Mar 2019 05:12:47 +0000 (05:12 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Mar 2019 05:12:47 +0000 (05:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195263

Reviewed by Dan Bernstein.

List of changed files elided because it's useless.

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

675 files changed:
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/Downloads/cocoa/DownloadCocoa.mm
Source/WebKit/NetworkProcess/Downloads/cocoa/WKDownloadProgress.h
Source/WebKit/NetworkProcess/Downloads/cocoa/WKDownloadProgress.mm
Source/WebKit/NetworkProcess/mac/NetworkProcessMac.mm
Source/WebKit/Shared/API/APIObject.h
Source/WebKit/Shared/API/Cocoa/RemoteObjectRegistry.mm
Source/WebKit/Shared/API/Cocoa/WKBrowsingContextHandle.h
Source/WebKit/Shared/API/Cocoa/WKBrowsingContextHandle.mm
Source/WebKit/Shared/API/Cocoa/WKBrowsingContextHandleInternal.h
Source/WebKit/Shared/API/Cocoa/WKDataDetectorTypes.h
Source/WebKit/Shared/API/Cocoa/WKDataDetectorTypesInternal.h
Source/WebKit/Shared/API/Cocoa/WKDragDestinationAction.h
Source/WebKit/Shared/API/Cocoa/WKFoundation.h
Source/WebKit/Shared/API/Cocoa/WKRemoteObject.h
Source/WebKit/Shared/API/Cocoa/WKRemoteObject.mm
Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.h
Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm
Source/WebKit/Shared/API/Cocoa/_WKFrameHandle.h
Source/WebKit/Shared/API/Cocoa/_WKFrameHandle.mm
Source/WebKit/Shared/API/Cocoa/_WKFrameHandleInternal.h
Source/WebKit/Shared/API/Cocoa/_WKHitTestResult.h
Source/WebKit/Shared/API/Cocoa/_WKHitTestResult.mm
Source/WebKit/Shared/API/Cocoa/_WKHitTestResultInternal.h
Source/WebKit/Shared/API/Cocoa/_WKNSWindowExtras.h
Source/WebKit/Shared/API/Cocoa/_WKNSWindowExtras.mm
Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.h
Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.mm
Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterfaceInternal.h
Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.h
Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm
Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistryInternal.h
Source/WebKit/Shared/API/Cocoa/_WKRenderingProgressEvents.h
Source/WebKit/Shared/API/Cocoa/_WKRenderingProgressEventsInternal.h
Source/WebKit/Shared/API/Cocoa/_WKSameDocumentNavigationType.h
Source/WebKit/Shared/API/c/cf/WKStringCF.mm
Source/WebKit/Shared/API/c/cf/WKURLCF.mm
Source/WebKit/Shared/Cocoa/APIObject.mm
Source/WebKit/Shared/Cocoa/CompletionHandlerCallChecker.h
Source/WebKit/Shared/Cocoa/CompletionHandlerCallChecker.mm
Source/WebKit/Shared/Cocoa/WKNSArray.h
Source/WebKit/Shared/Cocoa/WKNSArray.mm
Source/WebKit/Shared/Cocoa/WKNSData.h
Source/WebKit/Shared/Cocoa/WKNSData.mm
Source/WebKit/Shared/Cocoa/WKNSDictionary.h
Source/WebKit/Shared/Cocoa/WKNSDictionary.mm
Source/WebKit/Shared/Cocoa/WKNSError.h
Source/WebKit/Shared/Cocoa/WKNSError.mm
Source/WebKit/Shared/Cocoa/WKNSNumber.h
Source/WebKit/Shared/Cocoa/WKNSNumber.mm
Source/WebKit/Shared/Cocoa/WKNSString.h
Source/WebKit/Shared/Cocoa/WKNSString.mm
Source/WebKit/Shared/Cocoa/WKNSURL.h
Source/WebKit/Shared/Cocoa/WKNSURL.mm
Source/WebKit/Shared/Cocoa/WKNSURLRequest.h
Source/WebKit/Shared/Cocoa/WKNSURLRequest.mm
Source/WebKit/Shared/Cocoa/WKObject.h
Source/WebKit/Shared/Cocoa/WKObject.mm
Source/WebKit/Shared/Plugins/mac/PluginSandboxProfile.mm
Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm
Source/WebKit/Shared/mac/ObjCObjectGraph.mm
Source/WebKit/UIProcess/API/C/mac/WKPagePrivateMac.mm
Source/WebKit/UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardList.h
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardList.mm
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardListInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardListItem.h
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardListItem.mm
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardListItemInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardListItemPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKBackForwardListPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextController.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextController.mm
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextControllerInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextControllerPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextGroup.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextGroup.mm
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextGroupInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextGroupPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextHistoryDelegate.h
Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextLoadDelegate.h
Source/WebKit/UIProcess/API/Cocoa/WKConnection.h
Source/WebKit/UIProcess/API/Cocoa/WKConnection.mm
Source/WebKit/UIProcess/API/Cocoa/WKConnectionInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleList.h
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleList.mm
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleListInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleListStore.h
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleListStore.mm
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleListStoreInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleListStorePrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKError.h
Source/WebKit/UIProcess/API/Cocoa/WKError.mm
Source/WebKit/UIProcess/API/Cocoa/WKErrorInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKErrorPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKFrameInfo.h
Source/WebKit/UIProcess/API/Cocoa/WKFrameInfo.mm
Source/WebKit/UIProcess/API/Cocoa/WKFrameInfoInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKFrameInfoPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKHTTPCookieStore.h
Source/WebKit/UIProcess/API/Cocoa/WKHTTPCookieStore.mm
Source/WebKit/UIProcess/API/Cocoa/WKHTTPCookieStoreInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKHistoryDelegatePrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKMenuItemIdentifiers.mm
Source/WebKit/UIProcess/API/Cocoa/WKMenuItemIdentifiersPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKNSURLAuthenticationChallenge.h
Source/WebKit/UIProcess/API/Cocoa/WKNSURLAuthenticationChallenge.mm
Source/WebKit/UIProcess/API/Cocoa/WKNavigation.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigation.mm
Source/WebKit/UIProcess/API/Cocoa/WKNavigationAction.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationAction.mm
Source/WebKit/UIProcess/API/Cocoa/WKNavigationActionInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationActionPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationData.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationData.mm
Source/WebKit/UIProcess/API/Cocoa/WKNavigationDataInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegate.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponse.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponse.mm
Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponseInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponsePrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKOpenPanelParameters.h
Source/WebKit/UIProcess/API/Cocoa/WKOpenPanelParameters.mm
Source/WebKit/UIProcess/API/Cocoa/WKOpenPanelParametersInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKOpenPanelParametersPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKPreferences.h
Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
Source/WebKit/UIProcess/API/Cocoa/WKPreferencesInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItem.h
Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItem.mm
Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.h
Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm
Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItemInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKPreviewElementInfo.h
Source/WebKit/UIProcess/API/Cocoa/WKPreviewElementInfo.mm
Source/WebKit/UIProcess/API/Cocoa/WKPreviewElementInfoInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKProcessGroup.h
Source/WebKit/UIProcess/API/Cocoa/WKProcessGroup.mm
Source/WebKit/UIProcess/API/Cocoa/WKProcessGroupPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKProcessPool.h
Source/WebKit/UIProcess/API/Cocoa/WKProcessPool.mm
Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKScriptMessage.h
Source/WebKit/UIProcess/API/Cocoa/WKScriptMessage.mm
Source/WebKit/UIProcess/API/Cocoa/WKScriptMessageHandler.h
Source/WebKit/UIProcess/API/Cocoa/WKScriptMessageInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKSecurityOrigin.h
Source/WebKit/UIProcess/API/Cocoa/WKSecurityOrigin.mm
Source/WebKit/UIProcess/API/Cocoa/WKSecurityOriginInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKSnapshotConfiguration.h
Source/WebKit/UIProcess/API/Cocoa/WKSnapshotConfiguration.mm
Source/WebKit/UIProcess/API/Cocoa/WKTypeRefWrapper.h
Source/WebKit/UIProcess/API/Cocoa/WKTypeRefWrapper.mm
Source/WebKit/UIProcess/API/Cocoa/WKUIDelegate.h
Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeHandler.h
Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTask.h
Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTask.mm
Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTaskInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTaskPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.h
Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.mm
Source/WebKit/UIProcess/API/Cocoa/WKUserContentControllerInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKUserContentControllerPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKUserScript.h
Source/WebKit/UIProcess/API/Cocoa/WKUserScript.mm
Source/WebKit/UIProcess/API/Cocoa/WKUserScriptInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKUserScriptPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKView.h
Source/WebKit/UIProcess/API/Cocoa/WKViewPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKWebView.h
Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.h
Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecord.h
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecord.mm
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecordInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.h
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStoreInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKWindowFeatures.h
Source/WebKit/UIProcess/API/Cocoa/WKWindowFeatures.mm
Source/WebKit/UIProcess/API/Cocoa/WKWindowFeaturesInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKWindowFeaturesPrivate.h
Source/WebKit/UIProcess/API/Cocoa/_WKActivatedElementInfo.h
Source/WebKit/UIProcess/API/Cocoa/_WKActivatedElementInfo.mm
Source/WebKit/UIProcess/API/Cocoa/_WKActivatedElementInfoInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.h
Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.mm
Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifestInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKAttachment.h
Source/WebKit/UIProcess/API/Cocoa/_WKAttachment.mm
Source/WebKit/UIProcess/API/Cocoa/_WKAutomationDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSession.h
Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSession.mm
Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionConfiguration.h
Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionConfiguration.mm
Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfo.h
Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm
Source/WebKit/UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKDownload.h
Source/WebKit/UIProcess/API/Cocoa/_WKDownload.mm
Source/WebKit/UIProcess/API/Cocoa/_WKDownloadDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKDownloadInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.h
Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.mm
Source/WebKit/UIProcess/API/Cocoa/_WKElementActionInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKErrorRecoveryAttempting.h
Source/WebKit/UIProcess/API/Cocoa/_WKErrorRecoveryAttempting.mm
Source/WebKit/UIProcess/API/Cocoa/_WKExperimentalFeature.h
Source/WebKit/UIProcess/API/Cocoa/_WKExperimentalFeature.mm
Source/WebKit/UIProcess/API/Cocoa/_WKExperimentalFeatureInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKFindDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKFindOptions.h
Source/WebKit/UIProcess/API/Cocoa/_WKFocusedElementInfo.h
Source/WebKit/UIProcess/API/Cocoa/_WKFormInputSession.h
Source/WebKit/UIProcess/API/Cocoa/_WKFullscreenDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKGeolocationCoreLocationProvider.h
Source/WebKit/UIProcess/API/Cocoa/_WKGeolocationPosition.h
Source/WebKit/UIProcess/API/Cocoa/_WKGeolocationPosition.mm
Source/WebKit/UIProcess/API/Cocoa/_WKGeolocationPositionInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKIconLoadingDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKInputDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKInspector.h
Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm
Source/WebKit/UIProcess/API/Cocoa/_WKInspectorInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKInspectorWindow.h
Source/WebKit/UIProcess/API/Cocoa/_WKInspectorWindow.mm
Source/WebKit/UIProcess/API/Cocoa/_WKInternalDebugFeature.h
Source/WebKit/UIProcess/API/Cocoa/_WKInternalDebugFeature.mm
Source/WebKit/UIProcess/API/Cocoa/_WKInternalDebugFeatureInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKLayoutMode.h
Source/WebKit/UIProcess/API/Cocoa/_WKLinkIconParameters.h
Source/WebKit/UIProcess/API/Cocoa/_WKLinkIconParameters.mm
Source/WebKit/UIProcess/API/Cocoa/_WKLinkIconParametersInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h
Source/WebKit/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm
Source/WebKit/UIProcess/API/Cocoa/_WKProcessPoolConfigurationInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKRemoteWebInspectorViewController.h
Source/WebKit/UIProcess/API/Cocoa/_WKRemoteWebInspectorViewController.mm
Source/WebKit/UIProcess/API/Cocoa/_WKSessionState.h
Source/WebKit/UIProcess/API/Cocoa/_WKSessionState.mm
Source/WebKit/UIProcess/API/Cocoa/_WKSessionStateInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.h
Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.mm
Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailViewInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStore.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStore.mm
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStoreInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentFilter.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentFilter.mm
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentFilterInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentFilterPrivate.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentWorld.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentWorld.mm
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentWorldInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserInitiatedAction.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserInitiatedAction.mm
Source/WebKit/UIProcess/API/Cocoa/_WKUserInitiatedActionInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.h
Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.mm
Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheetInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKVisitedLinkStore.h
Source/WebKit/UIProcess/API/Cocoa/_WKVisitedLinkStore.mm
Source/WebKit/UIProcess/API/Cocoa/_WKVisitedLinkStoreInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataSize.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataSize.mm
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataSizeInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStore.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStore.mm
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.mm
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreConfigurationInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreDelegate.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsitePolicies.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsitePolicies.mm
Source/WebKit/UIProcess/API/Cocoa/_WKWebsitePoliciesInternal.h
Source/WebKit/UIProcess/API/mac/WKView.mm
Source/WebKit/UIProcess/API/mac/WKViewInternal.h
Source/WebKit/UIProcess/Cocoa/AutomationClient.h
Source/WebKit/UIProcess/Cocoa/AutomationClient.mm
Source/WebKit/UIProcess/Cocoa/AutomationSessionClient.h
Source/WebKit/UIProcess/Cocoa/AutomationSessionClient.mm
Source/WebKit/UIProcess/Cocoa/DiagnosticLoggingClient.h
Source/WebKit/UIProcess/Cocoa/DiagnosticLoggingClient.mm
Source/WebKit/UIProcess/Cocoa/DownloadClient.h
Source/WebKit/UIProcess/Cocoa/DownloadClient.mm
Source/WebKit/UIProcess/Cocoa/FindClient.h
Source/WebKit/UIProcess/Cocoa/FindClient.mm
Source/WebKit/UIProcess/Cocoa/FullscreenClient.h
Source/WebKit/UIProcess/Cocoa/FullscreenClient.mm
Source/WebKit/UIProcess/Cocoa/IconLoadingDelegate.h
Source/WebKit/UIProcess/Cocoa/IconLoadingDelegate.mm
Source/WebKit/UIProcess/Cocoa/MediaCaptureUtilities.h
Source/WebKit/UIProcess/Cocoa/MediaCaptureUtilities.mm
Source/WebKit/UIProcess/Cocoa/NavigationState.h
Source/WebKit/UIProcess/Cocoa/NavigationState.mm
Source/WebKit/UIProcess/Cocoa/PageClientImplCocoa.mm
Source/WebKit/UIProcess/Cocoa/SessionStateCoding.mm
Source/WebKit/UIProcess/Cocoa/UIDelegate.h
Source/WebKit/UIProcess/Cocoa/UIDelegate.mm
Source/WebKit/UIProcess/Cocoa/WKReloadFrameErrorRecoveryAttempter.h
Source/WebKit/UIProcess/Cocoa/WKReloadFrameErrorRecoveryAttempter.mm
Source/WebKit/UIProcess/Cocoa/WKShareSheet.h
Source/WebKit/UIProcess/Cocoa/WKShareSheet.mm
Source/WebKit/UIProcess/Cocoa/WKWebViewContentProvider.h
Source/WebKit/UIProcess/Cocoa/WKWebViewContentProviderRegistry.h
Source/WebKit/UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm
Source/WebKit/UIProcess/Cocoa/WebProcessProxyCocoa.mm
Source/WebKit/UIProcess/Cocoa/WebURLSchemeHandlerCocoa.mm
Source/WebKit/UIProcess/Cocoa/WebViewImpl.h
Source/WebKit/UIProcess/Cocoa/WebViewImpl.mm
Source/WebKit/UIProcess/Gamepad/mac/UIGamepadProviderMac.mm
Source/WebKit/UIProcess/PageClient.h
Source/WebKit/UIProcess/WebInspectorProxy.cpp
Source/WebKit/UIProcess/WebInspectorProxy.h
Source/WebKit/UIProcess/WebPageProxy.h
Source/WebKit/UIProcess/ios/WKContentView.mm
Source/WebKit/UIProcess/mac/PageClientImplMac.h
Source/WebKit/UIProcess/mac/PageClientImplMac.mm
Source/WebKit/UIProcess/mac/RemoteWebInspectorProxyMac.mm
Source/WebKit/UIProcess/mac/WKInspectorViewController.h
Source/WebKit/UIProcess/mac/WKInspectorViewController.mm
Source/WebKit/UIProcess/mac/WKInspectorWKWebView.h
Source/WebKit/UIProcess/mac/WKInspectorWKWebView.mm
Source/WebKit/UIProcess/mac/WKTextFinderClient.h
Source/WebKit/UIProcess/mac/WKTextFinderClient.mm
Source/WebKit/UIProcess/mac/WebContextMenuProxyMac.mm
Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm
Source/WebKit/UIProcess/mac/WebPageProxyMac.mm
Source/WebKit/UIProcess/mac/WebProcessProxyMac.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessBundleParameters.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessBundleParameters.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInEditingDelegate.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFormDelegatePrivate.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrameInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInHitTestResult.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInHitTestResult.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInHitTestResultInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandleInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandlePrivate.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroupInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandleInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInScriptWorld.h
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInScriptWorld.mm
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInScriptWorldInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundle.cpp
Source/WebKit/WebProcess/InjectedBundle/API/c/mac/WKBundleMac.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMDocument.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMElement.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMElement.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMInternals.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMNode.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMNode.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMNodePrivate.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMRange.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMRange.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMRangePrivate.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMText.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMText.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInInternal.h
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInPrivate.h
Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h
Source/WebKit/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm
Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
Tools/ChangeLog
Tools/MiniBrowser/mac/AppDelegate.h
Tools/MiniBrowser/mac/AppDelegate.m
Tools/MiniBrowser/mac/ExtensionManagerWindowController.h
Tools/MiniBrowser/mac/ExtensionManagerWindowController.m
Tools/MiniBrowser/mac/SettingsController.m
Tools/MiniBrowser/mac/WK2BrowserWindowController.h
Tools/MiniBrowser/mac/WK2BrowserWindowController.m
Tools/TestWebKitAPI/EditingTestHarness.h
Tools/TestWebKitAPI/EditingTestHarness.mm
Tools/TestWebKitAPI/PlatformUtilities.h
Tools/TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm
Tools/TestWebKitAPI/Tests/WebCore/LineBreaking.mm
Tools/TestWebKitAPI/Tests/WebKit/FirstVisuallyNonEmptyMilestoneWithDeferredScript.mm
Tools/TestWebKitAPI/Tests/WebKit/GetUserMediaNavigation.mm
Tools/TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm
Tools/TestWebKitAPI/Tests/WebKit/MediaStreamTrackDetached.mm
Tools/TestWebKitAPI/Tests/WebKit/NetworkProcessCrashWithPendingConnection.mm
Tools/TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm
Tools/TestWebKitAPI/Tests/WebKit/ResponsivenessTimerCrash.mm
Tools/TestWebKitAPI/Tests/WebKit/ViewportSizeForViewportUnits.mm
Tools/TestWebKitAPI/Tests/WebKit/WKBackForwardList.mm
Tools/TestWebKitAPI/Tests/WebKit/WKThumbnailView.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/ContextMenuImgWithVideo.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/CustomBundleParameter.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AVFoundationPreference.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLs.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsPlugin.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsProtocol.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalSupportedImageTypes.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AlwaysRevalidatedURLSchemes.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AsyncPolicyForNavigationResponse.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AttrStyle.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AutoFillAvailable.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AutoLayoutIntegration.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegatePlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegateProtocol.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleParameters.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleParametersPlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandle.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandlePlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandleProtocol.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/BundleRetainPagePlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CancelFontSubresource.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CancelFontSubresourcePlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ClickAutoFillButton.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewAfterEnterFullscreen.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewDuringEnterFullscreen.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Coding.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CommandBackForward.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Configuration.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentFiltering.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentFilteringPlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CookieAcceptPolicy.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CookiePrivateBrowsing.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Copying.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CustomUserAgent.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DidResignInputElementStrongPasswordAppearance.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoading.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DoubleDefersLoadingPlugin.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DownloadProgress.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DragAndDropTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DuplicateCompletionHandlerCalls.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FrameHandleSerialization.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FullscreenDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FullscreenLayoutConstraints.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FullscreenTopContentInset.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Geolocation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/GetResourceData.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IDBDeleteRecovery.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IDBIndexUpgradeToV2.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IconLoadingDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBDatabaseProcessKill.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBMultiProcess.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBPersistence.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBStructuredCloneBackwardCompatibility.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBTempFileSize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBUserDelete.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/InjectedBundleNodeHandleIsSelectElement.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/InjectedBundleNodeHandleIsTextField.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/JITEnabled.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/JavaScriptDuringNavigation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadAlternateHTMLString.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadDataWithNilMIMEType.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadFileThenReload.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LocalStorageClear.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LocalStorageDatabaseTracker.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LocalStorageNullEntries.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LocalStoragePersistence.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LocalStorageQuirkTest.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/MessagePortProviders.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ModalAlerts.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NavigationAction.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NetworkProcessCrashNonPersistentDataStore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ObservedRenderingProgressEventsAfterCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/OpenAndCloseWindow.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/OverrideContentSecurityPolicy.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PageOverlayPlugin.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ParserYieldTokenPlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ParserYieldTokenTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteWebArchive.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PictureInPictureDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PluginLoadClientPolicies.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Preferences.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PreferredAudioBufferSize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PrepareForMoveToWindow.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessPreWarming.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSuspendMediaBuffering.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RemoteObjectRegistry.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/RemoteObjectRegistry.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RemoteObjectRegistryPlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptions.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptionsPlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RenderingProgress.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RenderingProgressPlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RenderingProgressProtocol.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/RequiresUserActionForPlayback.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ResponsivenessTimer.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ResponsivenessTimerDoesntFireEarly.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RestoreSessionStateWithoutNavigation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RunOpenPanel.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RunScriptAfterDocumentLoad.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/SchemeRegistry.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ShouldGoToBackForwardListItem.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ShouldOpenExternalURLsInNewWindowActions.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/SnapshotStore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/StopSuspendResumeAllMedia.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/StoreBlobThenDelete.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/SystemColors.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TabOutOfWebView.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TestURLSchemeHandler.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/TestURLSchemeHandler.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UseSelectionAsFindString.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentWorld.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentWorldPlugIn.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentWorldProtocol.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserInitiatedActionInNavigationAction.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserMediaDisabled.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserMediaSimulateFailedSandbox.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/VideoQualityDisplayCompositing.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/VisibleContentRect.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/VisitedLinkStore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKContentExtensionStore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKNSDictionaryEmptyDictionaryCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKNSNumber.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKObject.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPDFViewResizeCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPDFViewStablePresentationUpdateCallback.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKProcessPoolConfiguration.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-1.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-leaks.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewAlwaysShowsScroller.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewCandidateTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewConfiguration.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewDefaultNavigationDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewDiagnosticLogging.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewDoesNotLogDuringInitialization.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEditActions.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEvaluateJavaScript.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewFindString.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewGetContents.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewServerTrustKVC.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewTextInput.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebContentProcessDidTerminate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebGLPolicy.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebProcessKillIDBCleanup.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebProcessTerminate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKUserContentExtensionStore.mm
Tools/TestWebKitAPI/Tests/WebKitObjC/CustomProtocolsInvalidScheme.mm
Tools/TestWebKitAPI/Tests/WebKitObjC/CustomProtocolsTest.mm
Tools/TestWebKitAPI/Tests/WebKitObjC/PreventImageLoadWithAutoResizing.mm
Tools/TestWebKitAPI/Tests/WebKitObjC/UserContentTest.mm
Tools/TestWebKitAPI/Tests/WebKitObjC/WKBrowsingContextGroupTest.mm
Tools/TestWebKitAPI/Tests/WebKitObjC/WKBrowsingContextLoadDelegateTest.mm
Tools/TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm
Tools/TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm
Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm
Tools/TestWebKitAPI/Tests/ios/RenderingProgressTests.mm
Tools/TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm
Tools/TestWebKitAPI/Tests/ios/SynchronousTimeoutTests.mm
Tools/TestWebKitAPI/Tests/ios/TestInputDelegate.h
Tools/TestWebKitAPI/Tests/ios/TestInputDelegate.mm
Tools/TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm
Tools/TestWebKitAPI/Tests/ios/UIPasteboardTests.mm
Tools/TestWebKitAPI/Tests/ios/WKScrollViewTests.mm
Tools/TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm
Tools/TestWebKitAPI/Tests/mac/BackgroundColor.mm
Tools/TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm
Tools/TestWebKitAPI/Tests/mac/DragAndDropTestsMac.mm
Tools/TestWebKitAPI/Tests/mac/FirstResponderSuppression.mm
Tools/TestWebKitAPI/Tests/mac/FontManagerTests.mm
Tools/TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm
Tools/TestWebKitAPI/Tests/mac/LimitTitleSize.mm
Tools/TestWebKitAPI/Tests/mac/LoadWebArchive.mm
Tools/TestWebKitAPI/Tests/mac/NavigatorLanguage.mm
Tools/TestWebKitAPI/Tests/mac/WKWebViewMacEditingTests.mm
Tools/TestWebKitAPI/WKWebViewConfigurationExtras.h
Tools/TestWebKitAPI/WKWebViewConfigurationExtras.mm
Tools/TestWebKitAPI/cocoa/DragAndDropSimulator.h
Tools/TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm
Tools/TestWebKitAPI/cocoa/TestNavigationDelegate.h
Tools/TestWebKitAPI/cocoa/TestNavigationDelegate.mm
Tools/TestWebKitAPI/cocoa/TestProtocol.mm
Tools/TestWebKitAPI/cocoa/TestWKWebView.h
Tools/TestWebKitAPI/cocoa/TestWKWebView.mm
Tools/TestWebKitAPI/cocoa/WebProcessPlugIn/WebProcessPlugIn.mm
Tools/TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm
Tools/TestWebKitAPI/mac/DragAndDropSimulatorMac.mm
Tools/TestWebKitAPI/mac/NSFontPanelTesting.h
Tools/TestWebKitAPI/mac/NSFontPanelTesting.mm
Tools/TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h
Tools/TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.mm
Tools/TestWebKitAPI/mac/TestDraggingInfo.h
Tools/TestWebKitAPI/mac/TestDraggingInfo.mm
Tools/TestWebKitAPI/mac/TestFilePromiseReceiver.h
Tools/TestWebKitAPI/mac/TestFilePromiseReceiver.mm
Tools/TestWebKitAPI/mac/TestFontOptions.h
Tools/TestWebKitAPI/mac/TestFontOptions.mm
Tools/TestWebKitAPI/mac/TestInspectorBar.h
Tools/TestWebKitAPI/mac/TestInspectorBar.mm
Tools/WebKitTestRunner/PlatformWebView.h
Tools/WebKitTestRunner/UIScriptControllerCocoa.mm
Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm
Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.h
Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.mm
Tools/WebKitTestRunner/cocoa/TestWebsiteDataStoreDelegate.h
Tools/WebKitTestRunner/cocoa/TestWebsiteDataStoreDelegate.mm
Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm
Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm
Tools/WebKitTestRunner/mac/TestControllerMac.mm
Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm

index c0104a5..e9910bc 100644 (file)
@@ -1,3 +1,12 @@
+2019-03-03  Tim Horton  <timothy_horton@apple.com>
+
+        Rid the world of WK_API_ENABLED
+        https://bugs.webkit.org/show_bug.cgi?id=195263
+
+        Reviewed by Dan Bernstein.
+
+        List of changed files elided because it's useless.
+
 2019-03-03  Jiewen Tan  <jiewen_tan@apple.com>
 
         Add a WebViewDidMoveToWindowObserver for WKWebView
index d6d8c9a..006e400 100644 (file)
@@ -100,7 +100,6 @@ void Download::platformDestroyDownload()
 
 void Download::publishProgress(const URL& url, SandboxExtension::Handle&& sandboxExtensionHandle)
 {
-#if WK_API_ENABLED
     ASSERT(!m_progress);
     ASSERT(url.isValid());
 
@@ -114,10 +113,6 @@ void Download::publishProgress(const URL& url, SandboxExtension::Handle&& sandbo
 #else
     [m_progress publish];
 #endif
-#else
-    UNUSED_PARAM(url);
-    UNUSED_PARAM(sandboxExtensionHandle);
-#endif // not WK_API_ENABLED
 }
 
 }
index 2b763af..8ca4f5d 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/NSProgress.h>
 #import <wtf/RefPtr.h>
 
@@ -46,5 +44,3 @@ NS_ASSUME_NONNULL_BEGIN
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif // WK_API_ENABLED
index f1a7127..81b5937 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKDownloadProgress.h"
 
-#if WK_API_ENABLED
-
 #import "Download.h"
 #import <pal/spi/cocoa/NSProgressSPI.h>
 #import <wtf/BlockPtr.h>
@@ -137,5 +135,3 @@ static NSString * const countOfBytesReceivedKeyPath = @"countOfBytesReceived";
 }
 
 @end
-
-#endif // WK_API_ENABLED
index c68b4e5..35c3a29 100644 (file)
@@ -88,11 +88,7 @@ void NetworkProcess::allowSpecificHTTPSCertificateForHost(const CertificateInfo&
 void NetworkProcess::initializeSandbox(const AuxiliaryProcessInitializationParameters& parameters, SandboxInitializationParameters& sandboxParameters)
 {
     // Need to overide the default, because service has a different bundle ID.
-#if WK_API_ENABLED
     NSBundle *webKit2Bundle = [NSBundle bundleForClass:NSClassFromString(@"WKWebView")];
-#else
-    NSBundle *webKit2Bundle = [NSBundle bundleForClass:NSClassFromString(@"WKView")];
-#endif
 
     sandboxParameters.setOverrideSandboxProfilePath([webKit2Bundle pathForResource:@"com.apple.WebKit.NetworkProcess" ofType:@"sb"]);
 
index f589e69..1ca1b29 100644 (file)
@@ -37,7 +37,7 @@
 #endif
 #endif
 
-#define DELEGATE_REF_COUNTING_TO_COCOA (PLATFORM(COCOA) && WK_API_ENABLED)
+#define DELEGATE_REF_COUNTING_TO_COCOA PLATFORM(COCOA)
 
 #if DELEGATE_REF_COUNTING_TO_COCOA
 OBJC_CLASS NSObject;
@@ -225,7 +225,7 @@ public:
     static void* wrap(API::Object*);
     static API::Object* unwrap(void*);
 
-#if PLATFORM(COCOA) && WK_API_ENABLED && defined(__OBJC__)
+#if PLATFORM(COCOA) && defined(__OBJC__)
     static API::Object& fromWKObjectExtraSpace(id <WKObject>);
 #endif
 
index 80dcef7..f5413c5 100644 (file)
@@ -79,9 +79,7 @@ void RemoteObjectRegistry::sendUnusedReply(uint64_t replyID)
 
 void RemoteObjectRegistry::invokeMethod(const RemoteObjectInvocation& invocation)
 {
-#if WK_API_ENABLED
     [m_remoteObjectRegistry _invokeMethod:invocation];
-#endif
 }
 
 void RemoteObjectRegistry::callReplyBlock(uint64_t replyID, const UserData& blockInvocation)
@@ -89,9 +87,7 @@ void RemoteObjectRegistry::callReplyBlock(uint64_t replyID, const UserData& bloc
     bool wasRemoved = m_pendingReplies.remove(replyID);
     ASSERT_UNUSED(wasRemoved, wasRemoved);
 
-#if WK_API_ENABLED
     [m_remoteObjectRegistry _callReplyWithID:replyID blockInvocation:blockInvocation];
-#endif
 }
 
 void RemoteObjectRegistry::releaseUnusedReplyBlock(uint64_t replyID)
@@ -99,8 +95,6 @@ void RemoteObjectRegistry::releaseUnusedReplyBlock(uint64_t replyID)
     bool wasRemoved = m_pendingReplies.remove(replyID);
     ASSERT_UNUSED(wasRemoved, wasRemoved);
 
-#if WK_API_ENABLED
     [m_remoteObjectRegistry _releaseReplyWithID:replyID];
-#endif
 }
 } // namespace WebKit
index 169487d..4484cd3 100644 (file)
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @interface WKBrowsingContextHandle : NSObject <NSSecureCoding>
 @end
-
-#endif
index e74002e..58cb1dd 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKBrowsingContextHandleInternal.h"
 
-#if WK_API_ENABLED
-
 @implementation WKBrowsingContextHandle
 
 - (id)_initWithPageID:(uint64_t)pageID
@@ -74,5 +72,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 8ecc734..2a9e646 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKBrowsingContextHandle.h"
 
-#if WK_API_ENABLED
-
 @interface WKBrowsingContextHandle ()
 
 @property (nonatomic, readonly, getter = _pageID) uint64_t pageID;
@@ -34,5 +32,3 @@
 - (id)_initWithPageID:(uint64_t)pageID;
 
 @end
-
-#endif // WK_API_ENABLED
index 58874a4..e30e9f3 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -60,5 +58,3 @@ typedef NS_OPTIONS(NSUInteger, WKDataDetectorTypes) {
 #endif
 
 NS_ASSUME_NONNULL_END
-
-#endif
index e19c5c6..3e8f02e 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKDataDetectorTypes.h"
 
-#if WK_API_ENABLED
-
 #if PLATFORM(IOS_FAMILY)
 
 #import <WebCore/DataDetection.h>
@@ -58,5 +56,3 @@ static inline WebCore::DataDetectorTypes fromWKDataDetectorTypes(uint64_t types)
 }
 
 #endif
-
-#endif
index f937650..1dda4a9 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 typedef NS_OPTIONS(NSUInteger, WKDragDestinationAction) {
@@ -36,5 +34,3 @@ typedef NS_OPTIONS(NSUInteger, WKDragDestinationAction) {
     WKDragDestinationActionLoad    = 4,
     WKDragDestinationActionAny     = NSUIntegerMax
 } WK_API_AVAILABLE(macosx(10.13), ios(11.0));
-
-#endif
index 8c2098c..90c5ead 100644 (file)
 #import <Availability.h>
 #import <TargetConditionals.h>
 
-#if !defined(WK_API_ENABLED)
-#define WK_API_ENABLED 1
-#endif
-
 #ifdef __cplusplus
 #define WK_EXTERN extern "C" __attribute__((visibility ("default")))
 #else
index 4abf2c9..3bbb493 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 @class _WKRemoteObjectInterface;
 @class _WKRemoteObjectRegistry;
 
@@ -35,5 +33,3 @@
 - (instancetype)_initWithObjectRegistry:(_WKRemoteObjectRegistry *)objectRegistry interface:(_WKRemoteObjectInterface *)interface;
 
 @end
-
-#endif // WK_API_ENABLED
index 94f558b..28ec69c 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKRemoteObject.h"
 
-#if WK_API_ENABLED
-
 #import "_WKRemoteObjectInterface.h"
 #import "_WKRemoteObjectRegistryInternal.h"
 #import <objc/runtime.h>
@@ -91,6 +89,3 @@ static const char* methodArgumentTypeEncodingForSelector(Protocol *protocol, SEL
 }
 
 @end
-
-#endif // WK_API_ENABLED
-
index 7975260..21a650f 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 namespace API {
 class Dictionary;
 }
@@ -44,5 +42,3 @@ class Dictionary;
 - (id)initWithInterface:(_WKRemoteObjectInterface *)interface rootObjectDictionary:(const API::Dictionary*)rootObjectDictionary replyToSelector:(SEL)replyToSelector;
 
 @end
-
-#endif // WK_API_ENABLED
index 8d1f1ac..8a615bb 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKRemoteObjectCoder.h"
 
-#if WK_API_ENABLED
-
 #import "APIArray.h"
 #import "APIData.h"
 #import "APIDictionary.h"
@@ -782,5 +780,3 @@ static id decodeObject(WKRemoteObjectDecoder *decoder, const API::Dictionary* di
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 32bf784..e8749db 100644 (file)
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @interface _WKFrameHandle : NSObject <NSCopying, NSSecureCoding>
 
 @end
-
-#endif // WK_API_ENABLED
index c48031c..a41a613 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "_WKFrameHandleInternal.h"
 
-#if WK_API_ENABLED
-
 @implementation _WKFrameHandle {
     API::ObjectStorage<API::FrameHandle> _frameHandle;
 }
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 8384625..48536a5 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "_WKFrameHandle.h"
 
-#if WK_API_ENABLED
-
 #import "APIFrameHandle.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<API::FrameHandle> {
 @property (nonatomic, readonly) uint64_t _frameID;
 
 @end
-
-#endif // WK_API_ENABLED
index d583ae0..03c1b6b 100644 (file)
@@ -25,7 +25,7 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED && !TARGET_OS_IPHONE
+#if !TARGET_OS_IPHONE
 
 #import <Foundation/Foundation.h>
 
@@ -47,4 +47,4 @@ WK_CLASS_AVAILABLE(macosx(10.12))
 
 @end
 
-#endif // WK_API_ENABLED
+#endif // !TARGET_OS_IPHONE
index 320be9a..a672bf9 100644 (file)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "_WKHitTestResultInternal.h"
 
-#if WK_API_ENABLED && PLATFORM(MAC)
+#if PLATFORM(MAC)
 
 @implementation _WKHitTestResult
 
index c98fbc8..8a4e501 100644 (file)
@@ -25,7 +25,7 @@
 
 #import "_WKHitTestResult.h"
 
-#if WK_API_ENABLED && PLATFORM(MAC)
+#if PLATFORM(MAC)
 
 #import "APIHitTestResult.h"
 #import "WKObject.h"
index a0b228b..ee4d83a 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #if !TARGET_OS_IPHONE
 
 @interface NSWindow (WKExtras)
@@ -36,5 +34,3 @@
 @end
 
 #endif // !TARGET_OS_IPHONE
-
-#endif // WK_API_ENABLED
index 872014b..3ecd78c 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "_WKNSWindowExtras.h"
 
-#if WK_API_ENABLED
-
 #if !TARGET_OS_IPHONE
 
 #import "_WKInspectorWindow.h"
@@ -42,5 +40,3 @@
 @end
 
 #endif // !TARGET_OS_IPHONE
-
-#endif // WK_API_ENABLED
index 651bc70..69c516c 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
@@ -47,5 +45,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 - (void)setClasses:(NSSet *)classes forSelector:(SEL)selector argumentIndex:(NSUInteger)argumentIndex;
 
 @end
-
-#endif // WK_API_ENABLED
index 6e28a2a..23f1676 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "_WKRemoteObjectInterfaceInternal.h"
 
-#if WK_API_ENABLED
-
 #import <objc/runtime.h>
 #import <wtf/HashMap.h>
 #import <wtf/NeverDestroyed.h>
@@ -362,5 +360,3 @@ static const char* methodArgumentTypeEncodingForSelector(Protocol *protocol, SEL
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 45ef0a7..2a040c6 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "_WKRemoteObjectInterface.h"
 
-#if WK_API_ENABLED
-
 #import <wtf/Forward.h>
 #import <wtf/HashSet.h>
 #import <wtf/Vector.h>
@@ -39,5 +37,3 @@
 - (const Vector<HashSet<CFTypeRef>>&)_allowedArgumentClassesForReplyBlockOfSelector:(SEL)selector;
 
 @end
-
-#endif // WK_API_ENABLED
index a91f3db..19124eb 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 @class _WKRemoteObjectInterface;
@@ -40,5 +38,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 - (id)remoteObjectProxyWithInterface:(_WKRemoteObjectInterface *)interface;
 
 @end
-
-#endif // WK_API_ENABLED
index ba65f79..2ef2ba5 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "_WKRemoteObjectRegistryInternal.h"
 
-#if WK_API_ENABLED
-
 #import "APIDictionary.h"
 #import "BlockSPI.h"
 #import "Connection.h"
@@ -319,5 +317,3 @@ static uint64_t generateReplyIdentifier()
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 770e931..949e438 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "_WKRemoteObjectRegistry.h"
 
-#if WK_API_ENABLED
-
 namespace IPC {
 class MessageSender;
 }
@@ -54,5 +52,3 @@ class WebPageProxy;
 - (void)_releaseReplyWithID:(uint64_t)replyID;
 
 @end
-
-#endif // WK_API_ENABLED
index 7935974..9a60515 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 typedef NS_OPTIONS(NSUInteger, _WKRenderingProgressEvents) {
     _WKRenderingProgressEventFirstLayout = 1 << 0,
     _WKRenderingProgressEventFirstVisuallyNonEmptyLayout WK_API_AVAILABLE(macosx(10.11), ios(9.0)) = 1 << 1,
@@ -38,5 +36,3 @@ typedef NS_OPTIONS(NSUInteger, _WKRenderingProgressEvents) {
     _WKRenderingProgressEventDidRenderSignificantAmountOfText WK_API_AVAILABLE(macosx(10.14), ios(12.0)) = 1 << 7,
     _WKRenderingProgressEventFirstMeaningfulPaint WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)) = 1 << 8,
 } WK_API_AVAILABLE(macosx(10.10), ios(8.0));
-
-#endif
index 2169df8..3d056a8 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "_WKRenderingProgressEvents.h"
 
-#if WK_API_ENABLED
-
 #import <WebCore/LayoutMilestone.h>
 
 static inline _WKRenderingProgressEvents renderingProgressEvents(OptionSet<WebCore::LayoutMilestone> milestones)
@@ -59,5 +57,3 @@ static inline _WKRenderingProgressEvents renderingProgressEvents(OptionSet<WebCo
 
     return events;
 }
-
-#endif
index 7d02840..7a6a18e 100644 (file)
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 typedef NS_ENUM(NSInteger, _WKSameDocumentNavigationType) {
     _WKSameDocumentNavigationTypeAnchorNavigation,
     _WKSameDocumentNavigationTypeSessionStatePush,
     _WKSameDocumentNavigationTypeSessionStateReplace,
     _WKSameDocumentNavigationTypeSessionStatePop,
 } WK_API_AVAILABLE(macosx(10.10), ios(8.0));
-
-#endif
index 3028e1e..826fe6b 100644 (file)
@@ -31,7 +31,6 @@
 #import <objc/runtime.h>
 #import <wtf/text/WTFString.h>
 
-#if WK_API_ENABLED
 static inline Class wkNSStringClass()
 {
     static dispatch_once_t once;
@@ -41,15 +40,12 @@ static inline Class wkNSStringClass()
     });
     return wkNSStringClass;
 }
-#endif // WK_API_ENABLED
 
 WKStringRef WKStringCreateWithCFString(CFStringRef cfString)
 {
-#if WK_API_ENABLED
     // Since WKNSString is an internal class with no subclasses, we can do a simple equality check.
     if (object_getClass((__bridge NSString *)cfString) == wkNSStringClass())
         return WebKit::toAPI(static_cast<API::String*>(&[(WKNSString *)(__bridge NSString *)CFRetain(cfString) _apiObject]));
-#endif
     String string(cfString);
     return WebKit::toCopiedAPI(string);
 }
index bd91a45..7eaa5fd 100644 (file)
@@ -32,7 +32,6 @@
 #import <wtf/cf/CFURLExtras.h>
 #import <wtf/text/CString.h>
 
-#if WK_API_ENABLED
 static inline Class wkNSURLClass()
 {
     static dispatch_once_t once;
@@ -42,18 +41,15 @@ static inline Class wkNSURLClass()
     });
     return wkNSURLClass;
 }
-#endif // WK_API_ENABLED
 
 WKURLRef WKURLCreateWithCFURL(CFURLRef cfURL)
 {
     if (!cfURL)
         return 0;
 
-#if WK_API_ENABLED
     // Since WKNSURL is an internal class with no subclasses, we can do a simple equality check.
     if (object_getClass((__bridge NSURL *)cfURL) == wkNSURLClass())
         return WebKit::toAPI(static_cast<API::URL*>(&[(WKNSURL *)(__bridge NSURL *)CFRetain(cfURL) _apiObject]));
-#endif
 
     CString urlBytes;
     WTF::getURLBytes(cfURL, urlBytes);
index 57f1d44..c0a4505 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "APIObject.h"
 
-#if WK_API_ENABLED
-
 #import "WKBackForwardListInternal.h"
 #import "WKBackForwardListItemInternal.h"
 #import "WKBrowsingContextControllerInternal.h"
@@ -402,5 +400,3 @@ API::Object* Object::unwrap(void* object)
 }
 
 } // namespace API
-
-#endif // WK_API_ENABLED
index 0522334..b09b17a 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import <wtf/Forward.h>
 #import <wtf/ThreadSafeRefCounted.h>
 
@@ -52,5 +50,3 @@ private:
 };
 
 } // namespace WebKit
-
-#endif // WK_API_ENABLED
index 42083e6..16e5bbd 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "CompletionHandlerCallChecker.h"
 
-#if WK_API_ENABLED
-
 #import <mutex>
 #import <objc/runtime.h>
 #import <wtf/Ref.h>
@@ -101,5 +99,3 @@ Class CompletionHandlerCallChecker::classImplementingDelegateMethod() const
 }
 
 } // namespace WebKit
-
-#endif // WK_API_ENABLED
index 374b67c..1724b05 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APIArray.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::Array> {
 
 @interface WKNSArray : NSArray <WKObject>
 @end
-
-#endif // WK_API_ENABLED
index a51b4da..d61b645 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSArray.h"
 
-#if WK_API_ENABLED
-
 @implementation WKNSArray {
     API::ObjectStorage<API::Array> _array;
 }
@@ -67,5 +65,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 5e4f7d9..1845170 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APIData.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::Data> {
 
 @interface WKNSData : NSData <WKObject>
 @end
-
-#endif // WK_API_ENABLED
index 9d80f34..a11af3f 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "WKNSData.h"
 
-#if WK_API_ENABLED
-
 @implementation WKNSData {
     API::ObjectStorage<API::Data> _data;
 }
@@ -66,5 +64,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 047b28b..8722432 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APIDictionary.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::Dictionary> {
 
 @interface WKNSDictionary : NSDictionary <WKObject>
 @end
-
-#endif // WK_API_ENABLED
index 4c477ab..6fe5c55 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSDictionary.h"
 
-#if WK_API_ENABLED
-
 #import "WKNSArray.h"
 
 using namespace WebKit;
@@ -89,5 +87,3 @@ using namespace WebKit;
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 93da117..9dd60b7 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APIError.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::Error> {
 
 @interface WKNSError : WKObject <NSCopying>
 @end
-
-#endif // WK_API_ENABLED
index 94204de..060c9bd 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSError.h"
 
-#if WK_API_ENABLED
-
 #import "APIError.h"
 
 @implementation WKNSError
@@ -45,5 +43,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 4a9c638..420f752 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APINumber.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<typename NumberType, API::Object::Type APIObjectType> struct WrapperTra
     API::Object::Type _type;
 }
 @end
-
-#endif // WK_API_ENABLED
index 588eed7..fe672ab 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSNumber.h"
 
-#if WK_API_ENABLED
-
 using namespace WebKit;
 
 @implementation WKNSNumber {
@@ -162,5 +160,3 @@ using namespace WebKit;
 }
 
 @end
-
-#endif // WK_API_ENABLED
index e5919aa..67635bb 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APIString.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::String> {
 
 @interface WKNSString : WKObject <NSCopying>
 @end
-
-#endif // WK_API_ENABLED
index 6369ce9..0edd347 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSString.h"
 
-#if WK_API_ENABLED
-
 #import "APIString.h"
 #import <wtf/RetainPtr.h>
 
@@ -59,5 +57,3 @@ using namespace WebKit;
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 2145fee..7f99166 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APIURL.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::URL> {
 
 @interface WKNSURL : WKObject <NSCopying>
 @end
-
-#endif // WK_API_ENABLED
index ba6fb36..a34407f 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSURL.h"
 
-#if WK_API_ENABLED
-
 #import "APIURL.h"
 #import "WKAPICast.h"
 #import "WKURLCF.h"
@@ -47,5 +45,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index d884966..ffd9e43 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "APIURLRequest.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::URLRequest> {
 
 @interface WKNSURLRequest : WKObject <NSCopying>
 @end
-
-#endif // WK_API_ENABLED
index 70f5f8d..d0c91f7 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSURLRequest.h"
 
-#if WK_API_ENABLED
-
 #import "WKNSURLExtras.h"
 
 @implementation WKNSURLRequest
@@ -50,5 +48,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index d7fd714..0e1b1c6 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import <type_traits>
 #import <wtf/RefPtr.h>
 
@@ -106,5 +104,3 @@ using WebKit::wrapper;
 - (NSObject *)_web_createTarget NS_RETURNS_RETAINED;
 
 @end
-
-#endif // WK_API_ENABLED
index 034ef72..7366105 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKObject.h"
 
-#if WK_API_ENABLED
-
 #import "APIObject.h"
 
 @interface NSObject ()
@@ -261,5 +259,3 @@ static inline void initializeTargetIfNeeded(WKObject *self)
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 63c9bca..64540fb 100644 (file)
@@ -35,11 +35,7 @@ namespace WebKit {
 
 static NSString *pluginSandboxProfileDirectory()
 {
-#if WK_API_ENABLED
     NSBundle *bundle = [NSBundle bundleForClass:NSClassFromString(@"WKWebView")];
-#else
-    NSBundle *bundle = [NSBundle bundleForClass:NSClassFromString(@"WKView")];
-#endif
     return [[bundle resourcePath] stringByAppendingPathComponent:@"PlugInSandboxProfiles"];
 }
 
index 386443e..7ce95f1 100644 (file)
@@ -491,12 +491,7 @@ static bool tryApplyCachedSandbox(const SandboxInfo& info)
 
 static inline const NSBundle *webKit2Bundle()
 {
-#if WK_API_ENABLED
     const static NSBundle *bundle = [NSBundle bundleForClass:NSClassFromString(@"WKWebView")];
-#else
-    const static NSBundle *bundle = [NSBundle bundleForClass:NSClassFromString(@"WKView")];
-#endif
-
     return bundle;
 }
 
index 9ddef9a..bc04f22 100644 (file)
 #import "ArgumentCodersMac.h"
 #import "Decoder.h"
 #import "Encoder.h"
-#import <wtf/Optional.h>
-
-#if WK_API_ENABLED
 #import "UserData.h"
 #import "WKAPICast.h"
 #import "WKBrowsingContextHandleInternal.h"
 #import "WKTypeRefWrapper.h"
-#endif
+#import <wtf/Optional.h>
 
 namespace WebKit {
 
@@ -107,10 +104,8 @@ enum class ObjCType {
     NSNumber,
     NSString,
 
-#if WK_API_ENABLED
     WKBrowsingContextHandle,
     WKTypeRefWrapper,
-#endif
 };
 
 static Optional<ObjCType> typeFromObject(id object)
@@ -130,14 +125,12 @@ static Optional<ObjCType> typeFromObject(id object)
     if (dynamic_objc_cast<NSString>(object))
         return ObjCType::NSString;
 
-#if WK_API_ENABLED
     if (dynamic_objc_cast<WKBrowsingContextHandle>(object))
         return ObjCType::WKBrowsingContextHandle;
     ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     if (dynamic_objc_cast<WKTypeRefWrapper>(object))
         return ObjCType::WKTypeRefWrapper;
     ALLOW_DEPRECATED_DECLARATIONS_END
-#endif
 
     return WTF::nullopt;
 }
@@ -192,7 +185,6 @@ void ObjCObjectGraph::encode(IPC::Encoder& encoder, id object)
         IPC::encode(encoder, static_cast<NSString *>(object));
         break;
 
-#if WK_API_ENABLED
     case ObjCType::WKBrowsingContextHandle:
         encoder << static_cast<WKBrowsingContextHandle *>(object).pageID;
         break;
@@ -202,7 +194,6 @@ void ObjCObjectGraph::encode(IPC::Encoder& encoder, id object)
         UserData::encode(encoder, toImpl(static_cast<WKTypeRefWrapper *>(object).object));
         ALLOW_DEPRECATED_DECLARATIONS_END
         break;
-#endif
 
     default:
         ASSERT_NOT_REACHED();
@@ -306,7 +297,6 @@ bool ObjCObjectGraph::decode(IPC::Decoder& decoder, RetainPtr<id>& result)
         break;
     }
 
-#if WK_API_ENABLED
     case ObjCType::WKBrowsingContextHandle: {
         uint64_t pageID;
         if (!decoder.decode(pageID))
@@ -326,7 +316,6 @@ bool ObjCObjectGraph::decode(IPC::Decoder& decoder, RetainPtr<id>& result)
         ALLOW_DEPRECATED_DECLARATIONS_END
         break;
     }
-#endif
 
     default:
         return false;
index de18765..f763af6 100644 (file)
@@ -122,7 +122,7 @@ id <_WKObservablePageState> WKPageCreateObservableState(WKPageRef pageRef)
 
 _WKRemoteObjectRegistry *WKPageGetObjectRegistry(WKPageRef pageRef)
 {
-#if WK_API_ENABLED && !TARGET_OS_IPHONE
+#if PLATFORM(MAC)
     return WebKit::toImpl(pageRef)->remoteObjectRegistry();
 #else
     return nil;
@@ -157,14 +157,14 @@ bool WKPageIsPlayingVideoInEnhancedFullscreen(WKPageRef pageRef)
 
 void WKPageSetFullscreenDelegate(WKPageRef page, id <_WKFullscreenDelegate> delegate)
 {
-#if WK_API_ENABLED && ENABLE(FULLSCREEN_API)
+#if ENABLE(FULLSCREEN_API)
     downcast<WebKit::FullscreenClient>(WebKit::toImpl(page)->fullscreenClient()).setDelegate(delegate);
 #endif
 }
 
 id <_WKFullscreenDelegate> WKPageGetFullscreenDelegate(WKPageRef page)
 {
-#if WK_API_ENABLED && ENABLE(FULLSCREEN_API)
+#if ENABLE(FULLSCREEN_API)
     return downcast<WebKit::FullscreenClient>(WebKit::toImpl(page)->fullscreenClient()).delegate().autorelease();
 #else
     return nil;
index 1b5dd03..a2673e2 100644 (file)
@@ -31,8 +31,6 @@
 #import <wtf/NeverDestroyed.h>
 #import <wtf/RunLoop.h>
 
-#if WK_API_ENABLED
-
 namespace API {
 
 class SharedJSContext {
@@ -76,5 +74,3 @@ id SerializedScriptValue::deserialize(WebCore::SerializedScriptValue& serialized
 }
 
 } // API
-
-#endif // WK_API_ENABLED
index f761329..7ee0391 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <WebKit/WKBackForwardListItem.h>
 
 /*! @abstract A WKBackForwardList object is a list of webpages previously
@@ -76,5 +74,3 @@ if there isn't one.
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index e6cf70d..391562d 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKBackForwardListInternal.h"
 
-#if WK_API_ENABLED
-
 #import "WKBackForwardListItemInternal.h"
 #import "WKNSArray.h"
 
@@ -94,5 +92,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index c15856a..84fe958 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKBackForwardList.h"
 
-#if WK_API_ENABLED
-
 #import "WKObject.h"
 #import "WebBackForwardList.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<WebBackForwardList> {
 
 @interface WKBackForwardList () <WKObject>
 @end
-
-#endif // WK_API_ENABLED
index c73c7f8..8d0c0f8 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 /*! A WKBackForwardListItem object represents a webpage in the back-forward list of a web view.
@@ -53,5 +51,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index 6d8d8b3..1247b07 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKBackForwardListItemInternal.h"
 
-#if WK_API_ENABLED
-
 #import "WKNSURLExtras.h"
 
 @implementation WKBackForwardListItem {
@@ -84,5 +82,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index dfd42d7..8fc3988 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKBackForwardListItemPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "WKObject.h"
 #import "WebBackForwardListItem.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<WebBackForwardListItem> {
 @property (readonly) WebKit::WebBackForwardListItem& _item;
 
 @end
-
-#endif // WK_API_ENABLED
index 3d30ac8..b19d47e 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKBackForwardListItem.h>
 
-#if WK_API_ENABLED
-
 @interface WKBackForwardListItem (WKPrivate)
 
 // For testing only.
@@ -35,5 +33,3 @@
 @property (nonatomic) CGPoint _scrollPosition WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA));
 
 @end
-
-#endif
index 35d16be..dd04680 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKBackForwardList.h>
 
-#if WK_API_ENABLED
-
 @interface WKBackForwardList (WKPrivate)
 
 - (void)_removeAllItems;
@@ -35,5 +33,3 @@
 - (void)_clear;
 
 @end
-
-#endif
index ef5fab4..59bef34 100644 (file)
@@ -28,8 +28,6 @@
 #import <WebKit/WKFoundation.h>
 #import <WebKit/WKProcessGroup.h>
 
-#if WK_API_ENABLED
-
 @class WKBackForwardList;
 @class WKBackForwardListItem;
 @protocol WKBrowsingContextHistoryDelegate;
@@ -136,5 +134,3 @@ WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKWebView", macos(10.10, WK_MAC_TBA), ios(
 @property CGFloat pageZoom;
 
 @end
-
-#endif // WK_API_ENABLED
index 7f1fb71..d540cd4 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKBrowsingContextControllerInternal.h"
 
-#if WK_API_ENABLED
-
 #import "APIData.h"
 #import "APINavigation.h"
 #import "ObjCObjectGraph.h"
@@ -726,7 +724,7 @@ IGNORE_WARNINGS_END
 
 - (_WKRemoteObjectRegistry *)_remoteObjectRegistry
 {
-#if WK_API_ENABLED && !TARGET_OS_IPHONE
+#if PLATFORM(MAC)
     return _page->remoteObjectRegistry();
 #else
     return nil;
@@ -745,5 +743,3 @@ IGNORE_WARNINGS_END
 
 @end
 ALLOW_DEPRECATED_DECLARATIONS_END
-
-#endif // WK_API_ENABLED
index 220d0fb..46277a0 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKBrowsingContextControllerPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "WebPageProxy.h"
 #import <wtf/WeakObjCPtr.h>
 
@@ -41,5 +39,3 @@
 - (instancetype)_initWithPageRef:(WKPageRef)pageRef;
 
 @end
-
-#endif // WK_API_ENABLED
index c502fb4..b9b99e9 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKBrowsingContextController.h>
 
-#if WK_API_ENABLED
-
 #import <WebKit/WKBase.h>
 
 typedef NS_ENUM(NSUInteger, WKBrowsingContextPaginationMode) {
@@ -68,5 +66,3 @@ typedef NS_ENUM(NSUInteger, WKBrowsingContextPaginationMode) {
 @property (nonatomic, readonly) pid_t processIdentifier;
 
 @end
-
-#endif // WK_API_ENABLED
index 4fd6e38..81130f3 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 #import <WebKit/WKUserScriptInjectionTime.h>
 
@@ -62,5 +60,3 @@ WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKUserContentController and WKPreferences"
 @property BOOL privateBrowsingEnabled;
 
 @end
-
-#endif // WK_API_ENABLED
index c336066..dabb471 100644 (file)
@@ -27,8 +27,6 @@
 #import "WKBrowsingContextGroupInternal.h"
 #import "WKBrowsingContextGroupPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "APIArray.h"
 #import "APIString.h"
 #import "WKAPICast.h"
@@ -189,5 +187,3 @@ IGNORE_WARNINGS_END
 
 @end
 ALLOW_DEPRECATED_DECLARATIONS_END
-
-#endif // WK_API_ENABLED
index 8325289..b451fac 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKBrowsingContextGroup.h"
 
-#if WK_API_ENABLED
-
 #import "WKObject.h"
 #import "WebPageGroup.h"
 
@@ -42,5 +40,3 @@ template<> struct WrapperTraits<WebPageGroup> {
 
 @interface WKBrowsingContextGroup () <WKObject>
 @end
-
-#endif // WK_API_ENABLED
index 1c57b0c..ddb1c18 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKBrowsingContextGroup.h>
 
-#if WK_API_ENABLED
-
 #import <WebKit/WKBase.h>
 
 @interface WKBrowsingContextGroup (Private)
@@ -34,5 +32,3 @@
 @property(readonly) WKPageGroupRef _pageGroupRef;
 
 @end
-
-#endif // WK_API_ENABLED
index 984f0b1..5f56a22 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 #import <WebKit/WKBrowsingContextController.h>
 #import <WebKit/WKNavigationData.h>
@@ -41,5 +39,3 @@ WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKBackForwardList", macos(10.10, WK_MAC_TB
 - (void)browsingContextController:(WKBrowsingContextController *)browsingContextController didUpdateHistoryTitle:(NSString *)title forURL:(NSURL *)URL;
 
 @end
-
-#endif // WK_API_ENABLED
index e1b3e5d..f9c0253 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 #import <WebKit/WKBrowsingContextController.h>
 
@@ -61,5 +59,3 @@ WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKNavigationDelegate", macos(10.10, WK_MAC
 - (void)browsingContextControllerDidChangeBackForwardList:(WKBrowsingContextController *)sender addedItem:(WKBackForwardListItem *)addedItem removedItems:(NSArray *)removedItems WK_API_DEPRECATED_WITH_REPLACEMENT("WKWebView.backForwardList", macosx(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA));
 
 @end
-
-#endif // WK_API_ENABLED
index 44b050d..e21d981 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 @class WKConnection;
@@ -46,5 +44,3 @@ WK_CLASS_DEPRECATED_WITH_REPLACEMENT("_WKRemoteObjectRegistry", macos(10.10, WK_
 @property (assign) id <WKConnectionDelegate> delegate;
 
 @end
-
-#endif // WK_API_ENABLED
index c76496b..8b82b5c 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKConnectionInternal.h"
 
-#if WK_API_ENABLED
-
 #import "ObjCObjectGraph.h"
 #import "WKRetainPtr.h"
 #import "WKSharedAPICast.h"
@@ -120,5 +118,3 @@ static void setUpClient(WKConnection *wrapper, WebKit::WebConnection& connection
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 6767106..1e727bc 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKConnection.h"
 
-#if WK_API_ENABLED
-
 #import "WKObject.h"
 #import "WebConnection.h"
 
@@ -42,5 +40,3 @@ template<> struct WrapperTraits<WebConnection> {
 
 @interface WKConnection () <WKObject>
 @end
-
-#endif // WK_API_ENABLED
index 8a9ac0e..c422302 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0))
@@ -36,5 +34,3 @@ WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0))
 @property (nonatomic, readonly, copy) NSString *identifier;
 
 @end
-
-#endif // WK_API_ENABLED
index e811664..46003df 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKContentRuleListInternal.h"
 
-#if WK_API_ENABLED
-
 #include "WebCompiledContentRuleList.h"
 
 @implementation WKContentRuleList
@@ -52,5 +50,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index da2e326..77335cf 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKContentRuleList.h"
 
-#if WK_API_ENABLED
-
 #import "APIContentRuleList.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<API::ContentRuleList> {
     API::ObjectStorage<API::ContentRuleList> _contentRuleList;
 }
 @end
-
-#endif // WK_API_ENABLED
index 1064736..dc40478 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 @class WKContentRuleList;
@@ -43,5 +41,3 @@ WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0))
 - (void)getAvailableContentRuleListIdentifiers:(void (^)(NSArray<NSString *>*))completionHandler;
 
 @end
-
-#endif // WK_API_ENABLED
index ba742ae..f082855 100644 (file)
@@ -27,8 +27,6 @@
 #import "WKContentRuleListInternal.h"
 #import "WKContentRuleListStoreInternal.h"
 
-#if WK_API_ENABLED
-
 #import "APIContentRuleListStore.h"
 #import "WKErrorInternal.h"
 #import <wtf/BlockPtr.h>
@@ -181,5 +179,3 @@ static WKErrorCode toWKErrorCode(const std::error_code& error)
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 7e24727..4226c4b 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKContentRuleListStorePrivate.h"
 
-#if WK_API_ENABLED
-
 #import "APIContentRuleListStore.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<API::ContentRuleListStore> {
     API::ObjectStorage<API::ContentRuleListStore> _contentRuleListStore;
 }
 @end
-
-#endif // WK_API_ENABLED
index 53d3fb2..918a5bc 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKContentRuleListStore.h>
 
-#if WK_API_ENABLED
-
 @interface WKContentRuleListStore (WKPrivate)
 
 // For testing only.
@@ -44,5 +42,3 @@
 + (instancetype)storeWithURLAndLegacyFilename:(NSURL *)url;
 
 @end
-
-#endif
index 0e38578..f277e8d 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -59,5 +57,3 @@ typedef NS_ENUM(NSInteger, WKErrorCode) {
 } WK_API_AVAILABLE(macosx(10.10), ios(8.0));
 
 NS_ASSUME_NONNULL_END
-
-#endif
index 36c85de..fcbfc4d 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKErrorInternal.h"
 
-#if WK_API_ENABLED
-
 #import <WebCore/LocalizedStrings.h>
 #import <wtf/RetainPtr.h>
 #import <wtf/text/WTFString.h>
@@ -78,5 +76,3 @@ RetainPtr<NSError> createNSError(WKErrorCode errorCode)
 
     return adoptNS([[NSError alloc] initWithDomain:WKErrorDomain code:errorCode userInfo:userInfo.get()]);
 }
-
-#endif
index 33237d5..261e2e9 100644 (file)
 
 #import "WKErrorPrivate.h"
 
-#if WK_API_ENABLED
-
 #import <wtf/RetainPtr.h>
 #import "GenericCallback.h"
 
 RetainPtr<NSError> createNSError(WKErrorCode);
 NSString *localizedDescriptionForErrorCode(WKErrorCode);
-
-#endif
index d79acde..a4c9026 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKError.h>
 
-#if WK_API_ENABLED
-
 WK_EXTERN NSString * const _WKLegacyErrorDomain WK_API_AVAILABLE(macosx(10.11), ios(8.3));
 
 typedef NS_ENUM(NSInteger, _WKLegacyErrorCode) {
@@ -49,5 +47,3 @@ WK_EXTERN NSString * const _WKJavaScriptExceptionColumnNumberErrorKey WK_API_AVA
 /*! @constant _WKJavaScriptExceptionSourceURLErrorKey Key in userInfo representing
  the exception source URL (as an NSURL) for WKErrorJavaScriptExceptionOccurred errors. */
 WK_EXTERN NSString * const _WKJavaScriptExceptionSourceURLErrorKey WK_API_AVAILABLE(macosx(10.12), ios(10.0));
-
-#endif
index 241af4f..7afbeb8 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 #import <WebKit/WKSecurityOrigin.h>
 #import <WebKit/WKWebView.h>
@@ -61,5 +59,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index 3d1a6de..60ebf13 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKFrameInfoInternal.h"
 
-#if WK_API_ENABLED
-
 #import "WKSecurityOriginInternal.h"
 #import "WKWebViewInternal.h"
 #import "_WKFrameHandleInternal.h"
@@ -90,5 +88,3 @@
 }
 
 @end
-#endif
-
index 4df4761..03cb261 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFrameInfoPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "APIFrameInfo.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<API::FrameInfo> {
     API::ObjectStorage<API::FrameInfo> _frameInfo;
 }
 @end
-
-#endif
index f262c67..607c005 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFrameInfo.h>
 
-#if WK_API_ENABLED
-
 @class _WKFrameHandle;
 
 @interface WKFrameInfo (WKPrivate)
@@ -34,5 +32,3 @@
 @property (nonatomic, readonly, strong) _WKFrameHandle *_handle WK_API_AVAILABLE(macosx(10.12), ios(10.0));
 
 @end
-
-#endif
index aac9c44..2bacfe5 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -78,5 +76,3 @@ WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0))
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index b25d4ae..1372ca4 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKHTTPCookieStoreInternal.h"
 
-#if WK_API_ENABLED
-
 #import "HTTPCookieAcceptPolicy.h"
 #import <WebCore/Cookie.h>
 #import <pal/spi/cf/CFNetworkSPI.h>
@@ -131,5 +129,3 @@ private:
 }
 
 @end
-
-#endif
index 8bdec8e..a1f9bfa 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKHTTPCookieStore.h"
 
-#if WK_API_ENABLED
-
 #import "APIHTTPCookieStore.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<API::HTTPCookieStore> {
     API::ObjectStorage<API::HTTPCookieStore> _cookieStore;
 }
 @end
-
-#endif
index bd19e32..5f45fbd 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 @class WKNavigationData;
@@ -42,5 +40,3 @@
 - (void)_webView:(WKWebView *)webView didUpdateHistoryTitle:(NSString *)title forURL:(NSURL *)URL;
 
 @end
-
-#endif
index 7c3d779..b3626d6 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "WKMenuItemIdentifiersPrivate.h"
 
-#if WK_API_ENABLED
-
 NSString * const _WKMenuItemIdentifierCopy = @"WKMenuItemIdentifierCopy";
 NSString * const _WKMenuItemIdentifierCopyImage = @"WKMenuItemIdentifierCopyImage";
 NSString * const _WKMenuItemIdentifierCopyLink = @"WKMenuItemIdentifierCopyLink";
@@ -53,5 +51,3 @@ NSString * const _WKMenuItemIdentifierToggleFullScreen = @"WKMenuItemIdentifierT
 
 NSString * const _WKMenuItemIdentifierShareMenu = @"WKMenuItemIdentifierShareMenu";
 NSString * const _WKMenuItemIdentifierSpeechMenu = @"WKMenuItemIdentifierSpeechMenu";
-
-#endif
index 1c7531c..690e91b 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 #import <WebKit/WKDeclarationSpecifiers.h>
 
@@ -55,5 +53,3 @@ WK_EXPORT extern NSString * const _WKMenuItemIdentifierToggleFullScreen WK_API_A
 
 WK_EXPORT extern NSString * const _WKMenuItemIdentifierShareMenu WK_API_AVAILABLE(macosx(10.12), ios(10.0));
 WK_EXPORT extern NSString * const _WKMenuItemIdentifierSpeechMenu WK_API_AVAILABLE(macosx(10.12), ios(10.0));
-
-#endif
index 8f79e6e..4b24da8 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED
-
 #import "AuthenticationChallengeProxy.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<AuthenticationChallengeProxy> {
 
 @interface WKNSURLAuthenticationChallenge : WKObject
 @end
-
-#endif // WK_API_ENABLED
index d203264..d08f130 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNSURLAuthenticationChallenge.h"
 
-#if WK_API_ENABLED
-
 #import "AuthenticationChallengeDisposition.h"
 #import "AuthenticationDecisionListener.h"
 #import "WebCertificateInfo.h"
@@ -115,5 +113,3 @@ static void checkChallenge(NSURLAuthenticationChallenge *challenge)
 }
 
 @end
-
-#endif // WK_API_ENABLED
index be4273c..33fb3ae 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 /*! A WKNavigation object can be used for tracking the loading progress of a webpage.
@@ -38,5 +36,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @interface WKNavigation : NSObject
 
 @end
-
-#endif
index ac94479..fdb4490 100644 (file)
@@ -28,8 +28,6 @@
 
 #import "APINavigation.h"
 
-#if WK_API_ENABLED
-
 @implementation WKNavigation {
     API::ObjectStorage<API::Navigation> _navigation;
 }
@@ -54,5 +52,3 @@
 }
 
 @end
-
-#endif
index 18e6579..729c397 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #if TARGET_OS_IPHONE
 #import <Foundation/Foundation.h>
 #else
@@ -93,5 +91,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index 343aba2..b25a437 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNavigationActionInternal.h"
 
-#if WK_API_ENABLED
-
 #import "NavigationActionData.h"
 #import "WKFrameInfoInternal.h"
 #import "WKNavigationInternal.h"
@@ -213,5 +211,3 @@ static WKSyntheticClickType toWKSyntheticClickType(WebKit::WebMouseEvent::Synthe
 }
 
 @end
-
-#endif
index 60f6f1a..b572136 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKNavigationActionPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "APINavigationAction.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<API::NavigationAction> {
     API::ObjectStorage<API::NavigationAction> _navigationAction;
 }
 @end
-
-#endif
index c80030c..61589c9 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKNavigationAction.h>
 
-#if WK_API_ENABLED
-
 @class WKNavigation;
 @class _WKUserInitiatedAction;
 
@@ -64,5 +62,3 @@ typedef NS_ENUM(NSInteger, WKSyntheticClickType) {
 @property (nonatomic, readonly) WKNavigation *_mainFrameNavigation WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA));
 
 @end
-
-#endif
index 84ae65f..44bf2a6 100644 (file)
@@ -29,8 +29,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKNavigation", macos(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA))
@@ -43,6 +41,4 @@ WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKNavigation", macos(10.10, WK_MAC_TBA), i
 
 @end
 
-#endif // WK_API_ENABLED
-
 #endif // defined(__OBJC__)
index 3b4e79f..95f781f 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNavigationDataInternal.h"
 
-#if WK_API_ENABLED
-
 #import "WKNSURLExtras.h"
 #import <WebCore/ResourceRequest.h>
 #import <WebCore/ResourceResponse.h>
@@ -73,5 +71,3 @@ IGNORE_WARNINGS_END
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 50a0f33..60300dd 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKNavigationData.h"
 
-#if WK_API_ENABLED
-
 #import "APINavigationData.h"
 #import "WKObject.h"
 
@@ -42,5 +40,3 @@ template<> struct WrapperTraits<API::NavigationData> {
 
 @interface WKNavigationData () <WKObject>
 @end
-
-#endif // WK_API_ENABLED
index 8ccfcc7..a9184a1 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -147,5 +145,3 @@ typedef NS_ENUM(NSInteger, WKNavigationResponsePolicy) {
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index ba5686b..9a1321c 100644 (file)
@@ -29,8 +29,6 @@
 #import <WebKit/WKWebViewPrivate.h>
 #import <WebKit/_WKSameDocumentNavigationType.h>
 
-#if WK_API_ENABLED
-
 @class _WKWebsitePolicies;
 
 #if !TARGET_OS_IPHONE
@@ -112,5 +110,3 @@ static const WKNavigationResponsePolicy _WKNavigationResponsePolicyBecomeDownloa
 #endif
 
 @end
-
-#endif
index 3be9867..09a4d78 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKNavigationPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "APINavigation.h"
 #import "WKObject.h"
 
@@ -40,5 +38,3 @@ template<> struct WrapperTraits<API::Navigation> {
 
 @interface WKNavigation () <WKObject>
 @end
-
-#endif
index 2d36c3f..91589d1 100644 (file)
 
 #import <WebKit/WKNavigation.h>
 
-#if WK_API_ENABLED
-
 @interface WKNavigation (WKPrivate)
 @property (nonatomic, readonly, copy) NSURLRequest *_request;
 @end
-
-#endif
index 4fea305..f3b38dc 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -54,5 +52,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index 7e06228..0bb394f 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKNavigationResponseInternal.h"
 
-#if WK_API_ENABLED
-
 #import "WKFrameInfoInternal.h"
 
 @implementation WKNavigationResponse
@@ -81,6 +79,3 @@
 }
 
 @end
-
-
-#endif
index 28e4a63..093d211 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKNavigationResponsePrivate.h"
 
-#if WK_API_ENABLED
-
 #import "APINavigationResponse.h"
 #import "WKObject.h"
 
@@ -43,5 +41,3 @@ template<> struct WrapperTraits<API::NavigationResponse> {
     API::ObjectStorage<API::NavigationResponse> _navigationResponse;
 }
 @end
-
-#endif
index 4b3f26b..f0dfd33 100644 (file)
 
 #import <WebKit/WKNavigationResponse.h>
 
-#if WK_API_ENABLED
-
 @interface WKNavigationResponse (WKPrivate)
 
 @property (nonatomic, readonly) WKFrameInfo *_frame;
 @property (nonatomic, readonly) NSURLRequest *_request;
 
 @end
-
-#endif
index d58e3b2..ba58610 100644 (file)
@@ -25,7 +25,7 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED && !TARGET_OS_IPHONE
+#if !TARGET_OS_IPHONE
 
 #import <Foundation/Foundation.h>
 
index 3dbd545..8e0c8ee 100644 (file)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "WKOpenPanelParametersInternal.h"
 
-#if WK_API_ENABLED && PLATFORM(MAC)
+#if PLATFORM(MAC)
 
 #import "WKNSArray.h"
 
index 229a0b2..6e3e113 100644 (file)
@@ -25,7 +25,7 @@
 
 #import "WKOpenPanelParametersPrivate.h"
 
-#if WK_API_ENABLED && PLATFORM(MAC)
+#if PLATFORM(MAC)
 
 #import "APIOpenPanelParameters.h"
 #import "WKObject.h"
index 31f12aa..9a13f59 100644 (file)
@@ -25,7 +25,7 @@
 
 #import <WebKit/WKOpenPanelParameters.h>
 
-#if WK_API_ENABLED && !TARGET_OS_IPHONE
+#if !TARGET_OS_IPHONE
 
 @interface WKOpenPanelParameters (WKPrivate)
 
index e35b719..1a07861 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <CoreGraphics/CoreGraphics.h>
 #import <Foundation/Foundation.h>
 
@@ -73,5 +71,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 #endif
 
 @end
-
-#endif
index a0cd2e2..b3af223 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKPreferencesInternal.h"
 
-#if WK_API_ENABLED
-
 #import "APIArray.h"
 #import "PluginProcessManager.h"
 #import "WKNSArray.h"
@@ -1363,5 +1361,3 @@ static WebCore::EditableLinkBehavior toEditableLinkBehavior(_WKEditableLinkBehav
 }
 
 @end
-
-#endif // WK_API_ENABLED
index dab389b..1a925f5 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKPreferencesPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "WKObject.h"
 #import "WebPreferences.h"
 
@@ -44,5 +42,3 @@ template<> struct WrapperTraits<WebPreferences> {
 }
 
 @end
-
-#endif
index 61da8b8..435d1e1 100644 (file)
@@ -30,8 +30,6 @@
 
 #import <WebKit/WKPreferences.h>
 
-#if WK_API_ENABLED
-
 typedef NS_ENUM(NSInteger, _WKStorageBlockingPolicy) {
     _WKStorageBlockingPolicyAllowAll,
     _WKStorageBlockingPolicyBlockThirdParty,
@@ -207,5 +205,3 @@ typedef NS_ENUM(NSInteger, _WKEditableLinkBehavior) {
 @end
 
 #endif
-
-#endif
index f34ef9d..b4b90e0 100644 (file)
@@ -25,7 +25,7 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED && TARGET_OS_IPHONE
+#if TARGET_OS_IPHONE
 
 #import <UIKit/UIViewController.h>
 
index b1d2167..76cc4b5 100644 (file)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "WKPreviewActionItemInternal.h"
 
-#if WK_API_ENABLED && TARGET_OS_IPHONE
+#if PLATFORM(IOS_FAMILY)
 
 @implementation WKPreviewAction
 @synthesize identifier=_identifier;
@@ -53,4 +53,4 @@
 
 @end
 
-#endif // WK_API_ENABLED && TARGET_OS_IPHONE
+#endif // PLATFORM(IOS_FAMILY)
index 8ce0147..72d5d0c 100644 (file)
@@ -26,7 +26,7 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED && TARGET_OS_IPHONE
+#if TARGET_OS_IPHONE
 
 #import <Foundation/Foundation.h>
 
index 314eff7..cbce18b 100644 (file)
@@ -26,7 +26,7 @@
 #include "config.h"
 #include "WKPreviewActionItemIdentifiers.h"
 
-#if WK_API_ENABLED && PLATFORM(IOS_FAMILY)
+#if PLATFORM(IOS_FAMILY)
 
 NSString * const WKPreviewActionItemIdentifierOpen = @"WKPreviewActionItemIdentifierOpen";
 NSString * const WKPreviewActionItemIdentifierAddToReadingList = @"WKPreviewActionItemIdentifierAddToReadingList";
index 7b65d2d..27bafbf 100644 (file)
@@ -25,7 +25,7 @@
 
 #import "WKFoundation.h"
 
-#if WK_API_ENABLED && TARGET_OS_IPHONE
+#if TARGET_OS_IPHONE
 
 #import "WKPreviewActionItem.h"
 
index b01c180..0573b22 100644 (file)
@@ -25,7 +25,7 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED && TARGET_OS_IPHONE
+#if TARGET_OS_IPHONE
 
 #import <Foundation/Foundation.h>
 
index e92ae96..6bf4b3e 100644 (file)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "WKPreviewElementInfoInternal.h"
 
-#if WK_API_ENABLED && PLATFORM(IOS_FAMILY)
+#if PLATFORM(IOS_FAMILY)
 
 @implementation WKPreviewElementInfo
 
index 1357f51..a3cf975 100644 (file)
@@ -27,7 +27,7 @@
 
 #import <wtf/RetainPtr.h>
 
-#if WK_API_ENABLED && TARGET_OS_IPHONE
+#if TARGET_OS_IPHONE
 
 @interface WKPreviewElementInfo () {
 @package
@@ -38,4 +38,4 @@
 
 @end
 
-#endif // WK_API_ENABLED && TARGET_OS_IPHONE
+#endif // TARGET_OS_IPHONE
index 962c763..5133dbc 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 #import <WebKit/WKConnection.h>
 
@@ -57,5 +55,3 @@ WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKProcessPool", macos(10.10, WK_MAC_TBA),
 @property (assign) id <WKProcessGroupDelegate> delegate;
 
 @end
-
-#endif // WK_API_ENABLED
index 59debde..8877aa8 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKProcessGroupPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "APINavigationData.h"
 #import "APIProcessPoolConfiguration.h"
 #import "ObjCObjectGraph.h"
@@ -247,5 +245,3 @@ IGNORE_WARNINGS_END
 
 @end
 ALLOW_DEPRECATED_DECLARATIONS_END
-
-#endif // WK_API_ENABLED
index 2eed003..fefa52e 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKProcessGroup.h>
 
-#if WK_API_ENABLED
-
 #import <WebKit/WKBase.h>
 
 #if TARGET_OS_IPHONE
@@ -44,5 +42,3 @@
 #endif
 
 @end
-
-#endif // WK_API_ENABLED
index e72d5b8..c5a3e7b 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 /*! A WKProcessPool object represents a pool of web content processes.
@@ -38,5 +36,3 @@
 WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @interface WKProcessPool : NSObject <NSSecureCoding>
 @end
-
-#endif
index 5184da9..8ca675f 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKProcessPoolInternal.h"
 
-#if WK_API_ENABLED
-
 #import "AutomationClient.h"
 #import "CacheModel.h"
 #import "DownloadClient.h"
@@ -603,5 +601,3 @@ static NSDictionary *policiesHashMapToDictionary(const HashMap<String, HashMap<S
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 58981ed..65546b9 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKProcessPoolPrivate.h"
 
-#if WK_API_ENABLED
-
 #import "WKObject.h"
 #import "WebProcessPool.h"
 
@@ -51,5 +49,3 @@ template<> struct WrapperTraits<WebProcessPool> {
 @property(readonly) WKGeolocationProviderIOS *_geolocationProvider;
 #endif
 @end
-
-#endif // WK_API_ENABLED
index 7dc3da5..da4b93d 100644 (file)
@@ -26,8 +26,6 @@
 #import <WebKit/WKProcessPool.h>
 #import <WebKit/WKSecurityOrigin.h>
 
-#if WK_API_ENABLED
-
 @class WKWebView;
 @class _WKAutomationSession;
 @class _WKDownload;
 @property (nonatomic, getter=_isStorageAccessAPIEnabled, setter=_setStorageAccessAPIEnabled:) BOOL _storageAccessAPIEnabled WK_API_AVAILABLE(macosx(10.13.4), ios(11.3));
 
 @end
-
-#endif
index fcf3b4e..b17c2ec 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -59,5 +57,3 @@ WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0))
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index 63b0e8e..c93e7a9 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKScriptMessageInternal.h"
 
-#if WK_API_ENABLED
-
 #import "WKFrameInfo.h"
 #import <wtf/RetainPtr.h>
 #import <wtf/WeakObjCPtr.h>
@@ -50,7 +48,6 @@
     _name = adoptNS([name copy]);
 
     return self;
-
 }
 
 - (id)body
@@ -74,6 +71,3 @@
 }
 
 @end
-
-#endif
-
index 2b6ebba..f104207 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -51,5 +49,3 @@ NS_ASSUME_NONNULL_BEGIN
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index 9dbfa84..2637880 100644 (file)
 
 #import "WKScriptMessage.h"
 
-#if WK_API_ENABLED
-
 @interface WKScriptMessage ()
 
 - (instancetype)_initWithBody:(id)body webView:(WKWebView *)webView frameInfo:(WKFrameInfo *)frameInfo name:(NSString *)name;
 
 @end
-
-#endif
index 5b73311..7383a41 100644 (file)
@@ -25,8 +25,6 @@
 
 #import <WebKit/WKFoundation.h>
 
-#if WK_API_ENABLED
-
 #import <Foundation/Foundation.h>
 
 /*! A WKSecurityOrigin object contains information about a security origin.
@@ -56,5 +54,3 @@ WK_CLASS_AVAILABLE(macosx(10.11), ios(9.0))
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
index c5543a2..39c4a7c 100644 (file)
@@ -26,8 +26,6 @@
 #import "config.h"
 #import "WKSecurityOriginInternal.h"
 
-#if WK_API_ENABLED
-
 #import <WebCore/ResourceRequest.h>
 #import <WebCore/SecurityOrigin.h>
 #import <wtf/RefPtr.h>
@@ -69,5 +67,3 @@
 }
 
 @end
-
-#endif // WK_API_ENABLED
index 1ed6ca5..172a756 100644 (file)
@@ -25,8 +25,6 @@
 
 #import "WKSecurityOrigin.h"
 
-#if WK_API_ENABLED
-
 #import "APISecurityOrigin.h"
 
 namespace WebKit {
@@ -42,5 +40,3 @@ template<> struct WrapperTraits<API::SecurityOrigin> {
     API::ObjectStorage<API::SecurityOrigin> _securityOrigin;
 }
 @end
-
-#endif