Changeset 221930 in webkit
- Timestamp:
- Sep 12, 2017 12:17:35 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r221922 r221930 1 2017-09-12 Dan Bernstein <mitz@apple.com> 2 3 Update availability annotations to match the macOS 10.13 and iOS 11.0 GM seed SDKs 4 https://bugs.webkit.org/show_bug.cgi?id=176793 5 6 Reviewed by Tim Horton. 7 8 Changed WK_MAC_TBA and WK_IOS_TBA to 10.13 and 11.0, respectively, in all declarations that 9 appear in the GM seed SDKs. Additional changes and exceptions are noted below. 10 11 * UIProcess/API/Cocoa/WKUIDelegatePrivate.h: Added missing availability annotation to 12 -_webView:dataOwnerForDropSession: and -_webView:dataOwnerForDragSession:. 13 14 * UIProcess/API/Cocoa/WKWebViewPrivate.h: Removed rednundant 15 __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000 guards. 16 17 * UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h: Added missing availability annotation to 18 -_setResourceLoadStatisticsTestingCallback:. 19 20 * UIProcess/API/Cocoa/_WKFullscreenDelegate.h: Added missing availability annotation. 21 22 * UIProcess/API/Cocoa/_WKLinkIconParameters.h: Added availability annotation that had been 23 missing since macOS 10.12.3 and iOS 10.3. Corrected annotation for _WKLinkIconParameters. 24 25 * UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.h: Added missing TBA annotation to 26 _resourceLoadStatisticsDirectory. 27 28 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h: Removed iOS 29 availability from macOS-only declaration and vice versa. 30 31 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.mm: 32 (-[WKWebProcessPlugInRangeHandle detectDataWithTypes:context:]): Removed an availability 33 annotation from this method implementation. 34 35 * Shared/API/Cocoa/WKDragDestinationAction.h: 36 * UIProcess/API/Cocoa/WKContentRuleList.h: 37 * UIProcess/API/Cocoa/WKContentRuleListStore.h: 38 * UIProcess/API/Cocoa/WKError.h: 39 * UIProcess/API/Cocoa/WKFrameInfo.h: 40 * UIProcess/API/Cocoa/WKHTTPCookieStore.h: 41 * UIProcess/API/Cocoa/WKNavigationActionPrivate.h: 42 * UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h: 43 * UIProcess/API/Cocoa/WKPreferencesPrivate.h: 44 * UIProcess/API/Cocoa/WKProcessPoolPrivate.h: 45 * UIProcess/API/Cocoa/WKSnapshotConfiguration.h: 46 * UIProcess/API/Cocoa/WKURLSchemeHandler.h: 47 * UIProcess/API/Cocoa/WKURLSchemeTask.h: 48 * UIProcess/API/Cocoa/WKURLSchemeTaskPrivate.h: 49 * UIProcess/API/Cocoa/WKUserContentController.h: 50 * UIProcess/API/Cocoa/WKWebView.h: 51 * UIProcess/API/Cocoa/WKWebViewConfiguration.h: 52 * UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h: 53 * UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h: 54 * UIProcess/API/Cocoa/WKWebsiteDataStore.h: 55 * UIProcess/API/Cocoa/WKWindowFeaturesPrivate.h: 56 * UIProcess/API/Cocoa/_WKActivatedElementInfo.h: 57 * UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h: 58 * UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h: 59 * UIProcess/API/Cocoa/_WKGeolocationCoreLocationProvider.h: 60 * UIProcess/API/Cocoa/_WKGeolocationPosition.h: 61 * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h: 62 * UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h: 63 * UIProcess/API/Cocoa/_WKUserContentFilterPrivate.h: 64 * UIProcess/API/Cocoa/_WKWebsitePolicies.h: 65 * UIProcess/_WKWebViewPrintFormatter.h: 66 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInEditingDelegate.h: 67 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.h: 68 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h: 69 1 70 2017-09-12 Alex Christensen <achristensen@webkit.org> 2 71 -
trunk/Source/WebKit/Shared/API/Cocoa/WKDragDestinationAction.h
r214403 r221930 36 36 WKDragDestinationActionLoad = 4, 37 37 WKDragDestinationActionAny = NSUIntegerMax 38 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));38 } WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 39 39 40 40 #endif -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKContentRuleList.h
r219165 r221930 30 30 #import <Foundation/Foundation.h> 31 31 32 WK_CLASS_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))32 WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0)) 33 33 @interface WKContentRuleList : NSObject 34 34 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKContentRuleListStore.h
r219167 r221930 32 32 @class WKContentRuleList; 33 33 34 WK_CLASS_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))34 WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0)) 35 35 @interface WKContentRuleListStore : NSObject 36 36 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKError.h
r216809 r221930 53 53 WKErrorJavaScriptExceptionOccurred, 54 54 WKErrorJavaScriptResultTypeIsUnsupported WK_API_AVAILABLE(macosx(10.11), ios(9.0)), 55 WKErrorContentRuleListStoreCompileFailed WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA)),56 WKErrorContentRuleListStoreLookUpFailed WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA)),57 WKErrorContentRuleListStoreRemoveFailed WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA)),58 WKErrorContentRuleListStoreVersionMismatch WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA)),55 WKErrorContentRuleListStoreCompileFailed WK_API_AVAILABLE(macosx(10.13), ios(11.0)), 56 WKErrorContentRuleListStoreLookUpFailed WK_API_AVAILABLE(macosx(10.13), ios(11.0)), 57 WKErrorContentRuleListStoreRemoveFailed WK_API_AVAILABLE(macosx(10.13), ios(11.0)), 58 WKErrorContentRuleListStoreVersionMismatch WK_API_AVAILABLE(macosx(10.13), ios(11.0)), 59 59 } WK_API_AVAILABLE(macosx(10.10), ios(8.0)); 60 60 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKFrameInfo.h
r219013 r221930 57 57 /*! @abstract The web view of the webpage that contains this frame. 58 58 */ 59 @property (nonatomic, readonly, weak) WKWebView *webView WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));59 @property (nonatomic, readonly, weak) WKWebView *webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 60 60 61 61 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKHTTPCookieStore.h
r218444 r221930 34 34 @class WKHTTPCookieStore; 35 35 36 WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))36 WK_API_AVAILABLE(macosx(10.13), ios(11.0)) 37 37 @protocol WKHTTPCookieStoreObserver <NSObject> 38 38 @optional … … 43 43 A WKHTTPCookieStore object allows managing the HTTP cookies associated with a particular WKWebsiteDataStore. 44 44 */ 45 WK_CLASS_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))45 WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0)) 46 46 @interface WKHTTPCookieStore : NSObject 47 47 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationActionPrivate.h
r220459 r221930 55 55 #endif 56 56 57 @property (nonatomic, readonly) BOOL _isRedirect WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));57 @property (nonatomic, readonly) BOOL _isRedirect WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 58 58 59 59 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h
r221486 r221930 82 82 - (void)_webView:(WKWebView *)webView didStartLoadForQuickLookDocumentInMainFrameWithFileName:(NSString *)fileName uti:(NSString *)uti; 83 83 - (void)_webView:(WKWebView *)webView didFinishLoadForQuickLookDocumentInMainFrame:(NSData *)documentData; 84 - (void)_webViewDidRequestPasswordForQuickLookDocument:(WKWebView *)webView WK_API_AVAILABLE(ios( WK_IOS_TBA));84 - (void)_webViewDidRequestPasswordForQuickLookDocument:(WKWebView *)webView WK_API_AVAILABLE(ios(11.0)); 85 85 #else 86 86 - (void)_webView:(WKWebView *)webView webGLLoadPolicyForURL:(NSURL *)url decisionHandler:(void (^)(_WKWebGLLoadPolicy))decisionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
r221621 r221930 97 97 @property (nonatomic, setter=_setFullScreenEnabled:) BOOL _fullScreenEnabled WK_API_AVAILABLE(macosx(10.11), ios(9.0)); 98 98 @property (nonatomic, setter=_setShouldSuppressKeyboardInputDuringProvisionalNavigation:) BOOL _shouldSuppressKeyboardInputDuringProvisionalNavigation WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 99 @property (nonatomic, setter=_setAllowsPictureInPictureMediaPlayback:) BOOL _allowsPictureInPictureMediaPlayback WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));99 @property (nonatomic, setter=_setAllowsPictureInPictureMediaPlayback:) BOOL _allowsPictureInPictureMediaPlayback WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 100 100 101 101 @property (nonatomic, setter=_setApplePayCapabilityDisclosureAllowed:) BOOL _applePayCapabilityDisclosureAllowed WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 102 102 103 @property (nonatomic, setter=_setLoadsImagesAutomatically:) BOOL _loadsImagesAutomatically WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));103 @property (nonatomic, setter=_setLoadsImagesAutomatically:) BOOL _loadsImagesAutomatically WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 104 104 105 @property (nonatomic, setter=_setMediaDevicesEnabled:) BOOL _mediaDevicesEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));106 @property (nonatomic, setter=_setMockCaptureDevicesEnabled:) BOOL _mockCaptureDevicesEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));105 @property (nonatomic, setter=_setMediaDevicesEnabled:) BOOL _mediaDevicesEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 106 @property (nonatomic, setter=_setMockCaptureDevicesEnabled:) BOOL _mockCaptureDevicesEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 107 107 @property (nonatomic, setter=_setMockCaptureDevicesPromptEnabled:) BOOL _mockCaptureDevicesPromptEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 108 @property (nonatomic, setter=_setMediaCaptureRequiresSecureConnection:) BOOL _mediaCaptureRequiresSecureConnection WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));109 @property (nonatomic, setter=_setEnumeratingAllNetworkInterfacesEnabled:) BOOL _enumeratingAllNetworkInterfacesEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));108 @property (nonatomic, setter=_setMediaCaptureRequiresSecureConnection:) BOOL _mediaCaptureRequiresSecureConnection WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 109 @property (nonatomic, setter=_setEnumeratingAllNetworkInterfacesEnabled:) BOOL _enumeratingAllNetworkInterfacesEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 110 110 @property (nonatomic, setter=_setICECandidateFilteringEnabled:) BOOL _iceCandidateFilteringEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 111 @property (nonatomic, setter=_setWebRTCLegacyAPIEnabled:) BOOL _webRTCLegacyAPIEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));111 @property (nonatomic, setter=_setWebRTCLegacyAPIEnabled:) BOOL _webRTCLegacyAPIEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 112 112 113 @property (nonatomic, setter=_setJavaScriptCanAccessClipboard:) BOOL _javaScriptCanAccessClipboard WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));114 @property (nonatomic, setter=_setDOMPasteAllowed:) BOOL _domPasteAllowed WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));113 @property (nonatomic, setter=_setJavaScriptCanAccessClipboard:) BOOL _javaScriptCanAccessClipboard WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 114 @property (nonatomic, setter=_setDOMPasteAllowed:) BOOL _domPasteAllowed WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 115 115 116 116 + (NSArray<_WKExperimentalFeature *> *)_experimentalFeatures WK_API_AVAILABLE(macosx(10.12), ios(10.0)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
r220105 r221930 54 54 55 55 #if !TARGET_OS_IPHONE 56 - (void)_resetPluginLoadClientPolicies:(NSDictionary *)policies WK_API_AVAILABLE(macosx( WK_MAC_TBA));57 @property (nonatomic, readonly, copy) NSDictionary *_pluginLoadClientPolicies WK_API_AVAILABLE(macosx( WK_MAC_TBA));56 - (void)_resetPluginLoadClientPolicies:(NSDictionary *)policies WK_API_AVAILABLE(macosx(10.13)); 57 @property (nonatomic, readonly, copy) NSDictionary *_pluginLoadClientPolicies WK_API_AVAILABLE(macosx(10.13)); 58 58 #endif 59 59 … … 62 62 63 63 #if TARGET_OS_IPHONE 64 @property (nonatomic, setter=_setCoreLocationProvider:) id <_WKGeolocationCoreLocationProvider> _coreLocationProvider WK_API_AVAILABLE(ios( WK_IOS_TBA));64 @property (nonatomic, setter=_setCoreLocationProvider:) id <_WKGeolocationCoreLocationProvider> _coreLocationProvider WK_API_AVAILABLE(ios(11.0)); 65 65 #endif 66 66 … … 77 77 78 78 // Test only. 79 - (pid_t)_networkProcessIdentifier WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));79 - (pid_t)_networkProcessIdentifier WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 80 80 - (pid_t)_storageProcessIdentifier WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 81 81 82 82 // Test only. 83 - (size_t)_webProcessCount WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));83 - (size_t)_webProcessCount WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 84 84 - (size_t)_pluginProcessCount WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 85 - (void)_syncNetworkProcessCookies WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));85 - (void)_syncNetworkProcessCookies WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 86 86 87 87 // Test only. Should be called before any web content processes are launched. 88 + (void)_forceGameControllerFramework WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));88 + (void)_forceGameControllerFramework WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 89 89 90 90 @property (nonatomic, getter=_isCookieStoragePartitioningEnabled, setter=_setCookieStoragePartitioningEnabled:) BOOL _cookieStoragePartitioningEnabled WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKSnapshotConfiguration.h
r212929 r221930 32 32 NS_ASSUME_NONNULL_BEGIN 33 33 34 WK_CLASS_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))34 WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0)) 35 35 @interface WKSnapshotConfiguration : NSObject <NSCopying> 36 36 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h
r221922 r221930 97 97 - (void)_webViewRequestPointerLock:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.12.3)); 98 98 - (void)_webViewDidLosePointerLock:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.12.3)); 99 - (void)_webView:(WKWebView *)webView hasVideoInPictureInPictureDidChange:(BOOL)hasVideoInPictureInPicture WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));99 - (void)_webView:(WKWebView *)webView hasVideoInPictureInPictureDidChange:(BOOL)hasVideoInPictureInPicture WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 100 100 101 101 - (void)_webView:(WKWebView *)webView imageOrMediaDocumentSizeChanged:(CGSize)size WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 102 102 - (NSDictionary *)_dataDetectionContextForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 103 - (void)_webView:(WKWebView *)webView requestUserMediaAuthorizationForDevices:(_WKCaptureDevices)devices url:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));103 - (void)_webView:(WKWebView *)webView requestUserMediaAuthorizationForDevices:(_WKCaptureDevices)devices url:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 104 104 - (void)_webView:(WKWebView *)webView checkUserMediaPermissionForURL:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL frameIdentifier:(NSUInteger)frameIdentifier decisionHandler:(void (^)(NSString *salt, BOOL authorized))decisionHandler WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 105 - (void)_webView:(WKWebView *)webView mediaCaptureStateDidChange:(_WKMediaCaptureState)state WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));106 - (WKDragDestinationAction)_webView:(WKWebView *)webView dragDestinationActionMaskForDraggingInfo:(id)draggingInfo WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));107 - (void)_webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures completionHandler:(void (^)(WKWebView *webView))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));105 - (void)_webView:(WKWebView *)webView mediaCaptureStateDidChange:(_WKMediaCaptureState)state WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 106 - (WKDragDestinationAction)_webView:(WKWebView *)webView dragDestinationActionMaskForDraggingInfo:(id)draggingInfo WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 107 - (void)_webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures completionHandler:(void (^)(WKWebView *webView))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 108 108 - (void)_webView:(WKWebView *)webView requestGeolocationPermissionForFrame:(WKFrameInfo *)frame decisionHandler:(void (^)(BOOL allowed))decisionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 109 109 110 - (void)_webView:(WKWebView *)webView runBeforeUnloadConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(BOOL result))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));110 - (void)_webView:(WKWebView *)webView runBeforeUnloadConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(BOOL result))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 111 111 - (void)_webView:(WKWebView *)webView editorStateDidChange:(NSDictionary *)editorState WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 112 112 … … 116 116 - (void)_webView:(WKWebView *)webView didNotHandleTapAsClickAtPoint:(CGPoint)point; 117 117 - (BOOL)_webView:(WKWebView *)webView shouldRequestGeolocationAuthorizationForURL:(NSURL *)url isMainFrame:(BOOL)isMainFrame mainFrameURL:(NSURL *)mainFrameURL; 118 - (void)_webView:(WKWebView *)webView requestGeolocationAuthorizationForURL:(NSURL *)url frame:(WKFrameInfo *)frame decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(ios( WK_IOS_TBA));118 - (void)_webView:(WKWebView *)webView requestGeolocationAuthorizationForURL:(NSURL *)url frame:(WKFrameInfo *)frame decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(ios(11.0)); 119 119 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForURL:(NSURL *)url WK_API_AVAILABLE(ios(9.0)); 120 120 - (void)_webView:(WKWebView *)webView commitPreviewedViewController:(UIViewController *)previewedViewController WK_API_AVAILABLE(ios(9.0)); … … 132 132 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForAnimatedImageAtURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo imageSize:(CGSize)imageSize WK_API_AVAILABLE(ios(9.0)); 133 133 - (UIViewController *)_presentingViewControllerForWebView:(WKWebView *)webView WK_API_AVAILABLE(ios(10.0)); 134 - (void)_webView:(WKWebView *)webView getAlternateURLFromImage:(UIImage *)image completionHandler:(void (^)(NSURL *alternateURL, NSDictionary *userInfo))completionHandler WK_API_AVAILABLE(ios( WK_IOS_TBA));135 - (NSURL *)_webView:(WKWebView *)webView alternateURLFromImage:(UIImage *)image userInfo:(NSDictionary **)userInfo WK_API_AVAILABLE(ios( WK_IOS_TBA));136 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForImage:(UIImage *)image alternateURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo WK_API_AVAILABLE(ios( WK_IOS_TBA));137 - (NSArray *)_webView:(WKWebView *)webView adjustedDataInteractionItemProviders:(NSArray *)originalItemProviders WK_API_AVAILABLE(ios( WK_IOS_TBA));138 - (NSArray *)_webView:(WKWebView *)webView adjustedDataInteractionItemProvidersForItemProvider:(id)itemProvider representingObjects:(NSArray *)representingObjects additionalData:(NSDictionary *)additionalData WK_API_AVAILABLE(ios( WK_IOS_TBA));139 - (BOOL)_webView:(WKWebView *)webView performDataInteractionOperationWithItemProviders:(NSArray *)itemProviders WK_API_AVAILABLE(ios( WK_IOS_TBA));140 - (void)_webView:(WKWebView *)webView dataInteraction:(id)interaction sessionWillBegin:(id)session WK_API_AVAILABLE(ios( WK_IOS_TBA));141 - (void)_webView:(WKWebView *)webView dataInteraction:(id)interaction session:(id)session didEndWithOperation:(NSUInteger)operation WK_API_AVAILABLE(ios( WK_IOS_TBA));142 - (void)_webView:(WKWebView *)webView dataInteractionOperationWasHandled:(BOOL)handled forSession:(id)session itemProviders:(NSArray *)itemProviders WK_API_AVAILABLE(ios( WK_IOS_TBA));143 - (NSUInteger)_webView:(WKWebView *)webView willUpdateDataInteractionOperationToOperation:(NSUInteger)operation forSession:(id)session WK_API_AVAILABLE(ios( WK_IOS_TBA));134 - (void)_webView:(WKWebView *)webView getAlternateURLFromImage:(UIImage *)image completionHandler:(void (^)(NSURL *alternateURL, NSDictionary *userInfo))completionHandler WK_API_AVAILABLE(ios(11.0)); 135 - (NSURL *)_webView:(WKWebView *)webView alternateURLFromImage:(UIImage *)image userInfo:(NSDictionary **)userInfo WK_API_AVAILABLE(ios(11.0)); 136 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForImage:(UIImage *)image alternateURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo WK_API_AVAILABLE(ios(11.0)); 137 - (NSArray *)_webView:(WKWebView *)webView adjustedDataInteractionItemProviders:(NSArray *)originalItemProviders WK_API_AVAILABLE(ios(11.0)); 138 - (NSArray *)_webView:(WKWebView *)webView adjustedDataInteractionItemProvidersForItemProvider:(id)itemProvider representingObjects:(NSArray *)representingObjects additionalData:(NSDictionary *)additionalData WK_API_AVAILABLE(ios(11.0)); 139 - (BOOL)_webView:(WKWebView *)webView performDataInteractionOperationWithItemProviders:(NSArray *)itemProviders WK_API_AVAILABLE(ios(11.0)); 140 - (void)_webView:(WKWebView *)webView dataInteraction:(id)interaction sessionWillBegin:(id)session WK_API_AVAILABLE(ios(11.0)); 141 - (void)_webView:(WKWebView *)webView dataInteraction:(id)interaction session:(id)session didEndWithOperation:(NSUInteger)operation WK_API_AVAILABLE(ios(11.0)); 142 - (void)_webView:(WKWebView *)webView dataInteractionOperationWasHandled:(BOOL)handled forSession:(id)session itemProviders:(NSArray *)itemProviders WK_API_AVAILABLE(ios(11.0)); 143 - (NSUInteger)_webView:(WKWebView *)webView willUpdateDataInteractionOperationToOperation:(NSUInteger)operation forSession:(id)session WK_API_AVAILABLE(ios(11.0)); 144 144 #if TARGET_OS_IOS 145 - (UITargetedDragPreview *)_webView:(WKWebView *)webView previewForLiftingItem:(UIDragItem *)item session:(id <UIDragSession>)session WK_API_AVAILABLE(ios( WK_IOS_TBA));146 - (UITargetedDragPreview *)_webView:(WKWebView *)webView previewForCancellingItem:(UIDragItem *)item withDefault:(UITargetedDragPreview *)defaultPreview WK_API_AVAILABLE(ios( WK_IOS_TBA));147 - (NSArray<UIDragItem *> *)_webView:(WKWebView *)webView willPerformDropWithSession:(id <UIDropSession>)session WK_API_AVAILABLE(ios( WK_IOS_TBA));148 - (NSInteger)_webView:(WKWebView *)webView dataOwnerForDropSession:(id <UIDropSession>)session ;149 - (NSInteger)_webView:(WKWebView *)webView dataOwnerForDragSession:(id <UIDragSession>)session ;145 - (UITargetedDragPreview *)_webView:(WKWebView *)webView previewForLiftingItem:(UIDragItem *)item session:(id <UIDragSession>)session WK_API_AVAILABLE(ios(11.0)); 146 - (UITargetedDragPreview *)_webView:(WKWebView *)webView previewForCancellingItem:(UIDragItem *)item withDefault:(UITargetedDragPreview *)defaultPreview WK_API_AVAILABLE(ios(11.0)); 147 - (NSArray<UIDragItem *> *)_webView:(WKWebView *)webView willPerformDropWithSession:(id <UIDropSession>)session WK_API_AVAILABLE(ios(11.0)); 148 - (NSInteger)_webView:(WKWebView *)webView dataOwnerForDropSession:(id <UIDropSession>)session WK_API_AVAILABLE(ios(11.0)); 149 - (NSInteger)_webView:(WKWebView *)webView dataOwnerForDragSession:(id <UIDragSession>)session WK_API_AVAILABLE(ios(11.0)); 150 150 #endif 151 - (void)_webView:(WKWebView *)webView didChangeSafeAreaShouldAffectObscuredInsets:(BOOL)safeAreaShouldAffectObscuredInsets WK_API_AVAILABLE(ios( WK_IOS_TBA));151 - (void)_webView:(WKWebView *)webView didChangeSafeAreaShouldAffectObscuredInsets:(BOOL)safeAreaShouldAffectObscuredInsets WK_API_AVAILABLE(ios(11.0)); 152 152 #else 153 153 - (void)_showWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(WK_MAC_TBA)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeHandler.h
r216037 r221930 38 38 loading resources with URL schemes that WebKit doesn't know how to handle itself. 39 39 */ 40 WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))40 WK_API_AVAILABLE(macosx(10.13), ios(11.0)) 41 41 @protocol WKURLSchemeHandler <NSObject> 42 42 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTask.h
r216037 r221930 32 32 NS_ASSUME_NONNULL_BEGIN 33 33 34 WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))34 WK_API_AVAILABLE(macosx(10.13), ios(11.0)) 35 35 @protocol WKURLSchemeTask <NSObject> 36 36 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTaskPrivate.h
r218750 r221930 28 28 #if WK_API_ENABLED 29 29 30 WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))30 WK_API_AVAILABLE(macosx(10.13), ios(11.0)) 31 31 @protocol WKURLSchemeTaskPrivate <WKURLSchemeTask> 32 32 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.h
r216809 r221930 75 75 @param contentRuleList The content rule list to add. 76 76 */ 77 - (void)addContentRuleList:(WKContentRuleList *)contentRuleList WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));77 - (void)addContentRuleList:(WKContentRuleList *)contentRuleList WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 78 78 79 79 /*! @abstract Removes a content rule list. 80 80 @param contentRuleList The content rule list to remove. 81 81 */ 82 - (void)removeContentRuleList:(WKContentRuleList *)contentRuleList WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));82 - (void)removeContentRuleList:(WKContentRuleList *)contentRuleList WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 83 83 84 84 /*! @abstract Removes all associated content rule lists. 85 85 */ 86 - (void)removeAllContentRuleLists WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));86 - (void)removeAllContentRuleLists WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 87 87 88 88 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.h
r213686 r221930 230 230 */ 231 231 #if TARGET_OS_IPHONE 232 - (void)takeSnapshotWithConfiguration:(nullable WKSnapshotConfiguration *)snapshotConfiguration completionHandler:(void (^)(UIImage * _Nullable snapshotImage, NSError * _Nullable error))completionHandler WK_API_AVAILABLE(ios( WK_IOS_TBA));232 - (void)takeSnapshotWithConfiguration:(nullable WKSnapshotConfiguration *)snapshotConfiguration completionHandler:(void (^)(UIImage * _Nullable snapshotImage, NSError * _Nullable error))completionHandler WK_API_AVAILABLE(ios(11.0)); 233 233 #else 234 - (void)takeSnapshotWithConfiguration:(nullable WKSnapshotConfiguration *)snapshotConfiguration completionHandler:(void (^)(NSImage * _Nullable snapshotImage, NSError * _Nullable error))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA));234 - (void)takeSnapshotWithConfiguration:(nullable WKSnapshotConfiguration *)snapshotConfiguration completionHandler:(void (^)(NSImage * _Nullable snapshotImage, NSError * _Nullable error))completionHandler WK_API_AVAILABLE(macosx(10.13)); 235 235 #endif 236 236 … … 283 283 @param scheme The URL scheme to check. 284 284 */ 285 + (BOOL)handlesURLScheme:(NSString *)urlScheme WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));285 + (BOOL)handlesURLScheme:(NSString *)urlScheme WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 286 286 287 287 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.h
r213686 r221930 189 189 You can use +[WKWebView handlesURLScheme:] to check the availability of a given URL scheme. 190 190 */ 191 - (void)setURLSchemeHandler:(nullable id <WKURLSchemeHandler>)urlSchemeHandler forURLScheme:(NSString *)urlScheme WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));191 - (void)setURLSchemeHandler:(nullable id <WKURLSchemeHandler>)urlSchemeHandler forURLScheme:(NSString *)urlScheme WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 192 192 193 193 /* @abstract Returns the currently registered URL scheme handler object for the given URL scheme. 194 194 @param scheme The URL scheme to lookup. 195 195 */ 196 - (nullable id <WKURLSchemeHandler>)urlSchemeHandlerForURLScheme:(NSString *)urlScheme WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));196 - (nullable id <WKURLSchemeHandler>)urlSchemeHandlerForURLScheme:(NSString *)urlScheme WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 197 197 198 198 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h
r219526 r221930 33 33 _WKDragLiftDelayMedium, 34 34 _WKDragLiftDelayLong 35 } WK_API_AVAILABLE(ios( WK_IOS_TBA));35 } WK_API_AVAILABLE(ios(11.0)); 36 36 #endif 37 37 … … 72 72 @property (nonatomic, setter=_setInlineMediaPlaybackRequiresPlaysInlineAttribute:) BOOL _inlineMediaPlaybackRequiresPlaysInlineAttribute WK_API_AVAILABLE(ios(10.0)); 73 73 @property (nonatomic, setter=_setAllowsInlineMediaPlaybackAfterFullscreen:) BOOL _allowsInlineMediaPlaybackAfterFullscreen WK_API_AVAILABLE(ios(10.0)); 74 @property (nonatomic, setter=_setAllowsBlockSelection:) BOOL _allowsBlockSelection WK_API_AVAILABLE(ios( WK_IOS_TBA));75 @property (nonatomic, setter=_setDragLiftDelay:) _WKDragLiftDelay _dragLiftDelay WK_API_AVAILABLE(ios( WK_IOS_TBA));74 @property (nonatomic, setter=_setAllowsBlockSelection:) BOOL _allowsBlockSelection WK_API_AVAILABLE(ios(11.0)); 75 @property (nonatomic, setter=_setDragLiftDelay:) _WKDragLiftDelay _dragLiftDelay WK_API_AVAILABLE(ios(11.0)); 76 76 #else 77 77 @property (nonatomic, setter=_setShowsURLsInToolTips:) BOOL _showsURLsInToolTips WK_API_AVAILABLE(macosx(10.12)); … … 86 86 87 87 @property (nonatomic, setter=_setOverrideContentSecurityPolicy:) NSString *_overrideContentSecurityPolicy WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 88 @property (nonatomic, setter=_setMediaContentTypesRequiringHardwareSupport:) NSString *_mediaContentTypesRequiringHardwareSupport WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));89 @property (nonatomic, setter=_setLegacyEncryptedMediaAPIEnabled:) BOOL _legacyEncryptedMediaAPIEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));90 @property (nonatomic, setter=_setAllowMediaContentTypesRequiringHardwareSupportAsFallback:) BOOL _allowMediaContentTypesRequiringHardwareSupportAsFallback WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));88 @property (nonatomic, setter=_setMediaContentTypesRequiringHardwareSupport:) NSString *_mediaContentTypesRequiringHardwareSupport WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 89 @property (nonatomic, setter=_setLegacyEncryptedMediaAPIEnabled:) BOOL _legacyEncryptedMediaAPIEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 90 @property (nonatomic, setter=_setAllowMediaContentTypesRequiringHardwareSupportAsFallback:) BOOL _allowMediaContentTypesRequiringHardwareSupportAsFallback WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 91 91 92 92 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
r221870 r221930 47 47 _WKMediaCaptureStateMutedMicrophone = 1 << 2, 48 48 _WKMediaCaptureStateMutedCamera = 1 << 3, 49 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));49 } WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 50 50 51 51 typedef NS_OPTIONS(NSInteger, _WKMediaMutedState) { … … 53 53 _WKMediaAudioMuted = 1 << 0, 54 54 _WKMediaCaptureDevicesMuted = 1 << 1, 55 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));55 } WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 56 56 57 57 typedef NS_OPTIONS(NSUInteger, _WKCaptureDevices) { 58 58 _WKCaptureDeviceMicrophone = 1 << 0, 59 59 _WKCaptureDeviceCamera = 1 << 1, 60 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));61 62 #if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED >= 11000060 } WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 61 62 #if TARGET_OS_IPHONE 63 63 64 64 typedef NS_ENUM(NSUInteger, _WKDragInteractionPolicy) { … … 66 66 _WKDragInteractionPolicyAlwaysEnable, 67 67 _WKDragInteractionPolicyAlwaysDisable 68 } WK_API_AVAILABLE(ios( WK_IOS_TBA));68 } WK_API_AVAILABLE(ios(11.0)); 69 69 70 70 #endif … … 123 123 - (void)_loadAlternateHTMLString:(NSString *)string baseURL:(NSURL *)baseURL forUnreachableURL:(NSURL *)unreachableURL; 124 124 - (WKNavigation *)_loadData:(NSData *)data MIMEType:(NSString *)MIMEType characterEncodingName:(NSString *)characterEncodingName baseURL:(NSURL *)baseURL userData:(id)userData WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 125 - (WKNavigation *)_loadRequest:(NSURLRequest *)request shouldOpenExternalURLs:(BOOL)shouldOpenExternalURLs WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));125 - (WKNavigation *)_loadRequest:(NSURLRequest *)request shouldOpenExternalURLs:(BOOL)shouldOpenExternalURLs WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 126 126 127 127 @property (nonatomic, readonly) NSArray *_certificateChain WK_API_DEPRECATED_WITH_REPLACEMENT("certificateChain", macosx(10.10, 10.11), ios(8.0, 9.0)); … … 160 160 - (void)_close; 161 161 162 - (void)_updateWebsitePolicies:(_WKWebsitePolicies *)websitePolicies WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));163 164 - (void)_evaluateJavaScriptWithoutUserGesture:(NSString *)javaScriptString completionHandler:(void (^)(id, NSError *))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));162 - (void)_updateWebsitePolicies:(_WKWebsitePolicies *)websitePolicies WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 163 164 - (void)_evaluateJavaScriptWithoutUserGesture:(NSString *)javaScriptString completionHandler:(void (^)(id, NSError *))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 165 165 166 166 @property (nonatomic, setter=_setLayoutMode:) _WKLayoutMode _layoutMode; … … 168 168 @property (nonatomic, setter=_setFixedLayoutSize:) CGSize _fixedLayoutSize; 169 169 170 @property (nonatomic, setter=_setViewportSizeForCSSViewportUnits:) CGSize _viewportSizeForCSSViewportUnits WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));170 @property (nonatomic, setter=_setViewportSizeForCSSViewportUnits:) CGSize _viewportSizeForCSSViewportUnits WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 171 171 172 172 @property (nonatomic, setter=_setViewScale:) CGFloat _viewScale; … … 182 182 @property (nonatomic, setter=_setObscuredInsets:) UIEdgeInsets _obscuredInsets; 183 183 184 @property (nonatomic, setter=_setUnobscuredSafeAreaInsets:) UIEdgeInsets _unobscuredSafeAreaInsets WK_API_AVAILABLE(ios( WK_IOS_TBA));185 @property (nonatomic, readonly) BOOL _safeAreaShouldAffectObscuredInsets WK_API_AVAILABLE(ios( WK_IOS_TBA));186 @property (nonatomic, setter=_setObscuredInsetEdgesAffectedBySafeArea:) UIRectEdge _obscuredInsetEdgesAffectedBySafeArea WK_API_AVAILABLE(ios( WK_IOS_TBA));184 @property (nonatomic, setter=_setUnobscuredSafeAreaInsets:) UIEdgeInsets _unobscuredSafeAreaInsets WK_API_AVAILABLE(ios(11.0)); 185 @property (nonatomic, readonly) BOOL _safeAreaShouldAffectObscuredInsets WK_API_AVAILABLE(ios(11.0)); 186 @property (nonatomic, setter=_setObscuredInsetEdgesAffectedBySafeArea:) UIRectEdge _obscuredInsetEdgesAffectedBySafeArea WK_API_AVAILABLE(ios(11.0)); 187 187 188 188 // An ancestor view whose bounds will be intersected with those of this WKWebView to determine the visible region of content to render. 189 @property (nonatomic, readonly) UIView *_enclosingViewForExposedRectComputation WK_API_AVAILABLE(ios( WK_IOS_TBA));189 @property (nonatomic, readonly) UIView *_enclosingViewForExposedRectComputation WK_API_AVAILABLE(ios(11.0)); 190 190 191 191 // Override the interface orientation. Clients using _beginAnimatedResizeWithUpdates: must update the interface orientation … … 205 205 @property (nonatomic, readonly) _WKWebViewPrintFormatter *_webViewPrintFormatter; 206 206 207 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000 208 @property (nonatomic, setter=_setDragInteractionPolicy:) _WKDragInteractionPolicy _dragInteractionPolicy WK_API_AVAILABLE(ios(WK_IOS_TBA)); 209 #endif 207 @property (nonatomic, setter=_setDragInteractionPolicy:) _WKDragInteractionPolicy _dragInteractionPolicy WK_API_AVAILABLE(ios(11.0)); 210 208 211 209 - (void)_beginInteractiveObscuredInsetsChange; … … 225 223 - (void)_overrideLayoutParametersWithMinimumLayoutSize:(CGSize)minimumLayoutSize maximumUnobscuredSizeOverride:(CGSize)maximumUnobscuredSizeOverride WK_API_AVAILABLE(ios(9_0)); 226 224 227 - (void)_clearOverrideLayoutParameters WK_API_AVAILABLE(ios( WK_IOS_TBA));228 - (void)_clearInterfaceOrientationOverride WK_API_AVAILABLE(ios( WK_IOS_TBA));225 - (void)_clearOverrideLayoutParameters WK_API_AVAILABLE(ios(11.0)); 226 - (void)_clearInterfaceOrientationOverride WK_API_AVAILABLE(ios(11.0)); 229 227 230 228 - (UIView *)_viewForFindUI; … … 244 242 - (NSArray *)_dataDetectionResults; 245 243 246 - (void)_accessibilityRetrieveSpeakSelectionContent WK_API_AVAILABLE(ios( WK_IOS_TBA));247 - (void)_accessibilityDidGetSpeakSelectionContent:(NSString *)content WK_API_AVAILABLE(ios( WK_IOS_TBA));244 - (void)_accessibilityRetrieveSpeakSelectionContent WK_API_AVAILABLE(ios(11.0)); 245 - (void)_accessibilityDidGetSpeakSelectionContent:(NSString *)content WK_API_AVAILABLE(ios(11.0)); 248 246 249 247 #else … … 280 278 // FIXME: This SPI should become a part of the WKUIDelegate. rdar://problem/26561537 281 279 @property (nonatomic, readwrite, setter=_setWantsMediaPlaybackControlsView:) BOOL _wantsMediaPlaybackControlsView WK_API_AVAILABLE(macosx(10.12.3)); 282 @property (nonatomic, readonly) id _mediaPlaybackControlsView WK_API_AVAILABLE(macosx( WK_MAC_TBA));283 - (void)_addMediaPlaybackControlsView:(id)mediaPlaybackControlsView WK_API_AVAILABLE(macosx( WK_MAC_TBA));280 @property (nonatomic, readonly) id _mediaPlaybackControlsView WK_API_AVAILABLE(macosx(10.13)); 281 - (void)_addMediaPlaybackControlsView:(id)mediaPlaybackControlsView WK_API_AVAILABLE(macosx(10.13)); 284 282 - (void)_removeMediaPlaybackControlsView WK_API_AVAILABLE(macosx(10.12.3)); 285 283 286 - (void)_prepareForMoveToWindow:(NSWindow *)targetWindow completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA));284 - (void)_prepareForMoveToWindow:(NSWindow *)targetWindow completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.13)); 287 285 288 286 #endif 289 287 290 288 - (WKNavigation *)_reloadWithoutContentBlockers WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 291 - (WKNavigation *)_reloadExpiredOnly WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));289 - (WKNavigation *)_reloadExpiredOnly WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 292 290 293 291 - (void)_killWebContentProcessAndResetState; … … 295 293 - (void)_getMainResourceDataWithCompletionHandler:(void (^)(NSData *, NSError *))completionHandler; 296 294 - (void)_getWebArchiveDataWithCompletionHandler:(void (^)(NSData *, NSError *))completionHandler; 297 - (void)_getContentsAsStringWithCompletionHandler:(void (^)(NSString *, NSError *))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));295 - (void)_getContentsAsStringWithCompletionHandler:(void (^)(NSString *, NSError *))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 298 296 299 297 @property (nonatomic, setter=_setPaginationMode:) _WKPaginationMode _paginationMode; … … 331 329 @property (nonatomic, readonly) BOOL _webProcessIsResponsive WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 332 330 333 @property (nonatomic, setter=_setFullscreenDelegate:) id<_WKFullscreenDelegate> _fullscreenDelegate WK_API_AVAILABLE(macosx( WK_MAC_TBA));331 @property (nonatomic, setter=_setFullscreenDelegate:) id<_WKFullscreenDelegate> _fullscreenDelegate WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 334 332 @property (nonatomic, readonly) BOOL _isInFullscreen WK_API_AVAILABLE(macosx(10.12.3)); 335 333 336 - (void)_muteMediaCapture WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));337 - (void)_setPageMuted:(_WKMediaMutedState)mutedState WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));338 339 @property (nonatomic, setter=_setMediaCaptureEnabled:) BOOL _mediaCaptureEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));334 - (void)_muteMediaCapture WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 335 - (void)_setPageMuted:(_WKMediaMutedState)mutedState WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 336 337 @property (nonatomic, setter=_setMediaCaptureEnabled:) BOOL _mediaCaptureEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 340 338 341 339 @end … … 361 359 - (void)selectFormAccessoryPickerRow:(int)rowIndex WK_API_AVAILABLE(ios(10.3)); 362 360 363 - (void)applyAutocorrection:(NSString *)newString toString:(NSString *)oldString withCompletionHandler:(void (^)())completionHandler WK_API_AVAILABLE(ios( WK_IOS_TBA));361 - (void)applyAutocorrection:(NSString *)newString toString:(NSString *)oldString withCompletionHandler:(void (^)())completionHandler WK_API_AVAILABLE(ios(11.0)); 364 362 365 363 - (void)didStartFormControlInteraction WK_API_AVAILABLE(ios(10.3)); … … 378 376 @property (nonatomic, readonly) NSNumber *_stableStateOverride WK_API_AVAILABLE(ios(10.3)); 379 377 380 - (NSDictionary *)_propertiesOfLayerWithID:(unsigned long long)layerID WK_API_AVAILABLE(ios( WK_IOS_TBA));378 - (NSDictionary *)_propertiesOfLayerWithID:(unsigned long long)layerID WK_API_AVAILABLE(ios(11.0)); 381 379 - (void)_simulateLongPressActionAtLocation:(CGPoint)location; 382 380 383 @property (nonatomic, readonly) CGRect _dragCaretRect WK_API_AVAILABLE(ios( WK_IOS_TBA));384 385 - (void)_requestActivatedElementAtPosition:(CGPoint)position completionBlock:(void (^)(_WKActivatedElementInfo *))block WK_API_AVAILABLE(ios( WK_IOS_TBA));381 @property (nonatomic, readonly) CGRect _dragCaretRect WK_API_AVAILABLE(ios(11.0)); 382 383 - (void)_requestActivatedElementAtPosition:(CGPoint)position completionBlock:(void (^)(_WKActivatedElementInfo *))block WK_API_AVAILABLE(ios(11.0)); 386 384 - (void)_accessibilityRetrieveRectsAtSelectionOffset:(NSInteger)offset withText:(NSString *)text completionHandler:(void (^)(NSArray<NSValue *> *rects))completionHandler WK_API_AVAILABLE(ios(WK_IOS_TBA)); 387 385 … … 398 396 @property (nonatomic, readonly) BOOL _shouldRequestCandidates WK_API_AVAILABLE(macosx(10.12.3)); 399 397 - (void)_insertText:(id)string replacementRange:(NSRange)replacementRange WK_API_AVAILABLE(macosx(10.12.3)); 400 - (NSRect)_candidateRect WK_API_AVAILABLE(macosx( WK_MAC_TBA));398 - (NSRect)_candidateRect WK_API_AVAILABLE(macosx(10.13)); 401 399 402 400 - (void)_setHeaderBannerHeight:(int)height WK_API_AVAILABLE(macosx(10.12.3)); … … 412 410 - (void)_doAfterNextPresentationUpdate:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 413 411 - (void)_doAfterNextPresentationUpdateWithoutWaitingForPainting:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 414 - (void)_doAfterNextVisibleContentRectUpdate:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));412 - (void)_doAfterNextVisibleContentRectUpdate:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 415 413 416 414 - (void)_disableBackForwardSnapshotVolatilityForTesting WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h
r217886 r221930 36 36 WK_EXTERN NSString * const _WKWebsiteDataTypeSearchFieldRecentSearches WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 37 37 WK_EXTERN NSString * const _WKWebsiteDataTypeResourceLoadStatistics WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 38 WK_EXTERN NSString * const _WKWebsiteDataTypeCredentials WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));38 WK_EXTERN NSString * const _WKWebsiteDataTypeCredentials WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 39 39 40 40 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.h
r215441 r221930 79 79 80 80 /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */ 81 @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));81 @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 82 82 83 83 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
r221834 r221930 41 41 + (BOOL)_defaultDataStoreExists; 42 42 43 - (instancetype)_initWithConfiguration:(_WKWebsiteDataStoreConfiguration *)configuration WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));43 - (instancetype)_initWithConfiguration:(_WKWebsiteDataStoreConfiguration *)configuration WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 44 44 45 45 - (void)_fetchDataRecordsOfTypes:(NSSet<NSString *> *)dataTypes withOptions:(_WKWebsiteDataStoreFetchOptions)options completionHandler:(void (^)(NSArray<WKWebsiteDataRecord *> *))completionHandler; … … 48 48 49 49 // ResourceLoadStatistics SPI for testing. 50 - (void)_resourceLoadStatisticsSetLastSeen:(double)seconds forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));51 - (void)_resourceLoadStatisticsSetIsPrevalentResource:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));52 - (void)_resourceLoadStatisticsIsPrevalentResource:(NSString *)host completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));53 - (void)_resourceLoadStatisticsSetHadUserInteraction:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));54 - (void)_resourceLoadStatisticsHadUserInteraction:(NSString *)host completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));55 - (void)_resourceLoadStatisticsSetIsGrandfathered:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));56 - (void)_resourceLoadStatisticsIsGrandfathered:(NSString *)host completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));57 - (void)_resourceLoadStatisticsSetSubframeUnderTopFrameOrigin:(NSString *)topFrameHostName forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));58 - (void)_resourceLoadStatisticsSetSubresourceUnderTopFrameOrigin:(NSString *)topFrameHostName forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));59 - (void)_resourceLoadStatisticsSetSubresourceUniqueRedirectTo:(NSString *)hostNameRedirectedTo forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));60 - (void)_resourceLoadStatisticsSetTimeToLiveUserInteraction:(double)seconds WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));61 - (void)_resourceLoadStatisticsSetTimeToLiveCookiePartitionFree:(double)seconds WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));62 - (void)_resourceLoadStatisticsSetMinimumTimeBetweenDataRecordsRemoval:(double)seconds WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));63 - (void)_resourceLoadStatisticsSetGrandfatheringTime:(double)seconds WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));64 - (void)_resourceLoadStatisticsSetMaxStatisticsEntries:(size_t)entries WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));65 - (void)_resourceLoadStatisticsSetPruneEntriesDownTo:(size_t)entries WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));66 - (void)_resourceLoadStatisticsProcessStatisticsAndDataRecords WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));67 - (void)_resourceLoadStatisticsUpdateCookiePartitioning WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));68 - (void)_resourceLoadStatisticsSetShouldPartitionCookies:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));69 - (void)_resourceLoadStatisticsSubmitTelemetry WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));70 - (void)_resourceLoadStatisticsSetNotifyPagesWhenDataRecordsWereScanned:(BOOL)value WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));71 - (void)_resourceLoadStatisticsSetShouldClassifyResourcesBeforeDataRecordsRemoval:(BOOL)value WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));72 - (void)_resourceLoadStatisticsSetNotifyPagesWhenTelemetryWasCaptured:(BOOL)value WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));73 - (void)_resourceLoadStatisticsSetShouldSubmitTelemetry:(BOOL)value WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));74 - (void)_resourceLoadStatisticsClearInMemoryAndPersistentStore WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));75 - (void)_resourceLoadStatisticsClearInMemoryAndPersistentStoreModifiedSinceHours:(unsigned)hours WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));76 - (void)_resourceLoadStatisticsResetToConsistentState WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));77 - (void)_setResourceLoadStatisticsTestingCallback:(nullable void (^)(WKWebsiteDataStore *, NSString *))callback ;50 - (void)_resourceLoadStatisticsSetLastSeen:(double)seconds forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 51 - (void)_resourceLoadStatisticsSetIsPrevalentResource:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 52 - (void)_resourceLoadStatisticsIsPrevalentResource:(NSString *)host completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 53 - (void)_resourceLoadStatisticsSetHadUserInteraction:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 54 - (void)_resourceLoadStatisticsHadUserInteraction:(NSString *)host completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 55 - (void)_resourceLoadStatisticsSetIsGrandfathered:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 56 - (void)_resourceLoadStatisticsIsGrandfathered:(NSString *)host completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 57 - (void)_resourceLoadStatisticsSetSubframeUnderTopFrameOrigin:(NSString *)topFrameHostName forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 58 - (void)_resourceLoadStatisticsSetSubresourceUnderTopFrameOrigin:(NSString *)topFrameHostName forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 59 - (void)_resourceLoadStatisticsSetSubresourceUniqueRedirectTo:(NSString *)hostNameRedirectedTo forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 60 - (void)_resourceLoadStatisticsSetTimeToLiveUserInteraction:(double)seconds WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 61 - (void)_resourceLoadStatisticsSetTimeToLiveCookiePartitionFree:(double)seconds WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 62 - (void)_resourceLoadStatisticsSetMinimumTimeBetweenDataRecordsRemoval:(double)seconds WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 63 - (void)_resourceLoadStatisticsSetGrandfatheringTime:(double)seconds WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 64 - (void)_resourceLoadStatisticsSetMaxStatisticsEntries:(size_t)entries WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 65 - (void)_resourceLoadStatisticsSetPruneEntriesDownTo:(size_t)entries WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 66 - (void)_resourceLoadStatisticsProcessStatisticsAndDataRecords WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 67 - (void)_resourceLoadStatisticsUpdateCookiePartitioning WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 68 - (void)_resourceLoadStatisticsSetShouldPartitionCookies:(BOOL)value forHost:(NSString *)host WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 69 - (void)_resourceLoadStatisticsSubmitTelemetry WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 70 - (void)_resourceLoadStatisticsSetNotifyPagesWhenDataRecordsWereScanned:(BOOL)value WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 71 - (void)_resourceLoadStatisticsSetShouldClassifyResourcesBeforeDataRecordsRemoval:(BOOL)value WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 72 - (void)_resourceLoadStatisticsSetNotifyPagesWhenTelemetryWasCaptured:(BOOL)value WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 73 - (void)_resourceLoadStatisticsSetShouldSubmitTelemetry:(BOOL)value WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 74 - (void)_resourceLoadStatisticsClearInMemoryAndPersistentStore WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 75 - (void)_resourceLoadStatisticsClearInMemoryAndPersistentStoreModifiedSinceHours:(unsigned)hours WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 76 - (void)_resourceLoadStatisticsResetToConsistentState WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 77 - (void)_setResourceLoadStatisticsTestingCallback:(nullable void (^)(WKWebsiteDataStore *, NSString *))callback WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 78 78 79 79 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWindowFeaturesPrivate.h
r219378 r221930 32 32 @interface WKWindowFeatures (WKPrivate) 33 33 34 @property (nullable, nonatomic, readonly) NSNumber *_locationBarVisibility WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));35 @property (nullable, nonatomic, readonly) NSNumber *_scrollbarsVisibility WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));36 @property (nullable, nonatomic, readonly) NSNumber *_fullscreenDisplay WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));37 @property (nullable, nonatomic, readonly) NSNumber *_dialogDisplay WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));34 @property (nullable, nonatomic, readonly) NSNumber *_locationBarVisibility WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 35 @property (nullable, nonatomic, readonly) NSNumber *_scrollbarsVisibility WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 36 @property (nullable, nonatomic, readonly) NSNumber *_fullscreenDisplay WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 37 @property (nullable, nonatomic, readonly) NSNumber *_dialogDisplay WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 38 38 39 39 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKActivatedElementInfo.h
r219034 r221930 50 50 @property (nonatomic, readonly) NSString *ID WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 51 51 #if TARGET_OS_IPHONE 52 @property (nonatomic, readonly) NSDictionary *userInfo WK_API_AVAILABLE(ios( WK_IOS_TBA));52 @property (nonatomic, readonly) NSDictionary *userInfo WK_API_AVAILABLE(ios(11.0)); 53 53 @property (nonatomic, readonly, copy) UIImage *image; 54 54 #else -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h
r218444 r221930 39 39 - (void)_automationSessionDidDisconnectFromRemote:(_WKAutomationSession *)automationSession; 40 40 41 - (WKWebView *)_automationSessionDidRequestNewWebView:(_WKAutomationSession *)automationSession WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));42 - (BOOL)_automationSession:(_WKAutomationSession *)automationSession isShowingJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));43 - (void)_automationSession:(_WKAutomationSession *)automationSession dismissCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));44 - (void)_automationSession:(_WKAutomationSession *)automationSession acceptCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));45 - (NSString *)_automationSession:(_WKAutomationSession *)automationSession messageOfCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));46 - (void)_automationSession:(_WKAutomationSession *)automationSession setUserInput:(NSString *)value forCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));41 - (WKWebView *)_automationSessionDidRequestNewWebView:(_WKAutomationSession *)automationSession WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 42 - (BOOL)_automationSession:(_WKAutomationSession *)automationSession isShowingJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 43 - (void)_automationSession:(_WKAutomationSession *)automationSession dismissCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 44 - (void)_automationSession:(_WKAutomationSession *)automationSession acceptCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 45 - (NSString *)_automationSession:(_WKAutomationSession *)automationSession messageOfCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 46 - (void)_automationSession:(_WKAutomationSession *)automationSession setUserInput:(NSString *)value forCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 47 47 48 48 // FIXME: Objective-C delegate methods shouldn't use C API types like WKPageRef. We need to -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h
r218444 r221930 42 42 - (void)_webView:(WKWebView *)webView logDiagnosticMessageWithResult:(NSString *)message description:(NSString *)description result:(_WKDiagnosticLoggingResultType)result; 43 43 - (void)_webView:(WKWebView *)webView logDiagnosticMessageWithValue:(NSString *)message description:(NSString *)description value:(NSString *) value; 44 - (void)_webView:(WKWebView *)webView logDiagnosticMessageWithEnhancedPrivacy:(NSString *)message description:(NSString *)description WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));44 - (void)_webView:(WKWebView *)webView logDiagnosticMessageWithEnhancedPrivacy:(NSString *)message description:(NSString *)description WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 45 45 46 46 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKFullscreenDelegate.h
r211891 r221930 28 28 #if WK_API_ENABLED 29 29 30 WK_API_AVAILABLE(macosx(10.13)) 30 31 @protocol _WKFullscreenDelegate <NSObject> 31 32 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKGeolocationCoreLocationProvider.h
r218444 r221930 34 34 @class _WKGeolocationPosition; 35 35 36 WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))36 WK_API_AVAILABLE(macosx(10.13), ios(11.0)) 37 37 @protocol _WKGeolocationCoreLocationListener <NSObject> 38 38 - (void)geolocationAuthorizationGranted; … … 43 43 @end 44 44 45 WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))45 WK_API_AVAILABLE(macosx(10.13), ios(11.0)) 46 46 @protocol _WKGeolocationCoreLocationProvider <NSObject> 47 47 - (void)setListener:(id <_WKGeolocationCoreLocationListener>)listener; -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKGeolocationPosition.h
r215246 r221930 34 34 NS_ASSUME_NONNULL_BEGIN 35 35 36 WK_CLASS_AVAILABLE(ios( WK_IOS_TBA))36 WK_CLASS_AVAILABLE(ios(11.0)) 37 37 @interface _WKGeolocationPosition : NSObject 38 38 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKLinkIconParameters.h
r213495 r221930 34 34 WKLinkIconTypeTouchIcon, 35 35 WKLinkIconTypeTouchPrecomposedIcon, 36 } ;36 } WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 37 37 38 WK_CLASS_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))38 WK_CLASS_AVAILABLE(macosx(10.12.3), ios(10.3)) 39 39 @interface _WKLinkIconParameters : NSObject 40 40 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h
r218444 r221930 39 39 @property (nonatomic) BOOL ignoreSynchronousMessagingTimeoutsForTesting WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 40 40 41 @property (nonatomic, copy) NSArray<NSURL *> *additionalReadAccessAllowedURLs WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));41 @property (nonatomic, copy) NSArray<NSURL *> *additionalReadAccessAllowedURLs WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 42 42 43 43 // Network Process properties … … 50 50 @property (nonatomic, nullable, copy) NSString *sourceApplicationBundleIdentifier WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 51 51 @property (nonatomic, nullable, copy) NSString *sourceApplicationSecondaryIdentifier WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 52 @property (nonatomic) BOOL allowsCellularAccess WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));53 @property (nonatomic) BOOL shouldCaptureAudioInUIProcess WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));52 @property (nonatomic) BOOL allowsCellularAccess WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 53 @property (nonatomic) BOOL shouldCaptureAudioInUIProcess WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 54 54 #if TARGET_OS_IPHONE 55 55 @property (nonatomic, nullable, copy) NSString *CTDataConnectionServiceType WK_API_AVAILABLE(ios(10.3)); 56 56 @property (nonatomic) BOOL alwaysRunsAtBackgroundPriority WK_API_AVAILABLE(ios(10.3)); 57 @property (nonatomic) BOOL shouldTakeUIBackgroundAssertion WK_API_AVAILABLE(ios( WK_IOS_TBA));57 @property (nonatomic) BOOL shouldTakeUIBackgroundAssertion WK_API_AVAILABLE(ios(11.0)); 58 58 #endif 59 @property (nonatomic) pid_t presentingApplicationPID WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));59 @property (nonatomic) pid_t presentingApplicationPID WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 60 60 61 61 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h
r218444 r221930 36 36 - (void)_invalidateContentExtensionVersionForIdentifier:(NSString *)identifier; 37 37 38 - (id)_initWithWKContentRuleListStore:(WKContentRuleListStore*)contentRuleListStore WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));38 - (id)_initWithWKContentRuleListStore:(WKContentRuleListStore*)contentRuleListStore WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 39 39 40 40 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentFilterPrivate.h
r218444 r221930 32 32 @interface _WKUserContentFilter (WKPrivate) 33 33 34 - (id)_initWithWKContentRuleList:(WKContentRuleList*)contentRuleList WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));34 - (id)_initWithWKContentRuleList:(WKContentRuleList*)contentRuleList WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 35 35 36 36 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.h
r221337 r221930 32 32 NS_ASSUME_NONNULL_BEGIN 33 33 34 WK_CLASS_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))34 WK_CLASS_AVAILABLE(macosx(10.13), ios(11.0)) 35 35 @interface _WKWebsiteDataStoreConfiguration : NSObject 36 36 … … 39 39 @property (nonatomic, copy, setter=_setWebSQLDatabaseDirectory:) NSURL *_webSQLDatabaseDirectory; 40 40 @property (nonatomic, copy, setter=_setCookieStorageFile:) NSURL *_cookieStorageFile; 41 @property (nonatomic, copy, setter=_setResourceLoadStatisticsDirectory:) NSURL *_resourceLoadStatisticsDirectory ;41 @property (nonatomic, copy, setter=_setResourceLoadStatisticsDirectory:) NSURL *_resourceLoadStatisticsDirectory WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 42 42 43 43 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebsitePolicies.h
r218444 r221930 33 33 _WKWebsiteAutoplayPolicyAllowWithoutSound, 34 34 _WKWebsiteAutoplayPolicyDeny 35 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));35 } WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 36 36 37 37 typedef NS_OPTIONS(NSUInteger, _WKWebsiteAutoplayQuirk) { 38 38 _WKWebsiteAutoplayQuirkSynthesizedPauseEvents = 1 << 0, 39 39 _WKWebsiteAutoplayQuirkInheritedUserGestures = 1 << 1, 40 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));40 } WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 41 41 42 42 WK_CLASS_AVAILABLE(macosx(10.12.3), ios(10.3)) … … 44 44 45 45 @property (nonatomic) BOOL contentBlockersEnabled; 46 @property (nonatomic) _WKWebsiteAutoplayQuirk allowedAutoplayQuirks WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));47 @property (nonatomic) _WKWebsiteAutoplayPolicy autoplayPolicy WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));46 @property (nonatomic) _WKWebsiteAutoplayQuirk allowedAutoplayQuirks WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 47 @property (nonatomic) _WKWebsiteAutoplayPolicy autoplayPolicy WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 48 48 49 49 @end -
trunk/Source/WebKit/UIProcess/_WKWebViewPrintFormatter.h
r218444 r221930 35 35 36 36 @property (nonatomic, strong) _WKFrameHandle *frameToPrint; 37 @property (nonatomic) BOOL snapshotFirstPage WK_API_AVAILABLE(ios( WK_IOS_TBA));37 @property (nonatomic) BOOL snapshotFirstPage WK_API_AVAILABLE(ios(11.0)); 38 38 39 39 @end -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInEditingDelegate.h
r218444 r221930 53 53 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller shouldInsertText:(NSString *)text replacingRange:(WKWebProcessPlugInRangeHandle *)range givenAction:(WKEditorInsertAction)action; 54 54 #if TARGET_OS_IPHONE 55 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller shouldChangeSelectedRange:(WKDOMRange *)currentRange toRange:(WKDOMRange *)proposedRange affinity:(UITextStorageDirection)selectionAffinity stillSelecting:(BOOL)stillSelecting WK_API_AVAILABLE(ios( WK_IOS_TBA));55 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller shouldChangeSelectedRange:(WKDOMRange *)currentRange toRange:(WKDOMRange *)proposedRange affinity:(UITextStorageDirection)selectionAffinity stillSelecting:(BOOL)stillSelecting WK_API_AVAILABLE(ios(11.0)); 56 56 #else 57 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller shouldChangeSelectedRange:(WKDOMRange *)currentRange toRange:(WKDOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)stillSelecting WK_API_AVAILABLE(macosx( WK_MAC_TBA));57 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller shouldChangeSelectedRange:(WKDOMRange *)currentRange toRange:(WKDOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)stillSelecting WK_API_AVAILABLE(macosx(10.13)); 58 58 #endif 59 59 - (void)_webProcessPlugInBrowserContextControllerDidChangeByEditing:(WKWebProcessPlugInBrowserContextController *)controller; … … 61 61 - (NSDictionary<NSString *, NSData *> *)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller pasteboardDataForRange:(WKWebProcessPlugInRangeHandle *)range; 62 62 - (void)_webProcessPlugInBrowserContextControllerDidWriteToPasteboard:(WKWebProcessPlugInBrowserContextController *)controller; 63 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller performTwoStepDrop:(WKWebProcessPlugInNodeHandle *)fragment atDestination:(WKWebProcessPlugInRangeHandle *)destination isMove:(BOOL)isMove WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));63 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller performTwoStepDrop:(WKWebProcessPlugInNodeHandle *)fragment atDestination:(WKWebProcessPlugInRangeHandle *)destination isMove:(BOOL)isMove WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 64 64 65 65 @end -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h
r216185 r221930 45 45 46 46 #if TARGET_OS_IPHONE 47 - (UIImage *)renderedImageWithOptions:(WKSnapshotOptions)options WK_API_AVAILABLE( macosx(10.11),ios(9.0));48 - (UIImage *)renderedImageWithOptions:(WKSnapshotOptions)options width:(NSNumber *)width WK_API_AVAILABLE( macosx(WK_MAC_TBA), ios(WK_IOS_TBA));47 - (UIImage *)renderedImageWithOptions:(WKSnapshotOptions)options WK_API_AVAILABLE(ios(9.0)); 48 - (UIImage *)renderedImageWithOptions:(WKSnapshotOptions)options width:(NSNumber *)width WK_API_AVAILABLE(ios(11.0)); 49 49 #else 50 - (NSImage *)renderedImageWithOptions:(WKSnapshotOptions)options WK_API_AVAILABLE(macosx(10.11) , ios(9.0));51 - (NSImage *)renderedImageWithOptions:(WKSnapshotOptions)options width:(NSNumber *)width WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));50 - (NSImage *)renderedImageWithOptions:(WKSnapshotOptions)options WK_API_AVAILABLE(macosx(10.11)); 51 - (NSImage *)renderedImageWithOptions:(WKSnapshotOptions)options width:(NSNumber *)width WK_API_AVAILABLE(macosx(10.13)); 52 52 #endif 53 53 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.h
r218444 r221930 40 40 41 41 @property (nonatomic, readonly) WKWebProcessPlugInFrame *frame; 42 @property (nonatomic, readonly, copy) NSString *text WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));42 @property (nonatomic, readonly, copy) NSString *text WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 43 43 44 44 #if TARGET_OS_IPHONE 45 - (NSArray *)detectDataWithTypes:(WKDataDetectorTypes)types context:(NSDictionary *)context WK_API_AVAILABLE(ios( WK_IOS_TBA));45 - (NSArray *)detectDataWithTypes:(WKDataDetectorTypes)types context:(NSDictionary *)context WK_API_AVAILABLE(ios(11.0)); 46 46 #endif 47 47 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.mm
r217580 r221930 72 72 73 73 #if TARGET_OS_IPHONE 74 - (NSArray *)detectDataWithTypes:(WKDataDetectorTypes)types context:(NSDictionary *)context WK_API_AVAILABLE(ios(WK_IOS_TBA))74 - (NSArray *)detectDataWithTypes:(WKDataDetectorTypes)types context:(NSDictionary *)context 75 75 { 76 76 #if ENABLE(DATA_DETECTION) -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h
r209307 r221930 44 44 45 45 @property (weak, setter=_setFormDelegate:) id <WKWebProcessPlugInFormDelegatePrivate> _formDelegate; 46 @property (weak, setter=_setEditingDelegate:) id <WKWebProcessPlugInEditingDelegate> _editingDelegate WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));46 @property (weak, setter=_setEditingDelegate:) id <WKWebProcessPlugInEditingDelegate> _editingDelegate WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 47 47 48 48 @property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading;
Note: See TracChangeset
for help on using the changeset viewer.