Changeset 252174 in webkit
- Timestamp:
- Nov 6, 2019 10:37:33 PM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r252172 r252174 1 2019-11-06 Keith Rollin <krollin@apple.com> 2 3 Update availability annotations to match the macOS 10.15 and iOS 13.0 GM SDKs 4 https://bugs.webkit.org/show_bug.cgi?id=202243 5 <rdar://problem/55720747> 6 7 Reviewed by Brent Fulgham. 8 9 Changed WK_MAC_TBA and WK_IOS_TBA to 10.15 and 13.0, respectively, in 10 all declarations that appear in the GM SDKs. 11 12 * Configurations/WebKit.xcconfig: 13 * Shared/API/Cocoa/WKMain.h: 14 * UIProcess/API/Cocoa/NSAttributedString.h: 15 * UIProcess/API/Cocoa/WKContextMenuElementInfo.h: 16 * UIProcess/API/Cocoa/WKError.h: 17 * UIProcess/API/Cocoa/WKErrorPrivate.h: 18 * UIProcess/API/Cocoa/WKNavigation.h: 19 * UIProcess/API/Cocoa/WKNavigationActionPrivate.h: 20 * UIProcess/API/Cocoa/WKNavigationDelegate.h: 21 * UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h: 22 * UIProcess/API/Cocoa/WKNavigationResponsePrivate.h: 23 * UIProcess/API/Cocoa/WKPreferences.h: 24 * UIProcess/API/Cocoa/WKPreferencesPrivate.h: 25 * UIProcess/API/Cocoa/WKPreviewActionItem.h: 26 * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.h: 27 * UIProcess/API/Cocoa/WKPreviewElementInfo.h: 28 * UIProcess/API/Cocoa/WKProcessPoolPrivate.h: 29 * UIProcess/API/Cocoa/WKSnapshotConfiguration.h: 30 * UIProcess/API/Cocoa/WKUIDelegate.h: 31 * UIProcess/API/Cocoa/WKUIDelegatePrivate.h: 32 * UIProcess/API/Cocoa/WKURLSchemeTaskPrivate.h: 33 * UIProcess/API/Cocoa/WKWebViewConfiguration.h: 34 * UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h: 35 * UIProcess/API/Cocoa/WKWebViewPrivate.h: 36 * UIProcess/API/Cocoa/WKWebpagePreferences.h: 37 * UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h: 38 * UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h: 39 * UIProcess/API/Cocoa/_WKActivatedElementInfo.h: 40 * UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h: 41 * UIProcess/API/Cocoa/_WKContentRuleListAction.h: 42 * UIProcess/API/Cocoa/_WKCustomHeaderFields.h: 43 * UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h: 44 * UIProcess/API/Cocoa/_WKElementAction.h: 45 * UIProcess/API/Cocoa/_WKInspectorWindow.h: 46 * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h: 47 * UIProcess/API/Cocoa/_WKTextInputContext.h: 48 * UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h: 49 * UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.h: 50 * UIProcess/API/Cocoa/_WKWebsiteDataStoreDelegate.h: 51 * UIProcess/API/Cocoa/_WKWebsitePolicies.h: 52 * UIProcess/_WKTouchEventGenerator.h: 53 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h: 54 1 55 2019-11-06 Antti Koivisto <antti@apple.com> 2 56 -
trunk/Source/WebKit/Configurations/WebKit.xcconfig
r251896 r252174 157 157 APPLY_RULES_IN_COPY_HEADERS = $(USE_NEW_BUILD_SYSTEM); 158 158 159 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=macosx*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED$(WK_MACOS_101 5));160 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_MACOS_BEFORE_101 5= YES;161 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=iphone* 11.*] = YES;162 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED [sdk=iphone*12.*]= YES;159 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=macosx*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED$(WK_MACOS_1016)); 160 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_MACOS_BEFORE_1016 = YES; 161 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=iphone*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED$(WK_IOS_1013)); 162 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_IOS_BEFORE_1300 = YES; 163 163 164 164 WK_RELOCATABLE_FRAMEWORK_LDFLAGS = $(WK_RELOCATABLE_FRAMEWORK_LDFLAGS_$(WK_RELOCATABLE_FRAMEWORKS)_$(WK_PLATFORM_NAME)); -
trunk/Source/WebKit/Shared/API/Cocoa/WKMain.h
r245562 r252174 33 33 #endif 34 34 35 WK_EXPORT int WKXPCServiceMain(int argc, const char** argv) WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));35 WK_EXPORT int WKXPCServiceMain(int argc, const char** argv) WK_API_AVAILABLE(macos(10.15), ios(13.0)); 36 36 37 37 #ifdef __cplusplus -
trunk/Source/WebKit/UIProcess/API/Cocoa/NSAttributedString.h
r247635 r252174 44 44 */ 45 45 WK_EXTERN NSAttributedStringDocumentReadingOptionKey const NSReadAccessURLDocumentOption 46 NS_SWIFT_NAME(readAccessURL) WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));46 NS_SWIFT_NAME(readAccessURL) WK_API_AVAILABLE(macos(10.15), ios(13.0)); 47 47 48 48 /*! … … 53 53 */ 54 54 typedef void (^NSAttributedStringCompletionHandler)(NSAttributedString * _Nullable, NSDictionary<NSAttributedStringDocumentAttributeKey, id> * _Nullable, NSError * _Nullable) 55 NS_SWIFT_NAME(NSAttributedString.CompletionHandler) WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));55 NS_SWIFT_NAME(NSAttributedString.CompletionHandler) WK_API_AVAILABLE(macos(10.15), ios(13.0)); 56 56 57 57 /*! … … 71 71 */ 72 72 + (void)loadFromHTMLWithRequest:(NSURLRequest *)request options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)options completionHandler:(NSAttributedStringCompletionHandler)completionHandler 73 NS_SWIFT_NAME(loadFromHTML(request:options:completionHandler:)) WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));73 NS_SWIFT_NAME(loadFromHTML(request:options:completionHandler:)) WK_API_AVAILABLE(macos(10.15), ios(13.0)); 74 74 75 75 /*! … … 86 86 */ 87 87 + (void)loadFromHTMLWithFileURL:(NSURL *)fileURL options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)options completionHandler:(NSAttributedStringCompletionHandler)completionHandler 88 NS_SWIFT_NAME(loadFromHTML(fileURL:options:completionHandler:)) WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));88 NS_SWIFT_NAME(loadFromHTML(fileURL:options:completionHandler:)) WK_API_AVAILABLE(macos(10.15), ios(13.0)); 89 89 90 90 /*! … … 100 100 */ 101 101 + (void)loadFromHTMLWithString:(NSString *)string options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)options completionHandler:(NSAttributedStringCompletionHandler)completionHandler 102 NS_SWIFT_NAME(loadFromHTML(string:options:completionHandler:)) WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));102 NS_SWIFT_NAME(loadFromHTML(string:options:completionHandler:)) WK_API_AVAILABLE(macos(10.15), ios(13.0)); 103 103 104 104 /*! … … 114 114 */ 115 115 + (void)loadFromHTMLWithData:(NSData *)data options:(NSDictionary<NSAttributedStringDocumentReadingOptionKey, id> *)options completionHandler:(NSAttributedStringCompletionHandler)completionHandler 116 NS_SWIFT_NAME(loadFromHTML(data:options:completionHandler:)) WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));116 NS_SWIFT_NAME(loadFromHTML(data:options:completionHandler:)) WK_API_AVAILABLE(macos(10.15), ios(13.0)); 117 117 118 118 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKContextMenuElementInfo.h
r246224 r252174 32 32 NS_ASSUME_NONNULL_BEGIN 33 33 34 WK_CLASS_AVAILABLE(ios( WK_IOS_TBA))34 WK_CLASS_AVAILABLE(ios(13.0)) 35 35 @interface WKContextMenuElementInfo : NSObject 36 36 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKError.h
r243376 r252174 57 57 WKErrorContentRuleListStoreRemoveFailed WK_API_AVAILABLE(macos(10.13), ios(11.0)), 58 58 WKErrorContentRuleListStoreVersionMismatch WK_API_AVAILABLE(macos(10.13), ios(11.0)), 59 WKErrorAttributedStringContentFailedToLoad WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA)),60 WKErrorAttributedStringContentLoadTimedOut WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA)),59 WKErrorAttributedStringContentFailedToLoad WK_API_AVAILABLE(macos(10.15), ios(13.0)), 60 WKErrorAttributedStringContentLoadTimedOut WK_API_AVAILABLE(macos(10.15), ios(13.0)), 61 61 } WK_API_AVAILABLE(macos(10.10), ios(8.0)); 62 62 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKErrorPrivate.h
r245979 r252174 30 30 typedef NS_ENUM(NSInteger, _WKLegacyErrorCode) { 31 31 _WKErrorCodeFrameLoadInterruptedByPolicyChange WK_API_AVAILABLE(macos(10.11), ios(9.0)) = 102, 32 _WKErrorCodeFrameLoadBlockedByRestrictions WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA)) = 106,32 _WKErrorCodeFrameLoadBlockedByRestrictions WK_API_AVAILABLE(macos(10.15), ios(13.0)) = 106, 33 33 _WKLegacyErrorPlugInWillHandleLoad = 204, 34 34 } WK_API_AVAILABLE(macos(10.11), ios(8.3)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigation.h
r246118 r252174 40 40 @discussion The value is either WKContentModeMobile or WKContentModeDesktop. 41 41 */ 42 @property (nonatomic, readonly) WKContentMode effectiveContentMode WK_API_AVAILABLE(ios( WK_IOS_TBA));42 @property (nonatomic, readonly) WKContentMode effectiveContentMode WK_API_AVAILABLE(ios(13.0)); 43 43 44 44 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationActionPrivate.h
r245294 r252174 46 46 @property (nonatomic, readonly) BOOL _shouldOpenExternalSchemes WK_API_AVAILABLE(macos(10.11), ios(9.0)); 47 47 @property (nonatomic, readonly) BOOL _shouldOpenAppLinks WK_API_AVAILABLE(macos(10.11), ios(9.0)); 48 @property (nonatomic, readonly) BOOL _shouldPerformDownload WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));48 @property (nonatomic, readonly) BOOL _shouldPerformDownload WK_API_AVAILABLE(macos(10.15), ios(13.0)); 49 49 50 50 @property (nonatomic, readonly) BOOL _shouldOpenExternalURLs WK_API_DEPRECATED("use _shouldOpenExternalSchemes and _shouldOpenAppLinks", macos(10.11, 10.11), ios(9.0, 9.0)); … … 56 56 @property (nonatomic, readonly) CGPoint _clickLocationInRootViewCoordinates WK_API_AVAILABLE(ios(11.0)); 57 57 58 @property (nonatomic, readonly) UIKeyModifierFlags modifierFlags WK_API_AVAILABLE(ios( WK_IOS_TBA));58 @property (nonatomic, readonly) UIKeyModifierFlags modifierFlags WK_API_AVAILABLE(ios(13.0)); 59 59 #endif 60 60 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegate.h
r244239 r252174 87 87 -webView:decidePolicyForNavigationAction:decisionHandler: will not be called. 88 88 */ 89 - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction preferences:(WKWebpagePreferences *)preferences decisionHandler:(void (^)(WKNavigationActionPolicy, WKWebpagePreferences *))decisionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));89 - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction preferences:(WKWebpagePreferences *)preferences decisionHandler:(void (^)(WKNavigationActionPolicy, WKWebpagePreferences *))decisionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 90 90 91 91 /*! @abstract Decides whether to allow or cancel a navigation after its -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h
r247026 r252174 95 95 - (void)_webViewDidRemoveNavigationGestureSnapshot:(WKWebView *)webView WK_API_AVAILABLE(macos(10.12), ios(10.0)); 96 96 - (void)_webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy, _WKWebsitePolicies *))decisionHandler WK_API_DEPRECATED_WITH_REPLACEMENT("_webView:decidePolicyForNavigationAction:preferences:userInfo:decisionHandler:", macos(10.12.3, 10.14.4), ios(10.3, 12.2)); 97 - (void)_webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction userInfo:(id <NSSecureCoding>)userInfo decisionHandler:(void (^)(WKNavigationActionPolicy, _WKWebsitePolicies *))decisionHandler WK_API_DEPRECATED_WITH_REPLACEMENT("_webView:decidePolicyForNavigationAction:preferences:userInfo:decisionHandler:", macos(10.13.4, WK_MAC_TBA), ios(11.3, WK_IOS_TBA));98 -(void)_webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction preferences:(WKWebpagePreferences *)preferences userInfo:(id <NSSecureCoding>)userInfo decisionHandler:(void (^)(WKNavigationActionPolicy, WKWebpagePreferences *))decisionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));97 - (void)_webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction userInfo:(id <NSSecureCoding>)userInfo decisionHandler:(void (^)(WKNavigationActionPolicy, _WKWebsitePolicies *))decisionHandler WK_API_DEPRECATED_WITH_REPLACEMENT("_webView:decidePolicyForNavigationAction:preferences:userInfo:decisionHandler:", macos(10.13.4, 10.15), ios(11.3, 13.0)); 98 -(void)_webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction preferences:(WKWebpagePreferences *)preferences userInfo:(id <NSSecureCoding>)userInfo decisionHandler:(void (^)(WKNavigationActionPolicy, WKWebpagePreferences *))decisionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 99 99 - (void)_webView:(WKWebView *)webView didStartProvisionalNavigation:(WKNavigation *)navigation userInfo:(id <NSSecureCoding>)userInfo WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); 100 100 - (void)_webView:(WKWebView *)webView didFailNavigation:(WKNavigation *)navigation withError:(NSError *)error userInfo:(id <NSSecureCoding>)userInfo WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); 101 101 102 102 - (void)_webView:(WKWebView *)webView URL:(NSURL *)url contentRuleListIdentifiers:(NSArray<NSString *> *)identifiers notifications:(NSArray<NSString *> *)notifications WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); 103 - (void)_webView:(WKWebView *)webView contentRuleListWithIdentifier:(NSString *)identifier performedAction:(_WKContentRuleListAction *)action forURL:(NSURL *)url WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));103 - (void)_webView:(WKWebView *)webView contentRuleListWithIdentifier:(NSString *)identifier performedAction:(_WKContentRuleListAction *)action forURL:(NSURL *)url WK_API_AVAILABLE(macos(10.15), ios(13.0)); 104 104 - (void)_webView:(WKWebView *)webView webContentProcessDidTerminateWithReason:(_WKProcessTerminationReason)reason WK_API_AVAILABLE(macos(10.14), ios(12.0)); 105 105 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationResponsePrivate.h
r244161 r252174 30 30 @property (nonatomic, readonly) WKFrameInfo *_frame; 31 31 @property (nonatomic, readonly) NSURLRequest *_request; 32 @property (nonatomic, readonly) NSString *_downloadAttribute WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));32 @property (nonatomic, readonly) NSString *_downloadAttribute WK_API_AVAILABLE(macos(10.15), ios(13.0)); 33 33 34 34 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.h
r246127 r252174 57 57 in the following region: China. 58 58 */ 59 @property (nonatomic, getter=isFraudulentWebsiteWarningEnabled) BOOL fraudulentWebsiteWarningEnabled WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));59 @property (nonatomic, getter=isFraudulentWebsiteWarningEnabled) BOOL fraudulentWebsiteWarningEnabled WK_API_AVAILABLE(macos(10.15), ios(13.0)); 60 60 61 61 #if !TARGET_OS_IPHONE … … 72 72 @interface WKPreferences (WKDeprecated) 73 73 74 @property (nonatomic) BOOL javaEnabled WK_API_DEPRECATED("Java is no longer supported", macos(10.10, WK_MAC_TBA));75 @property (nonatomic) BOOL plugInsEnabled WK_API_DEPRECATED("Plug-ins are no longer supported", macos(10.10, WK_MAC_TBA));74 @property (nonatomic) BOOL javaEnabled WK_API_DEPRECATED("Java is no longer supported", macos(10.10, 10.15)); 75 @property (nonatomic) BOOL plugInsEnabled WK_API_DEPRECATED("Plug-ins are no longer supported", macos(10.10, 10.15)); 76 76 77 77 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
r251859 r252174 73 73 @property (nonatomic, setter=_setSimpleLineLayoutEnabled:) BOOL _simpleLineLayoutEnabled WK_API_AVAILABLE(macos(10.12), ios(10.0)); 74 74 @property (nonatomic, setter=_setSimpleLineLayoutDebugBordersEnabled:) BOOL _simpleLineLayoutDebugBordersEnabled WK_API_AVAILABLE(macos(10.11), ios(9.0)); 75 @property (nonatomic, setter=_setContentChangeObserverEnabled:) BOOL _contentChangeObserverEnabled WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));75 @property (nonatomic, setter=_setContentChangeObserverEnabled:) BOOL _contentChangeObserverEnabled WK_API_AVAILABLE(macos(10.15), ios(13.0)); 76 76 @property (nonatomic, setter=_setAcceleratedDrawingEnabled:) BOOL _acceleratedDrawingEnabled WK_API_AVAILABLE(macos(10.12), ios(10.0)); 77 77 @property (nonatomic, setter=_setDisplayListDrawingEnabled:) BOOL _displayListDrawingEnabled WK_API_AVAILABLE(macos(10.12), ios(10.0)); … … 121 121 @property (nonatomic, setter=_setWebRTCLegacyAPIEnabled:) BOOL _webRTCLegacyAPIEnabled WK_API_AVAILABLE(macos(10.13), ios(11.0)); 122 122 @property (nonatomic, setter=_setInactiveMediaCaptureSteamRepromptIntervalInMinutes:) double _inactiveMediaCaptureSteamRepromptIntervalInMinutes WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); 123 @property (nonatomic, setter=_setInterruptAudioOnPageVisibilityChangeEnabled:) BOOL _interruptAudioOnPageVisibilityChangeEnabled WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));123 @property (nonatomic, setter=_setInterruptAudioOnPageVisibilityChangeEnabled:) BOOL _interruptAudioOnPageVisibilityChangeEnabled WK_API_AVAILABLE(macos(10.15), ios(13.0)); 124 124 125 125 @property (nonatomic, setter=_setJavaScriptCanAccessClipboard:) BOOL _javaScriptCanAccessClipboard WK_API_AVAILABLE(macos(10.13), ios(11.0)); … … 127 127 128 128 @property (nonatomic, setter=_setShouldAllowUserInstalledFonts:) BOOL _shouldAllowUserInstalledFonts WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); 129 @property (nonatomic, setter=_setShouldAllowDesignSystemUIFonts:) BOOL _shouldAllowDesignSystemUIFonts WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));129 @property (nonatomic, setter=_setShouldAllowDesignSystemUIFonts:) BOOL _shouldAllowDesignSystemUIFonts WK_API_AVAILABLE(macos(10.15), ios(13.0)); 130 130 131 131 @property (nonatomic, setter=_setEditableLinkBehavior:) _WKEditableLinkBehavior _editableLinkBehavior WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); … … 154 154 @property (nonatomic, setter=_setWebAnimationsCSSIntegrationEnabled:) BOOL _webAnimationsCSSIntegrationEnabled WK_API_AVAILABLE(macos(10.14), ios(12.2)); 155 155 @property (nonatomic, setter=_setDeviceOrientationEventEnabled:) BOOL _deviceOrientationEventEnabled WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 156 @property (nonatomic, setter=_setNeedsSiteSpecificQuirks:) BOOL _needsSiteSpecificQuirks WK_API_AVAILABLE(macos(10.13.4), ios( WK_IOS_TBA));157 @property (nonatomic, setter=_setItpDebugModeEnabled:) BOOL _itpDebugModeEnabled WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));158 @property (nonatomic, setter=_setMediaSourceEnabled:) BOOL _mediaSourceEnabled WK_API_AVAILABLE(macos(10.13.4), ios( WK_IOS_TBA));156 @property (nonatomic, setter=_setNeedsSiteSpecificQuirks:) BOOL _needsSiteSpecificQuirks WK_API_AVAILABLE(macos(10.13.4), ios(13.0)); 157 @property (nonatomic, setter=_setItpDebugModeEnabled:) BOOL _itpDebugModeEnabled WK_API_AVAILABLE(macos(10.15), ios(13.0)); 158 @property (nonatomic, setter=_setMediaSourceEnabled:) BOOL _mediaSourceEnabled WK_API_AVAILABLE(macos(10.13.4), ios(13.0)); 159 159 @property (nonatomic, setter=_setSecureContextChecksEnabled:) BOOL _secureContextChecksEnabled WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 160 160 @property (nonatomic, setter=_setRemotePlaybackEnabled:) BOOL _remotePlaybackEnabled WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); … … 206 206 @property (nonatomic, setter=_setWantsBalancedSetDefersLoadingBehavior:) BOOL _wantsBalancedSetDefersLoadingBehavior WK_API_AVAILABLE(macos(10.14)); 207 207 @property (nonatomic, setter=_setAggressiveTileRetentionEnabled:) BOOL _aggressiveTileRetentionEnabled WK_API_AVAILABLE(macos(10.14)); 208 @property (nonatomic, setter=_setAppNapEnabled:) BOOL _appNapEnabled WK_API_AVAILABLE(macos( WK_MAC_TBA));208 @property (nonatomic, setter=_setAppNapEnabled:) BOOL _appNapEnabled WK_API_AVAILABLE(macos(10.15)); 209 209 #endif 210 210 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItem.h
r245691 r252174 30 30 #import <UIKit/UIViewController.h> 31 31 32 WK_API_DEPRECATED("This API will be replaced", ios(10.0, WK_IOS_TBA))32 WK_API_DEPRECATED("This API will be replaced", ios(10.0, 13.0)) 33 33 @protocol WKPreviewActionItem <UIPreviewActionItem> 34 34 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.h
r245691 r252174 31 31 #import <Foundation/Foundation.h> 32 32 33 WK_EXTERN NSString * const WKPreviewActionItemIdentifierOpen WK_API_DEPRECATED("This API will be replaced", ios(10.0, WK_IOS_TBA));34 WK_EXTERN NSString * const WKPreviewActionItemIdentifierAddToReadingList WK_API_DEPRECATED("This API will be replaced", ios(10.0, WK_IOS_TBA));35 WK_EXTERN NSString * const WKPreviewActionItemIdentifierCopy WK_API_DEPRECATED("This API will be replaced", ios(10.0, WK_IOS_TBA));36 WK_EXTERN NSString * const WKPreviewActionItemIdentifierShare WK_API_DEPRECATED("This API will be replaced", ios(10.0, WK_IOS_TBA));33 WK_EXTERN NSString * const WKPreviewActionItemIdentifierOpen WK_API_DEPRECATED("This API will be replaced", ios(10.0, 13.0)); 34 WK_EXTERN NSString * const WKPreviewActionItemIdentifierAddToReadingList WK_API_DEPRECATED("This API will be replaced", ios(10.0, 13.0)); 35 WK_EXTERN NSString * const WKPreviewActionItemIdentifierCopy WK_API_DEPRECATED("This API will be replaced", ios(10.0, 13.0)); 36 WK_EXTERN NSString * const WKPreviewActionItemIdentifierShare WK_API_DEPRECATED("This API will be replaced", ios(10.0, 13.0)); 37 37 38 38 #endif -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreviewElementInfo.h
r246224 r252174 32 32 NS_ASSUME_NONNULL_BEGIN 33 33 34 WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKContextMenuElementInfo", ios(10.0, WK_IOS_TBA))34 WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKContextMenuElementInfo", ios(10.0, 13.0)) 35 35 @interface WKPreviewElementInfo : NSObject <NSCopying> 36 36 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
r252014 r252174 90 90 91 91 // Test only. Should be called only while no web content processes are running. 92 - (void)_terminateNetworkProcess WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));93 - (void)_sendNetworkProcessWillSuspendImminently WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));94 - (void)_sendNetworkProcessDidResume WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));92 - (void)_terminateNetworkProcess WK_API_AVAILABLE(macos(10.15), ios(13.0)); 93 - (void)_sendNetworkProcessWillSuspendImminently WK_API_AVAILABLE(macos(10.15), ios(13.0)); 94 - (void)_sendNetworkProcessDidResume WK_API_AVAILABLE(macos(10.15), ios(13.0)); 95 95 - (void)_terminateServiceWorkerProcesses WK_API_AVAILABLE(macos(10.14), ios(12.0)); 96 96 97 97 // Test only. 98 98 - (pid_t)_networkProcessIdentifier WK_API_AVAILABLE(macos(10.13), ios(11.0)); 99 - (pid_t)_prewarmedProcessIdentifier WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));99 - (pid_t)_prewarmedProcessIdentifier WK_API_AVAILABLE(macos(10.15), ios(13.0)); 100 100 101 101 // Test only. … … 111 111 - (NSUInteger)_maximumSuspendedPageCount WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 112 112 - (NSUInteger)_processCacheCapacity WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 113 - (NSUInteger)_processCacheSize WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));113 - (NSUInteger)_processCacheSize WK_API_AVAILABLE(macos(10.15), ios(13.0)); 114 114 - (void)_setUseSeparateServiceWorkerProcess:(BOOL)forceServiceWorkerProcess WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 115 115 … … 126 126 - (void)_getActivePagesOriginsInWebProcessForTesting:(pid_t)pid completionHandler:(void(^)(NSArray<NSString *> *))completionHandler WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 127 127 - (BOOL)_networkProcessHasEntitlementForTesting:(NSString *)entitlement WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 128 - (void)_clearPermanentCredentialsForProtectionSpace:(NSURLProtectionSpace *)protectionSpace WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));128 - (void)_clearPermanentCredentialsForProtectionSpace:(NSURLProtectionSpace *)protectionSpace WK_API_AVAILABLE(macos(10.15), ios(13.0)); 129 129 - (void)_allowAnyTLSCertificateForWebSocketTesting WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 130 130 131 131 @property (nonatomic, getter=_isCookieStoragePartitioningEnabled, setter=_setCookieStoragePartitioningEnabled:) BOOL _cookieStoragePartitioningEnabled WK_API_DEPRECATED("Partitioned cookies are no longer supported", macos(10.12.3, 10.14.4), ios(10.3, 12.2)); 132 132 @property (nonatomic, getter=_isStorageAccessAPIEnabled, setter=_setStorageAccessAPIEnabled:) BOOL _storageAccessAPIEnabled WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); 133 - (void)_synthesizeAppIsBackground:(BOOL)background WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));133 - (void)_synthesizeAppIsBackground:(BOOL)background WK_API_AVAILABLE(macos(10.15), ios(13.0)); 134 134 135 135 // Test only. -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKSnapshotConfiguration.h
r243376 r252174 52 52 @discussion The default value is YES. 53 53 */ 54 @property (nonatomic) BOOL afterScreenUpdates WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));54 @property (nonatomic) BOOL afterScreenUpdates WK_API_AVAILABLE(macos(10.15), ios(13.0)); 55 55 56 56 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegate.h
r247657 r252174 136 136 limited to links. In the future, it could be invoked for additional elements. 137 137 */ 138 - (BOOL)webView:(WKWebView *)webView shouldPreviewElement:(WKPreviewElementInfo *)elementInfo WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(10.0, WK_IOS_TBA));138 - (BOOL)webView:(WKWebView *)webView shouldPreviewElement:(WKPreviewElementInfo *)elementInfo WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(10.0, 13.0)); 139 139 140 140 /*! @abstract Allows your app to provide a custom view controller to show when the given element is peeked. … … 151 151 if a non-nil view controller was returned. 152 152 */ 153 - (nullable UIViewController *)webView:(WKWebView *)webView previewingViewControllerForElement:(WKPreviewElementInfo *)elementInfo defaultActions:(NSArray<id <WKPreviewActionItem>> *)previewActions WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(10.0, WK_IOS_TBA));153 - (nullable UIViewController *)webView:(WKWebView *)webView previewingViewControllerForElement:(WKPreviewElementInfo *)elementInfo defaultActions:(NSArray<id <WKPreviewActionItem>> *)previewActions WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(10.0, 13.0)); 154 154 155 155 /*! @abstract Allows your app to pop to the view controller it created. … … 157 157 @param previewingViewController The view controller that is being popped. 158 158 */ 159 - (void)webView:(WKWebView *)webView commitPreviewingViewController:(UIViewController *)previewingViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(10.0, WK_IOS_TBA));159 - (void)webView:(WKWebView *)webView commitPreviewingViewController:(UIViewController *)previewingViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(10.0, 13.0)); 160 160 161 161 #endif // TARGET_OS_IPHONE … … 172 172 */ 173 173 174 - (void)webView:(WKWebView *)webView contextMenuConfigurationForElement:(WKContextMenuElementInfo *)elementInfo completionHandler:(void (^)(UIContextMenuConfiguration * _Nullable configuration))completionHandler WK_API_AVAILABLE(ios( WK_IOS_TBA));174 - (void)webView:(WKWebView *)webView contextMenuConfigurationForElement:(WKContextMenuElementInfo *)elementInfo completionHandler:(void (^)(UIContextMenuConfiguration * _Nullable configuration))completionHandler WK_API_AVAILABLE(ios(13.0)); 175 175 176 176 /** … … 181 181 */ 182 182 183 - (void)webView:(WKWebView *)webView contextMenuWillPresentForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios( WK_IOS_TBA));183 - (void)webView:(WKWebView *)webView contextMenuWillPresentForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios(13.0)); 184 184 185 185 /** … … 193 193 */ 194 194 195 - (void)webView:(WKWebView *)webView contextMenuForElement:(WKContextMenuElementInfo *)elementInfo willCommitWithAnimator:(id <UIContextMenuInteractionCommitAnimating>)animator WK_API_AVAILABLE(ios( WK_IOS_TBA));195 - (void)webView:(WKWebView *)webView contextMenuForElement:(WKContextMenuElementInfo *)elementInfo willCommitWithAnimator:(id <UIContextMenuInteractionCommitAnimating>)animator WK_API_AVAILABLE(ios(13.0)); 196 196 197 197 /** … … 202 202 */ 203 203 204 - (void)webView:(WKWebView *)webView contextMenuDidEndForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios( WK_IOS_TBA));204 - (void)webView:(WKWebView *)webView contextMenuDidEndForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios(13.0)); 205 205 206 206 #endif // TARGET_OS_IOS -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h
r251154 r252174 114 114 - (void)_webView:(WKWebView *)webView imageOrMediaDocumentSizeChanged:(CGSize)size WK_API_AVAILABLE(macos(10.12), ios(10.0)); 115 115 - (NSDictionary *)_dataDetectionContextForWebView:(WKWebView *)webView WK_API_AVAILABLE(macos(10.12), ios(10.0)); 116 - (void)_webView:(WKWebView *)webView requestMediaCaptureAuthorization:(_WKCaptureDevices)devices decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));117 - (void)_webView:(WKWebView *)webView includeSensitiveMediaDeviceDetails:(void (^)(BOOL includeSensitiveDetails))decisionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));116 - (void)_webView:(WKWebView *)webView requestMediaCaptureAuthorization:(_WKCaptureDevices)devices decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 117 - (void)_webView:(WKWebView *)webView includeSensitiveMediaDeviceDetails:(void (^)(BOOL includeSensitiveDetails))decisionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 118 118 - (void)_webView:(WKWebView *)webView requestUserMediaAuthorizationForDevices:(_WKCaptureDevices)devices url:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(macos(10.13), ios(11.0)); 119 119 - (void)_webView:(WKWebView *)webView checkUserMediaPermissionForURL:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL frameIdentifier:(NSUInteger)frameIdentifier decisionHandler:(void (^)(NSString *salt, BOOL authorized))decisionHandler WK_API_AVAILABLE(macos(10.12.3), ios(10.3)); … … 147 147 - (void)_webView:(WKWebView *)webView requestGeolocationAuthorizationForURL:(NSURL *)url frame:(WKFrameInfo *)frame decisionHandler:(void (^)(BOOL authorized))decisionHandler WK_API_AVAILABLE(ios(11.0)); 148 148 149 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForURL:(NSURL *)url WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, WK_IOS_TBA));150 - (void)_webView:(WKWebView *)webView commitPreviewedViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(9.0, WK_IOS_TBA));151 - (void)_webView:(WKWebView *)webView willPreviewImageWithURL:(NSURL *)imageURL WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, WK_IOS_TBA));152 - (void)_webView:(WKWebView *)webView commitPreviewedImageWithURL:(NSURL *)imageURL WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(9.0, WK_IOS_TBA));153 - (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController committing:(BOOL)committing WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuDidEndForElement:", ios(9.0, WK_IOS_TBA));154 - (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuDidEndForElement:", ios(9.0, WK_IOS_TBA));149 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForURL:(NSURL *)url WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, 13.0)); 150 - (void)_webView:(WKWebView *)webView commitPreviewedViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(9.0, 13.0)); 151 - (void)_webView:(WKWebView *)webView willPreviewImageWithURL:(NSURL *)imageURL WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, 13.0)); 152 - (void)_webView:(WKWebView *)webView commitPreviewedImageWithURL:(NSURL *)imageURL WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuForElement:willCommitWithAnimator:", ios(9.0, 13.0)); 153 - (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController committing:(BOOL)committing WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuDidEndForElement:", ios(9.0, 13.0)); 154 - (void)_webView:(WKWebView *)webView didDismissPreviewViewController:(UIViewController *)previewedViewController WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuDidEndForElement:", ios(9.0, 13.0)); 155 155 156 156 #if TARGET_OS_IOS 157 157 // This needs to be removed once there is an API version to continue to do callbacks for image element context menus. 158 - (void)_webView:(WKWebView *)webView contextMenuConfigurationForElement:(WKContextMenuElementInfo *)elementInfo completionHandler:(void(^)(UIContextMenuConfiguration *))completionHandler WK_API_AVAILABLE(ios( WK_IOS_TBA));158 - (void)_webView:(WKWebView *)webView contextMenuConfigurationForElement:(WKContextMenuElementInfo *)elementInfo completionHandler:(void(^)(UIContextMenuConfiguration *))completionHandler WK_API_AVAILABLE(ios(13.0)); 159 159 160 160 // These can be removed once there is an API version. 161 - (void)_webView:(WKWebView *)webView contextMenuForElement:(WKContextMenuElementInfo *)elementInfo willCommitWithAnimator:(id<UIContextMenuInteractionCommitAnimating>)animator WK_API_AVAILABLE(ios( WK_IOS_TBA));162 - (void)_webView:(WKWebView *)webView contextMenuWillPresentForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios( WK_IOS_TBA));163 - (void)_webView:(WKWebView *)webView contextMenuDidEndForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios( WK_IOS_TBA));164 #endif 165 166 - (BOOL)_webView:(WKWebView *)webView showCustomSheetForElement:(_WKActivatedElementInfo *)element WK_API_DEPRECATED_WITH_REPLACEMENT("_webView:contextMenuConfigurationForElement:completionHandler:", ios(10.0, WK_IOS_TBA));161 - (void)_webView:(WKWebView *)webView contextMenuForElement:(WKContextMenuElementInfo *)elementInfo willCommitWithAnimator:(id<UIContextMenuInteractionCommitAnimating>)animator WK_API_AVAILABLE(ios(13.0)); 162 - (void)_webView:(WKWebView *)webView contextMenuWillPresentForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios(13.0)); 163 - (void)_webView:(WKWebView *)webView contextMenuDidEndForElement:(WKContextMenuElementInfo *)elementInfo WK_API_AVAILABLE(ios(13.0)); 164 #endif 165 166 - (BOOL)_webView:(WKWebView *)webView showCustomSheetForElement:(_WKActivatedElementInfo *)element WK_API_DEPRECATED_WITH_REPLACEMENT("_webView:contextMenuConfigurationForElement:completionHandler:", ios(10.0, 13.0)); 167 167 - (void)_webView:(WKWebView *)webView alternateActionForURL:(NSURL *)url WK_API_AVAILABLE(ios(10.0)); 168 168 - (NSArray *)_attachmentListForWebView:(WKWebView *)webView WK_API_AVAILABLE(ios(10.0)); … … 170 170 - (NSUInteger)_webView:(WKWebView *)webView indexIntoAttachmentListForElement:(_WKActivatedElementInfo *)element WK_API_AVAILABLE(ios(10.3)); 171 171 - (UIEdgeInsets)_webView:(WKWebView *)webView finalObscuredInsetsForScrollView:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset WK_API_AVAILABLE(ios(9.0)); 172 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, WK_IOS_TBA));173 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForAnimatedImageAtURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo imageSize:(CGSize)imageSize WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, WK_IOS_TBA));172 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, 13.0)); 173 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForAnimatedImageAtURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo imageSize:(CGSize)imageSize WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(9.0, 13.0)); 174 174 - (UIViewController *)_presentingViewControllerForWebView:(WKWebView *)webView WK_API_AVAILABLE(ios(10.0)); 175 175 - (void)_webView:(WKWebView *)webView getAlternateURLFromImage:(UIImage *)image completionHandler:(void (^)(NSURL *alternateURL, NSDictionary *userInfo))completionHandler WK_API_AVAILABLE(ios(11.0)); 176 176 - (NSURL *)_webView:(WKWebView *)webView alternateURLFromImage:(UIImage *)image userInfo:(NSDictionary **)userInfo WK_API_AVAILABLE(ios(11.0)); 177 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForImage:(UIImage *)image alternateURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(11.0, WK_IOS_TBA));177 - (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForImage:(UIImage *)image alternateURL:(NSURL *)url defaultActions:(NSArray<_WKElementAction *> *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo WK_API_DEPRECATED_WITH_REPLACEMENT("webView:contextMenuConfigurationForElement:completionHandler:", ios(11.0, 13.0)); 178 178 - (NSArray *)_webView:(WKWebView *)webView adjustedDataInteractionItemProviders:(NSArray *)originalItemProviders WK_API_AVAILABLE(ios(11.0)); 179 179 - (NSArray *)_webView:(WKWebView *)webView adjustedDataInteractionItemProvidersForItemProvider:(id)itemProvider representingObjects:(NSArray *)representingObjects additionalData:(NSDictionary *)additionalData WK_API_AVAILABLE(ios(11.0)); … … 202 202 If you do not implement this method, access to the device's orientation and motion will be granted. 203 203 */ 204 - (void)_webView:(WKWebView *)webView shouldAllowDeviceOrientationAndMotionAccessRequestedByFrame:(WKFrameInfo *)requestingFrame decisionHandler:(void (^)(BOOL))decisionHandler WK_API_AVAILABLE(ios( WK_IOS_TBA));204 - (void)_webView:(WKWebView *)webView shouldAllowDeviceOrientationAndMotionAccessRequestedByFrame:(WKFrameInfo *)requestingFrame decisionHandler:(void (^)(BOOL))decisionHandler WK_API_AVAILABLE(ios(13.0)); 205 205 206 206 #else // TARGET_OS_IPHONE -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKURLSchemeTaskPrivate.h
r244540 r252174 31 31 - (void)_didPerformRedirection:(NSURLResponse *)response newRequest:(NSURLRequest *)request; 32 32 33 @property (nonatomic, readonly) BOOL _requestOnlyIfCached WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));33 @property (nonatomic, readonly) BOOL _requestOnlyIfCached WK_API_AVAILABLE(macos(10.15), ios(13.0)); 34 34 35 35 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.h
r244239 r252174 135 135 in -webView:decidePolicyForNavigationAction:preferences:decisionHandler:. 136 136 */ 137 @property (null_resettable, nonatomic, copy) WKWebpagePreferences *defaultWebpagePreferences WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));137 @property (null_resettable, nonatomic, copy) WKWebpagePreferences *defaultWebpagePreferences WK_API_AVAILABLE(macos(10.15), ios(13.0)); 138 138 139 139 #if TARGET_OS_IPHONE -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h
r246657 r252174 85 85 @property (nonatomic, setter=_setLongPressActionsEnabled:) BOOL _longPressActionsEnabled WK_API_AVAILABLE(ios(12.0)); 86 86 @property (nonatomic, setter=_setSystemPreviewEnabled:) BOOL _systemPreviewEnabled WK_API_AVAILABLE(ios(12.0)); 87 @property (nonatomic, setter=_setShouldDecidePolicyBeforeLoadingQuickLookPreview:) BOOL _shouldDecidePolicyBeforeLoadingQuickLookPreview WK_API_AVAILABLE(ios( WK_IOS_TBA));88 @property (nonatomic, setter=_setCanShowWhileLocked:) BOOL _canShowWhileLocked WK_API_AVAILABLE(ios( WK_IOS_TBA));89 @property (nonatomic, setter=_setClickInteractionDriverForTesting:) id <_UIClickInteractionDriving> _clickInteractionDriverForTesting WK_API_AVAILABLE(ios( WK_IOS_TBA));87 @property (nonatomic, setter=_setShouldDecidePolicyBeforeLoadingQuickLookPreview:) BOOL _shouldDecidePolicyBeforeLoadingQuickLookPreview WK_API_AVAILABLE(ios(13.0)); 88 @property (nonatomic, setter=_setCanShowWhileLocked:) BOOL _canShowWhileLocked WK_API_AVAILABLE(ios(13.0)); 89 @property (nonatomic, setter=_setClickInteractionDriverForTesting:) id <_UIClickInteractionDriving> _clickInteractionDriverForTesting WK_API_AVAILABLE(ios(13.0)); 90 90 #else 91 91 @property (nonatomic, setter=_setShowsURLsInToolTips:) BOOL _showsURLsInToolTips WK_API_AVAILABLE(macos(10.12)); … … 110 110 111 111 @property (nonatomic, setter=_setEditableImagesEnabled:) BOOL _editableImagesEnabled WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 112 @property (nonatomic, setter=_setUndoManagerAPIEnabled:) BOOL _undoManagerAPIEnabled WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));112 @property (nonatomic, setter=_setUndoManagerAPIEnabled:) BOOL _undoManagerAPIEnabled WK_API_AVAILABLE(macos(10.15), ios(13.0)); 113 113 114 114 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
r251600 r252174 68 68 _WKSelectionAttributeIsRange = 1 << 1, 69 69 _WKSelectionAttributeAtStartOfSentence = 1 << 2, 70 } WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));70 } WK_API_AVAILABLE(macos(10.15), ios(13.0)); 71 71 72 72 #if TARGET_OS_IPHONE … … 140 140 141 141 @property (nonatomic, readonly) NSURL *_unreachableURL; 142 @property (nonatomic, readonly) NSURL *_mainFrameURL WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));142 @property (nonatomic, readonly) NSURL *_mainFrameURL WK_API_AVAILABLE(macos(10.15), ios(13.0)); 143 143 144 144 - (void)_loadAlternateHTMLString:(NSString *)string baseURL:(NSURL *)baseURL forUnreachableURL:(NSURL *)unreachableURL; … … 180 180 @property (nonatomic, readonly, getter=_isShowingNavigationGestureSnapshot) BOOL _showingNavigationGestureSnapshot; 181 181 182 @property (nonatomic, readonly) NSURL *_resourceDirectoryURL WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));182 @property (nonatomic, readonly) NSURL *_resourceDirectoryURL WK_API_AVAILABLE(macos(10.15), ios(13.0)); 183 183 184 184 - (void)_close; … … 235 235 236 236 @property (class, nonatomic, copy, setter=_setStringForFind:) NSString *_stringForFind WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 237 @property (nonatomic, readonly) _WKSelectionAttributes _selectionAttributes WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));237 @property (nonatomic, readonly) _WKSelectionAttributes _selectionAttributes WK_API_AVAILABLE(macos(10.15), ios(13.0)); 238 238 239 239 #if TARGET_OS_IPHONE … … 276 276 277 277 @property (nonatomic, setter=_setDragInteractionPolicy:) _WKDragInteractionPolicy _dragInteractionPolicy WK_API_AVAILABLE(ios(11.0)); 278 @property (nonatomic, readonly) BOOL _shouldAvoidResizingWhenInputViewBoundsChange WK_API_AVAILABLE(ios( WK_IOS_TBA));278 @property (nonatomic, readonly) BOOL _shouldAvoidResizingWhenInputViewBoundsChange WK_API_AVAILABLE(ios(13.0)); 279 279 280 280 - (void)_beginInteractiveObscuredInsetsChange; … … 289 289 290 290 - (void)_overrideLayoutParametersWithMinimumLayoutSize:(CGSize)minimumLayoutSize maximumUnobscuredSizeOverride:(CGSize)maximumUnobscuredSizeOverride WK_API_AVAILABLE(ios(9_0)); 291 - (void)_overrideViewportWithArguments:(NSDictionary<NSString *, NSString *> *)arguments WK_API_AVAILABLE(ios( WK_IOS_TBA));291 - (void)_overrideViewportWithArguments:(NSDictionary<NSString *, NSString *> *)arguments WK_API_AVAILABLE(ios(13.0)); 292 292 293 293 - (void)_clearOverrideLayoutParameters WK_API_AVAILABLE(ios(11.0)); … … 364 364 365 365 // Defaults to YES; if set to NO, WebKit will draw the grey wash and highlights itself. 366 @property (nonatomic, setter=_setUsePlatformFindUI:) BOOL _usePlatformFindUI WK_API_AVAILABLE(macos( WK_MAC_TBA));366 @property (nonatomic, setter=_setUsePlatformFindUI:) BOOL _usePlatformFindUI WK_API_AVAILABLE(macos(10.15)); 367 367 368 368 #endif … … 377 377 - (void)_getWebArchiveDataWithCompletionHandler:(void (^)(NSData *, NSError *))completionHandler; 378 378 - (void)_getContentsAsStringWithCompletionHandler:(void (^)(NSString *, NSError *))completionHandler WK_API_AVAILABLE(macos(10.13), ios(11.0)); 379 - (void)_getContentsAsAttributedStringWithCompletionHandler:(void (^)(NSAttributedString *, NSDictionary<NSAttributedStringDocumentAttributeKey, id> *, NSError *))completionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));379 - (void)_getContentsAsAttributedStringWithCompletionHandler:(void (^)(NSAttributedString *, NSDictionary<NSAttributedStringDocumentAttributeKey, id> *, NSError *))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 380 380 381 381 - (void)_getApplicationManifestWithCompletionHandler:(void (^)(_WKApplicationManifest *))completionHandler WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); … … 418 418 @property (nonatomic, readonly) BOOL _isInFullscreen WK_API_AVAILABLE(macos(10.12.3)); 419 419 420 @property (nonatomic, readonly) _WKMediaCaptureState _mediaCaptureState WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));420 @property (nonatomic, readonly) _WKMediaCaptureState _mediaCaptureState WK_API_AVAILABLE(macos(10.15), ios(13.0)); 421 421 422 422 - (void)_setPageMuted:(_WKMediaMutedState)mutedState WK_API_AVAILABLE(macos(10.13), ios(11.0)); … … 433 433 - (void)_closeAllMediaPresentations; 434 434 435 - (void)_requestTextInputContextsInRect:(CGRect)rect completionHandler:(void(^)(NSArray<_WKTextInputContext *> *))completionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));436 - (void)_focusTextInputContext:(_WKTextInputContext *)textInputElement completionHandler:(void(^)(BOOL))completionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));435 - (void)_requestTextInputContextsInRect:(CGRect)rect completionHandler:(void(^)(NSArray<_WKTextInputContext *> *))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 436 - (void)_focusTextInputContext:(_WKTextInputContext *)textInputElement completionHandler:(void(^)(BOOL))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 437 437 438 438 - (void)_takePDFSnapshotWithConfiguration:(WKSnapshotConfiguration *)snapshotConfiguration completionHandler:(void (^)(NSData *pdfSnapshotData, NSError *error))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); … … 471 471 - (void)keyboardAccessoryBarPrevious WK_API_AVAILABLE(ios(10.0)); 472 472 - (void)dismissFormAccessoryView WK_API_AVAILABLE(ios(10.3)); 473 - (void)_dismissFilePicker WK_API_AVAILABLE(ios( WK_IOS_TBA));473 - (void)_dismissFilePicker WK_API_AVAILABLE(ios(13.0)); 474 474 - (void)selectFormAccessoryPickerRow:(int)rowIndex WK_API_AVAILABLE(ios(10.3)); 475 475 @property (nonatomic, readonly) NSString *textContentTypeForTesting WK_API_AVAILABLE(ios(12.0)); … … 502 502 @property (nonatomic, readonly) CGRect _dragCaretRect WK_API_AVAILABLE(ios(11.0)); 503 503 504 - (void)_doAfterReceivingEditDragSnapshotForTesting:(dispatch_block_t)action WK_API_AVAILABLE(ios( WK_IOS_TBA));504 - (void)_doAfterReceivingEditDragSnapshotForTesting:(dispatch_block_t)action WK_API_AVAILABLE(ios(13.0)); 505 505 506 506 - (void)_requestActivatedElementAtPosition:(CGPoint)position completionBlock:(void (^)(_WKActivatedElementInfo *))block WK_API_AVAILABLE(ios(11.0)); … … 583 583 - (void)_completeTextManipulation:(_WKTextManipulationItem *)item completion:(void(^)(BOOL success))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 584 584 585 @property (nonatomic, setter=_setScrollingUpdatesDisabledForTesting:) BOOL _scrollingUpdatesDisabledForTesting WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));585 @property (nonatomic, setter=_setScrollingUpdatesDisabledForTesting:) BOOL _scrollingUpdatesDisabledForTesting WK_API_AVAILABLE(macos(10.15), ios(13.0)); 586 586 587 587 - (void)_processWillSuspendImminentlyForTesting; -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences.h
r246118 r252174 42 42 WKContentModeMobile, 43 43 WKContentModeDesktop 44 } WK_API_AVAILABLE(ios( WK_IOS_TBA));44 } WK_API_AVAILABLE(ios(13.0)); 45 45 46 46 /*! A WKWebpagePreferences object is a collection of properties that … … 48 48 @discussion Contains properties used to determine webpage preferences. 49 49 */ 50 WK_CLASS_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA))50 WK_CLASS_AVAILABLE(macos(10.15), ios(13.0)) 51 51 @interface WKWebpagePreferences : NSObject 52 52 … … 56 56 preference is ignored on subframe navigation 57 57 */ 58 @property (nonatomic) WKContentMode preferredContentMode WK_API_AVAILABLE(ios( WK_IOS_TBA));58 @property (nonatomic) WKContentMode preferredContentMode WK_API_AVAILABLE(ios(13.0)); 59 59 60 60 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h
r244572 r252174 35 35 WK_EXTERN NSString * const _WKWebsiteDataTypeResourceLoadStatistics WK_API_AVAILABLE(macos(10.12), ios(10.0)); 36 36 WK_EXTERN NSString * const _WKWebsiteDataTypeCredentials WK_API_AVAILABLE(macos(10.13), ios(11.0)); 37 WK_EXTERN NSString * const _WKWebsiteDataTypeAdClickAttributions WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));37 WK_EXTERN NSString * const _WKWebsiteDataTypeAdClickAttributions WK_API_AVAILABLE(macos(10.15), ios(13.0)); 38 38 39 39 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
r252014 r252174 58 58 @property (nonatomic, copy, setter=_setSourceApplicationBundleIdentifier:) NSString *_sourceApplicationBundleIdentifier WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.sourceApplicationBundleIdentifier", macos(10.14.4, WK_MAC_TBA), ios(12.2, WK_IOS_TBA)); 59 59 @property (nonatomic, copy, setter=_setSourceApplicationSecondaryIdentifier:) NSString *_sourceApplicationSecondaryIdentifier WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.setSourceApplicationSecondaryIdentifier", macos(10.14.4, WK_MAC_TBA), ios(12.2, WK_IOS_TBA)); 60 @property (nonatomic, setter=_setAllowsTLSFallback:) BOOL _allowsTLSFallback WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));60 @property (nonatomic, setter=_setAllowsTLSFallback:) BOOL _allowsTLSFallback WK_API_AVAILABLE(macos(10.15), ios(13.0)); 61 61 62 62 @property (nonatomic, readonly) NSURL *_indexedDBDatabaseDirectory; … … 68 68 - (bool)_hasRegisteredServiceWorker WK_API_AVAILABLE(macos(10.14), ios(12.0)); 69 69 70 - (void)_scheduleCookieBlockingUpdate:(void (^)(void))completionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));71 - (void)_setPrevalentDomain:(NSURL *)domain completionHandler:(void (^)(void))completionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));72 - (void)_getIsPrevalentDomain:(NSURL *)domain completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));70 - (void)_scheduleCookieBlockingUpdate:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 71 - (void)_setPrevalentDomain:(NSURL *)domain completionHandler:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 72 - (void)_getIsPrevalentDomain:(NSURL *)domain completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 73 73 - (void)_clearPrevalentDomain:(NSURL *)domain completionHandler:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 74 74 - (void)_clearResourceLoadStatistics:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 75 75 - (void)_isRegisteredAsSubresourceUnderFirstParty:(NSURL *)firstPartyURL thirdParty:(NSURL *)thirdPartyURL completionHandler:(void (^)(BOOL))completionHandler WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 76 - (void)_processStatisticsAndDataRecords:(void (^)(void))completionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));76 - (void)_processStatisticsAndDataRecords:(void (^)(void))completionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 77 77 78 @property (nullable, nonatomic, weak) id <_WKWebsiteDataStoreDelegate> _delegate WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));78 @property (nullable, nonatomic, weak) id <_WKWebsiteDataStoreDelegate> _delegate WK_API_AVAILABLE(macos(10.15), ios(13.0)); 79 79 80 80 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKActivatedElementInfo.h
r246224 r252174 48 48 @property (nonatomic, readonly) CGRect boundingRect; 49 49 @property (nonatomic, readonly) NSString *ID WK_API_AVAILABLE(macos(10.12), ios(10.0)); 50 @property (nonatomic, readonly) BOOL isAnimatedImage WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));50 @property (nonatomic, readonly) BOOL isAnimatedImage WK_API_AVAILABLE(macos(10.15), ios(13.0)); 51 51 #if TARGET_OS_IPHONE 52 52 @property (nonatomic, readonly) NSDictionary *userInfo WK_API_AVAILABLE(ios(11.0)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h
r243376 r252174 48 48 _WKAutomationSessionBrowsingContextPresentationTab, 49 49 _WKAutomationSessionBrowsingContextPresentationWindow, 50 } WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));50 } WK_API_AVAILABLE(macos(10.15), ios(13.0)); 51 51 52 52 @protocol _WKAutomationSessionDelegate <NSObject> … … 66 66 - (void)_automationSession:(_WKAutomationSession *)automationSession setUserInput:(NSString *)value forCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macos(10.13), ios(11.0)); 67 67 - (_WKAutomationSessionJavaScriptDialogType)_automationSession:(_WKAutomationSession *)automationSession typeOfCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macos(10.14), ios(12.0)); 68 - (_WKAutomationSessionBrowsingContextPresentation)_automationSession:(_WKAutomationSession *)automationSession currentPresentationForWebView:(WKWebView *)webView WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));68 - (_WKAutomationSessionBrowsingContextPresentation)_automationSession:(_WKAutomationSession *)automationSession currentPresentationForWebView:(WKWebView *)webView WK_API_AVAILABLE(macos(10.15), ios(13.0)); 69 69 70 70 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKContentRuleListAction.h
r243376 r252174 27 27 #import <WebKit/WKFoundation.h> 28 28 29 WK_CLASS_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA))29 WK_CLASS_AVAILABLE(macos(10.15), ios(13.0)) 30 30 @interface _WKContentRuleListAction : NSObject 31 31 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKCustomHeaderFields.h
r245481 r252174 28 28 NS_ASSUME_NONNULL_BEGIN 29 29 30 WK_CLASS_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA))30 WK_CLASS_AVAILABLE(macos(10.15), ios(13.0)) 31 31 @interface _WKCustomHeaderFields : NSObject 32 32 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h
r244317 r252174 43 43 - (void)_webView:(WKWebView *)webView logDiagnosticMessageWithValue:(NSString *)message description:(NSString *)description value:(NSString *) value; 44 44 - (void)_webView:(WKWebView *)webView logDiagnosticMessageWithEnhancedPrivacy:(NSString *)message description:(NSString *)description WK_API_AVAILABLE(macos(10.13), ios(11.0)); 45 - (void)_webView:(WKWebView *)webView logDiagnosticMessage:(NSString *)message description:(NSString *)description valueDictionary:(NSDictionary *)valueDictionary WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));45 - (void)_webView:(WKWebView *)webView logDiagnosticMessage:(NSString *)message description:(NSString *)description valueDictionary:(NSDictionary *)valueDictionary WK_API_AVAILABLE(macos(10.15), ios(13.0)); 46 46 47 47 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.h
r247652 r252174 51 51 #endif 52 52 _WKElementActionTypeShare WK_API_AVAILABLE(macos(10.12), ios(10.0)), 53 _WKElementActionTypeOpenInNewTab WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA)),54 _WKElementActionTypeOpenInNewWindow WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA)),55 _WKElementActionTypeDownload WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA)),56 _WKElementActionToggleShowLinkPreviews WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA)),53 _WKElementActionTypeOpenInNewTab WK_API_AVAILABLE(macos(10.15), ios(13.0)), 54 _WKElementActionTypeOpenInNewWindow WK_API_AVAILABLE(macos(10.15), ios(13.0)), 55 _WKElementActionTypeDownload WK_API_AVAILABLE(macos(10.15), ios(13.0)), 56 _WKElementActionToggleShowLinkPreviews WK_API_AVAILABLE(macos(10.15), ios(13.0)), 57 57 } WK_API_AVAILABLE(macos(10.10), ios(8.0)); 58 58 … … 61 61 62 62 + (instancetype)elementActionWithType:(_WKElementActionType)type; 63 + (instancetype)elementActionWithType:(_WKElementActionType)type title:(NSString *)title actionHandler:(WKElementActionHandler)actionHandler WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));63 + (instancetype)elementActionWithType:(_WKElementActionType)type title:(NSString *)title actionHandler:(WKElementActionHandler)actionHandler WK_API_AVAILABLE(macos(10.15), ios(13.0)); 64 64 + (instancetype)elementActionWithType:(_WKElementActionType)type customTitle:(NSString *)title; 65 65 + (instancetype)elementActionWithTitle:(NSString *)title actionHandler:(WKElementActionHandler)handler; 66 66 67 + (UIImage *)imageForElementActionType:(_WKElementActionType)actionType WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(13.0));68 + (_WKElementActionType)elementActionTypeForUIActionIdentifier:(UIActionIdentifier)identifier WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(13.0));67 + (UIImage *)imageForElementActionType:(_WKElementActionType)actionType WK_API_AVAILABLE(macos(10.15), ios(13.0)); 68 + (_WKElementActionType)elementActionTypeForUIActionIdentifier:(UIActionIdentifier)identifier WK_API_AVAILABLE(macos(10.15), ios(13.0)); 69 69 - (UIAction *)uiActionForElementInfo:(_WKActivatedElementInfo *)elementInfo; 70 70 71 - (void)runActionWithElementInfo:(_WKActivatedElementInfo *)info WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(9.0));71 - (void)runActionWithElementInfo:(_WKActivatedElementInfo *)info WK_API_AVAILABLE(macos(10.15), ios(9.0)); 72 72 73 73 @property (nonatomic, readonly) _WKElementActionType type; -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInspectorWindow.h
r243376 r252174 28 28 #if !TARGET_OS_IPHONE 29 29 30 WK_CLASS_AVAILABLE(macos( WK_MAC_TBA))30 WK_CLASS_AVAILABLE(macos(10.15)) 31 31 @interface _WKInspectorWindow : NSWindow 32 32 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h
r251676 r252174 34 34 @property (nonatomic, copy) NSURL *injectedBundleURL; 35 35 @property (nonatomic, copy) NSSet<Class> *customClassesForParameterCoder WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 36 @property (nonatomic) NSUInteger maximumProcessCount WK_API_DEPRECATED("It is no longer possible to limit the number of processes", macos( WK_MAC_TBA, WK_MAC_TBA), ios(WK_IOS_TBA, WK_IOS_TBA));37 @property (nonatomic) BOOL usesSingleWebProcess WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));36 @property (nonatomic) NSUInteger maximumProcessCount WK_API_DEPRECATED("It is no longer possible to limit the number of processes", macos(10.0, 10.15), ios(1.0, 13.0)); 37 @property (nonatomic) BOOL usesSingleWebProcess WK_API_AVAILABLE(macos(10.15), ios(13.0)); 38 38 @property (nonatomic, nullable, copy) NSString *customWebContentServiceBundleIdentifier WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 39 39 … … 44 44 45 45 #if TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR 46 @property (nonatomic) NSUInteger wirelessContextIdentifier WK_API_DEPRECATED("Use of this API is no longer necessary and can be removed", ios(10.12, WK_IOS_TBA));46 @property (nonatomic) NSUInteger wirelessContextIdentifier WK_API_DEPRECATED("Use of this API is no longer necessary and can be removed", ios(10.12, 13.0)); 47 47 #endif 48 48 … … 69 69 @property (nonatomic) BOOL pageCacheEnabled WK_API_AVAILABLE(macos(10.14), ios(12.0)); 70 70 @property (nonatomic, getter=isJITEnabled) BOOL JITEnabled WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 71 @property (nonatomic, nullable, copy, setter=setHSTSStorageDirectory:) NSURL *hstsStorageDirectory WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));71 @property (nonatomic, nullable, copy, setter=setHSTSStorageDirectory:) NSURL *hstsStorageDirectory WK_API_AVAILABLE(macos(10.15), ios(13.0)); 72 72 73 73 @property (nonatomic) BOOL configureJSCForTesting WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKTextInputContext.h
r243376 r252174 26 26 #import <WebKit/WKFoundation.h> 27 27 28 WK_CLASS_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA))28 WK_CLASS_AVAILABLE(macos(10.15), ios(13.0)) 29 29 @interface _WKTextInputContext : NSObject <NSCopying> 30 30 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKUserContentExtensionStorePrivate.h
r243376 r252174 35 35 36 36 - (id)_initWithWKContentRuleListStore:(WKContentRuleListStore *)contentRuleListStore WK_API_AVAILABLE(macos(10.13), ios(11.0)); 37 @property (nonatomic, readonly) WKContentRuleListStore *_contentRuleListStore WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));37 @property (nonatomic, readonly) WKContentRuleListStore *_contentRuleListStore WK_API_AVAILABLE(macos(10.15), ios(13.0)); 38 38 39 39 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.h
r251384 r252174 34 34 35 35 - (instancetype)init; // Creates a persistent configuration. 36 - (instancetype)initNonPersistentConfiguration WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));36 - (instancetype)initNonPersistentConfiguration WK_API_AVAILABLE(macos(10.15), ios(13.0)); 37 37 38 @property (nonatomic, readonly, getter=isPersistent) BOOL persistent WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));38 @property (nonatomic, readonly, getter=isPersistent) BOOL persistent WK_API_AVAILABLE(macos(10.15), ios(13.0)); 39 39 40 40 // These properties apply to both persistent and non-persistent data stores. … … 43 43 @property (nonatomic, nullable, copy, setter=setHTTPProxy:) NSURL *httpProxy WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 44 44 @property (nonatomic, nullable, copy, setter=setHTTPSProxy:) NSURL *httpsProxy WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 45 @property (nonatomic) BOOL deviceManagementRestrictionsEnabled WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));45 @property (nonatomic) BOOL deviceManagementRestrictionsEnabled WK_API_AVAILABLE(macos(10.15), ios(13.0)); 46 46 @property (nonatomic) BOOL networkCacheSpeculativeValidationEnabled WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); 47 47 @property (nonatomic) BOOL fastServerTrustEvaluationEnabled WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); … … 72 72 73 73 // Testing only. 74 @property (nonatomic) BOOL allLoadsBlockedByDeviceManagementRestrictionsForTesting WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));74 @property (nonatomic) BOOL allLoadsBlockedByDeviceManagementRestrictionsForTesting WK_API_AVAILABLE(macos(10.15), ios(13.0)); 75 75 76 76 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreDelegate.h
r249096 r252174 28 28 #import <Foundation/Foundation.h> 29 29 30 WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA))30 WK_API_AVAILABLE(macos(10.15), ios(13.0)) 31 31 @protocol _WKWebsiteDataStoreDelegate <NSObject> 32 32 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebsitePolicies.h
r245294 r252174 39 39 @property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore WK_API_AVAILABLE(macos(10.13.4), ios(11.3)); 40 40 @property (nonatomic, copy) NSString *customUserAgent WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 41 @property (nonatomic, copy) NSString *customJavaScriptUserAgentAsSiteSpecificQuirks WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));41 @property (nonatomic, copy) NSString *customJavaScriptUserAgentAsSiteSpecificQuirks WK_API_AVAILABLE(macos(10.15), ios(13.0)); 42 42 @property (nonatomic, copy) NSString *customNavigatorPlatform WK_API_AVAILABLE(macos(10.14.4), ios(12.2)); 43 @property (nonatomic) _WKWebsiteDeviceOrientationAndMotionAccessPolicy deviceOrientationAndMotionAccessPolicy WK_API_AVAILABLE(macos( WK_MAC_TBA), ios(WK_IOS_TBA));43 @property (nonatomic) _WKWebsiteDeviceOrientationAndMotionAccessPolicy deviceOrientationAndMotionAccessPolicy WK_API_AVAILABLE(macos(10.15), ios(13.0)); 44 44 45 45 @end -
trunk/Source/WebKit/UIProcess/_WKTouchEventGenerator.h
r240554 r252174 33 33 typedef struct __IOHIDEvent * IOHIDEventRef; 34 34 35 WK_CLASS_AVAILABLE(ios( WK_IOS_TBA))35 WK_CLASS_AVAILABLE(ios(13.0)) 36 36 @interface _WKTouchEventGenerator : NSObject 37 37 + (_WKTouchEventGenerator *)sharedTouchEventGenerator; -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h
r243376 r252174 44 44 @property (weak, setter=_setEditingDelegate:) id <WKWebProcessPlugInEditingDelegate> _editingDelegate WK_API_AVAILABLE(macos(10.12.3), ios(10.3)); 45 45 46 @property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading WK_API_DEPRECATED("No longer supported", macos(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA));46 @property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading WK_API_DEPRECATED("No longer supported", macos(10.10, 10.15), ios(8.0, 13.0)); 47 47 48 48 @property (nonatomic, readonly) BOOL _usesNonPersistentWebsiteDataStore;
Note: See TracChangeset
for help on using the changeset viewer.