-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125203 Reviewed by Dan Bernstein. Source/WebKit2: Deprecate all the "current version" enums and unversioned client structs. * Shared/API/c/WKConnectionRef.cpp: (WKConnectionSetConnectionClient): * Shared/API/c/WKConnectionRef.h: * UIProcess/API/C/WKContext.cpp: (WKContextSetClient): (WKContextSetInjectedBundleClient): (WKContextSetHistoryClient): (WKContextSetDownloadClient): (WKContextSetConnectionClient): * UIProcess/API/C/WKContext.h: * UIProcess/API/C/WKContextConnectionClient.h: * UIProcess/API/C/WKContextDownloadClient.h: * UIProcess/API/C/WKContextHistoryClient.h: * UIProcess/API/C/WKContextInjectedBundleClient.h: * UIProcess/API/C/WKCookieManager.cpp: (WKCookieManagerSetClient): * UIProcess/API/C/WKCookieManager.h: * UIProcess/API/C/WKDatabaseManager.cpp: (WKDatabaseManagerSetClient): * UIProcess/API/C/WKDatabaseManager.h: * UIProcess/API/C/WKGeolocationManager.cpp: (WKGeolocationManagerSetProvider): * UIProcess/API/C/WKGeolocationManager.h: * UIProcess/API/C/WKIconDatabase.cpp: (WKIconDatabaseSetIconDatabaseClient): * UIProcess/API/C/WKIconDatabase.h: * UIProcess/API/C/WKOriginDataManager.cpp: (WKOriginDataManagerSetChangeClient): * UIProcess/API/C/WKOriginDataManager.h: * UIProcess/API/C/WKPage.cpp: (WKPageSetPageContextMenuClient): (WKPageSetPageFindClient): (WKPageSetPageFindMatchesClient): (WKPageSetPageFormClient): (WKPageSetPageLoaderClient): (WKPageSetPagePolicyClient): (WKPageSetPageUIClient): * UIProcess/API/C/WKPage.h: * UIProcess/API/C/WKPageContextMenuClient.h: * UIProcess/API/C/WKPageFindClient.h: * UIProcess/API/C/WKPageFindMatchesClient.h: * UIProcess/API/C/WKPageFormClient.h: * UIProcess/API/C/WKPageLoaderClient.h: * UIProcess/API/C/WKPagePolicyClient.h: * UIProcess/API/C/WKPageUIClient.h: * UIProcess/API/Cocoa/WKBrowsingContextController.mm: (setUpPagePolicyClient): * UIProcess/API/Cocoa/WKConnection.mm: (setUpClient): * UIProcess/API/Cocoa/WKProcessGroup.mm: (setUpConnectionClient): (setUpInectedBundleClient): (setUpHistoryClient): * UIProcess/WebInspectorProxy.cpp: (WebKit::WebInspectorProxy::createInspectorPage): * UIProcess/WebUIClient.cpp: (WebKit::WebUIClient::createNewPage): (WebKit::WebUIClient::mouseDidMoveOverElement): * UIProcess/mac/WebInspectorProxyMac.mm: (WebKit::WebInspectorProxy::platformCreateInspectorPage): * WebProcess/InjectedBundle/API/c/WKBundle.cpp: (WKBundleSetClient): * WebProcess/InjectedBundle/API/c/WKBundle.h: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: (WKBundlePageSetContextMenuClient): (WKBundlePageSetEditorClient): (WKBundlePageSetFormClient): (WKBundlePageSetPageLoaderClient): (WKBundlePageSetResourceLoadClient): (WKBundlePageSetPolicyClient): (WKBundlePageSetUIClient): (WKBundlePageSetFullScreenClient): (WKBundlePageSetDiagnosticLoggingClient): * WebProcess/InjectedBundle/API/c/WKBundlePage.h: * WebProcess/InjectedBundle/API/c/WKBundlePageBanner.h: * WebProcess/InjectedBundle/API/c/WKBundlePageContextMenuClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageDiagnosticLoggingClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageEditorClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageFormClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageFullScreenClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageLoaderClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp: (WKBundlePageOverlayCreate): (WKBundlePageOverlaySetAccessibilityClient): * WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.h: * WebProcess/InjectedBundle/API/c/WKBundlePagePolicyClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageResourceLoadClient.h: * WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h: * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.h: * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm: (WKBundlePageBannerCreateBannerWithCALayer): * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm: (setUpBundleClient): Tools: Update for WebKit2 API changes. * MiniBrowser/mac/AppDelegate.m: (-[BrowserAppDelegate init]): * MiniBrowser/mac/WK2BrowserWindowController.m: (-[WK2BrowserWindowController awakeFromNib]): * TestWebKitAPI/InjectedBundleController.cpp: (TestWebKitAPI::InjectedBundleController::initialize): * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp: (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/CloseThenTerminate.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp: (TestWebKitAPI::DOMWindowExtensionBasic::didCreatePage): * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp: (TestWebKitAPI::DOMWindowExtensionNoCache::didCreatePage): * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls.cpp: (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp: (TestWebKitAPI::DidAssociateFormControlsTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp: (TestWebKitAPI::setContextDownloadClient): (TestWebKitAPI::setPagePolicyClient): * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/Find.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/FindMatches.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp: (TestWebKitAPI::setupGeolocationProvider): (TestWebKitAPI::setupView): (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp: (TestWebKitAPI::setPageLoaderClient): (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp: (TestWebKitAPI::HitTestResultNodeHandleTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp: (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp: (TestWebKitAPI::InjectedBundleFrameHitTestTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp: (TestWebKitAPI::LoadCanceledNoServerRedirectCallbackTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/LoadPageOnCrash.cpp: (TestWebKitAPI::WebKit2CrashLoader::WebKit2CrashLoader): * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp: (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp: (TestWebKitAPI::ParentFrameTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications.mm: (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications_Bundle.cpp: (TestWebKitAPI::PasteboardNotificationsTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp: (TestWebKitAPI::setInjectedBundleClient): (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp: (TestWebKitAPI::ShouldGoToBackForwardListItemTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: (TestWebKitAPI::WebKit2UserMessageRoundTripTest::setInjectedBundleClient): (TestWebKitAPI::WebKit2UserMessageRoundTripTest::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/WKConnection.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/WKConnection_Bundle.cpp: (TestWebKitAPI::WKConnectionTest::initialize): * TestWebKitAPI/Tests/WebKit2/WKPageGetScaleFactorNotZero.cpp: (TestWebKitAPI::setPageLoaderClient): * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp: (TestWebKitAPI::setInjectedBundleClient): (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: (TestWebKitAPI::WebKit2WillLoadTest::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp: * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent.cpp: (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp: (TestWebKitAPI::WillSendSubmitEventTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2/mac/EditorCommands.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm: (TestWebKitAPI::setInjectedBundleClient): * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp: * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp: (TestWebKitAPI::DenyWillSendRequestTest::didCreatePage): * TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm: (TestWebKitAPI::didCreateConnection): (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm: (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView): * TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm: * TestWebKitAPI/mac/WebKitAgnosticTest.mm: (TestWebKitAPI::setPageLoaderClient): * WebKitTestRunner/GeolocationProviderMock.cpp: (WTR::GeolocationProviderMock::GeolocationProviderMock): * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::initialize): * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::InjectedBundlePage): * WebKitTestRunner/TestController.cpp: (WTR::TestController::createOtherPage): (WTR::TestController::initialize): (WTR::TestController::createWebViewWithOptions): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a899664e