Changeset 235961 in webkit
- Timestamp:
- Sep 12, 2018, 5:14:22 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r235955 r235961 1 2018-09-12 Dan Bernstein <mitz@apple.com> 2 3 Update availability annotations to match the macOS and iOS SDKs in the Xcode 10 GM seed 4 https://bugs.webkit.org/show_bug.cgi?id=189561 5 6 Reviewed by Tim Horton. 7 8 Changed WK_MAC_TBA and WK_IOS_TBA to 10.14 and 12.0, respectively, in all declarations that 9 appear in the GM seed SDKs. 10 11 * Shared/API/Cocoa/_WKRenderingProgressEvents.h: 12 * UIProcess/API/Cocoa/WKMenuItemIdentifiersPrivate.h: 13 * UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h: 14 * UIProcess/API/Cocoa/WKPreferencesPrivate.h: 15 * UIProcess/API/Cocoa/WKProcessPoolPrivate.h: 16 * UIProcess/API/Cocoa/WKUIDelegatePrivate.h: 17 * UIProcess/API/Cocoa/WKUserContentControllerPrivate.h: 18 * UIProcess/API/Cocoa/WKViewPrivate.h: 19 * UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h: 20 * UIProcess/API/Cocoa/WKWebViewPrivate.h: 21 * UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h: 22 * UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h: 23 * UIProcess/API/Cocoa/_WKAttachment.h: 24 * UIProcess/API/Cocoa/_WKAutomationDelegate.h: 25 * UIProcess/API/Cocoa/_WKAutomationSession.h: 26 * UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h: 27 * UIProcess/API/Cocoa/_WKFormInputSession.h: 28 * UIProcess/API/Cocoa/_WKInputDelegate.h: 29 * UIProcess/API/Cocoa/_WKLinkIconParameters.h: 30 * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h: 31 * UIProcess/API/Cocoa/_WKWebsitePolicies.h: 32 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInEditingDelegate.h: 33 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInScriptWorld.h: 34 * WebProcess/InjectedBundle/API/mac/WKDOMDocument.h: 35 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.h: 36 1 37 2018-09-12 Dan Bernstein <mitz@apple.com> 2 38 -
trunk/Source/WebKit/Shared/API/Cocoa/_WKRenderingProgressEvents.h
r233623 r235961 36 36 _WKRenderingProgressEventFirstPaintAfterSuppressedIncrementalRendering WK_API_AVAILABLE(macosx(10.11), ios(9.0)) = 1 << 5, 37 37 _WKRenderingProgressEventFirstPaint WK_API_AVAILABLE(macosx(10.11), ios(9.0)) = 1 << 6, 38 _WKRenderingProgressEventDidRenderSignificantAmountOfText WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA)) = 1 << 7,38 _WKRenderingProgressEventDidRenderSignificantAmountOfText WK_API_AVAILABLE(macosx(10.14), ios(12.0)) = 1 << 7, 39 39 } WK_API_AVAILABLE(macosx(10.10), ios(8.0)); 40 40 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKMenuItemIdentifiersPrivate.h
r232266 r235961 34 34 WK_EXPORT extern NSString * const _WKMenuItemIdentifierCopyImage WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 35 35 WK_EXPORT extern NSString * const _WKMenuItemIdentifierCopyLink WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 36 WK_EXPORT extern NSString * const _WKMenuItemIdentifierCopyMediaLink WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));36 WK_EXPORT extern NSString * const _WKMenuItemIdentifierCopyMediaLink WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 37 37 WK_EXPORT extern NSString * const _WKMenuItemIdentifierDownloadImage WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 38 38 WK_EXPORT extern NSString * const _WKMenuItemIdentifierDownloadLinkedFile WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 39 WK_EXPORT extern NSString * const _WKMenuItemIdentifierDownloadMedia WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));39 WK_EXPORT extern NSString * const _WKMenuItemIdentifierDownloadMedia WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 40 40 WK_EXPORT extern NSString * const _WKMenuItemIdentifierGoBack WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 41 41 WK_EXPORT extern NSString * const _WKMenuItemIdentifierGoForward WK_API_AVAILABLE(macosx(10.12), ios(10.0)); … … 46 46 WK_EXPORT extern NSString * const _WKMenuItemIdentifierOpenLink WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 47 47 WK_EXPORT extern NSString * const _WKMenuItemIdentifierOpenLinkInNewWindow WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 48 WK_EXPORT extern NSString * const _WKMenuItemIdentifierOpenMediaInNewWindow WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));48 WK_EXPORT extern NSString * const _WKMenuItemIdentifierOpenMediaInNewWindow WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 49 49 WK_EXPORT extern NSString * const _WKMenuItemIdentifierPaste WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 50 50 WK_EXPORT extern NSString * const _WKMenuItemIdentifierReload WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 51 51 WK_EXPORT extern NSString * const _WKMenuItemIdentifierSearchWeb WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 52 52 WK_EXPORT extern NSString * const _WKMenuItemIdentifierShowHideMediaControls WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 53 WK_EXPORT extern NSString * const _WKMenuItemIdentifierToggleEnhancedFullScreen WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));53 WK_EXPORT extern NSString * const _WKMenuItemIdentifierToggleEnhancedFullScreen WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 54 54 WK_EXPORT extern NSString * const _WKMenuItemIdentifierToggleFullScreen WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 55 55 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKNavigationDelegatePrivate.h
r235332 r235961 46 46 _WKPluginModuleLoadPolicyBlockedForSecurity, 47 47 _WKPluginModuleLoadPolicyBlockedForCompatibility, 48 } WK_API_AVAILABLE(macosx( WK_MAC_TBA));48 } WK_API_AVAILABLE(macosx(10.14)); 49 49 #endif 50 50 … … 54 54 _WKProcessTerminationReasonRequestedByClient, 55 55 _WKProcessTerminationReasonCrash, 56 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));56 } WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 57 57 58 58 static const WKNavigationActionPolicy _WKNavigationActionPolicyDownload = (WKNavigationActionPolicy)(WKNavigationActionPolicyAllow + 1); … … 95 95 96 96 - (void)_webView:(WKWebView *)webView URL:(NSURL *)url contentRuleListIdentifiers:(NSArray<NSString *> *)identifiers notifications:(NSArray<NSString *> *)notifications WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 97 - (void)_webView:(WKWebView *)webView webContentProcessDidTerminateWithReason:(_WKProcessTerminationReason)reason WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));97 - (void)_webView:(WKWebView *)webView webContentProcessDidTerminateWithReason:(_WKProcessTerminationReason)reason WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 98 98 99 99 #if TARGET_OS_IPHONE … … 106 106 - (void)_webView:(WKWebView *)webView willGoToBackForwardListItem:(WKBackForwardListItem *)item inPageCache:(BOOL)inPageCache WK_API_AVAILABLE(macosx(10.13.4)); 107 107 - (void)_webView:(WKWebView *)webView didFailToInitializePlugInWithInfo:(NSDictionary *)info WK_API_AVAILABLE(macosx(10.13.4)); 108 - (void)_webView:(WKWebView *)webView didBlockInsecurePluginVersionWithInfo:(NSDictionary *)info WK_API_AVAILABLE(macosx( WK_MAC_TBA));108 - (void)_webView:(WKWebView *)webView didBlockInsecurePluginVersionWithInfo:(NSDictionary *)info WK_API_AVAILABLE(macosx(10.14)); 109 109 - (void)_webView:(WKWebView *)webView decidePolicyForPluginLoadWithCurrentPolicy:(_WKPluginModuleLoadPolicy)policy pluginInfo:(NSDictionary *)info completionHandler:(void (^)(_WKPluginModuleLoadPolicy policy, NSString * unavailabilityDescription))completionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA)); 110 110 - (void)_webView:(WKWebView *)webView backForwardListItemAdded:(WKBackForwardListItem *)itemAdded removed:(NSArray<WKBackForwardListItem *> *)itemsRemoved WK_API_AVAILABLE(macosx(10.13.4)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
r235921 r235961 130 130 @property (nonatomic, setter=_setEditableLinkBehavior:) _WKEditableLinkBehavior _editableLinkBehavior WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 131 131 132 @property (nonatomic, setter=_setAVFoundationEnabled:) BOOL _avFoundationEnabled WK_API_AVAILABLE(macosx(10.10), ios( WK_IOS_TBA));132 @property (nonatomic, setter=_setAVFoundationEnabled:) BOOL _avFoundationEnabled WK_API_AVAILABLE(macosx(10.10), ios(12.0)); 133 133 134 134 + (NSArray<_WKInternalDebugFeature *> *)_internalDebugFeatures WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); … … 142 142 - (void)_setEnabled:(BOOL)value forExperimentalFeature:(_WKExperimentalFeature *)feature WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 143 143 144 @property (nonatomic, setter=_setShouldEnableTextAutosizingBoost:) BOOL _shouldEnableTextAutosizingBoost WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));145 146 @property (nonatomic, setter=_setStorageAccessPromptsEnabled:) BOOL _storageAccessPromptsEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));147 @property (nonatomic, setter=_setColorFilterEnabled:) BOOL _colorFilterEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));148 @property (nonatomic, setter=_setPunchOutWhiteBackgroundsInDarkMode:) BOOL _punchOutWhiteBackgroundsInDarkMode WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));144 @property (nonatomic, setter=_setShouldEnableTextAutosizingBoost:) BOOL _shouldEnableTextAutosizingBoost WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 145 146 @property (nonatomic, setter=_setStorageAccessPromptsEnabled:) BOOL _storageAccessPromptsEnabled WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 147 @property (nonatomic, setter=_setColorFilterEnabled:) BOOL _colorFilterEnabled WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 148 @property (nonatomic, setter=_setPunchOutWhiteBackgroundsInDarkMode:) BOOL _punchOutWhiteBackgroundsInDarkMode WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 149 149 @property (nonatomic, setter=_setLowPowerVideoAudioBufferSizeEnabled:) BOOL _lowPowerVideoAudioBufferSizeEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 150 150 … … 175 175 @property (nonatomic, setter=_setViewGestureDebuggingEnabled:) BOOL _viewGestureDebuggingEnabled WK_API_AVAILABLE(macosx(10.13.4)); 176 176 @property (nonatomic, setter=_setCSSAnimationTriggersEnabled:) BOOL _cssAnimationTriggersEnabled WK_API_AVAILABLE(macosx(10.13.4)); 177 @property (nonatomic, setter=_setWebAnimationsCSSIntegrationEnabled:) BOOL _webAnimationsCSSIntegrationEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));177 @property (nonatomic, setter=_setWebAnimationsCSSIntegrationEnabled:) BOOL _webAnimationsCSSIntegrationEnabled WK_API_AVAILABLE(macosx(10.14)); 178 178 @property (nonatomic, setter=_setStandardFontFamily:) NSString *_standardFontFamily WK_API_AVAILABLE(macosx(10.13.4)); 179 179 @property (nonatomic, setter=_setNotificationsEnabled:) BOOL _notificationsEnabled WK_API_AVAILABLE(macosx(10.13.4)); 180 180 @property (nonatomic, setter=_setBackspaceKeyNavigationEnabled:) BOOL _backspaceKeyNavigationEnabled WK_API_AVAILABLE(macosx(10.13.4)); 181 @property (nonatomic, setter=_setAllowsInlineMediaPlayback:) BOOL _allowsInlineMediaPlayback WK_API_AVAILABLE(macosx( WK_MAC_TBA));182 @property (nonatomic, setter=_setApplePayEnabled:) BOOL _applePayEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));183 @property (nonatomic, setter=_setDNSPrefetchingEnabled:) BOOL _dnsPrefetchingEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));184 @property (nonatomic, setter=_setInlineMediaPlaybackRequiresPlaysInlineAttribute:) BOOL _inlineMediaPlaybackRequiresPlaysInlineAttribute WK_API_AVAILABLE(macosx( WK_MAC_TBA));185 @property (nonatomic, setter=_setInvisibleMediaAutoplayNotPermitted:) BOOL _invisibleMediaAutoplayNotPermitted WK_API_AVAILABLE(macosx( WK_MAC_TBA));186 @property (nonatomic, setter=_setLegacyEncryptedMediaAPIEnabled:) BOOL _legacyEncryptedMediaAPIEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));187 @property (nonatomic, setter=_setMainContentUserGestureOverrideEnabled:) BOOL _mainContentUserGestureOverrideEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));188 @property (nonatomic, setter=_setMediaStreamEnabled:) BOOL _mediaStreamEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));189 @property (nonatomic, setter=_setNeedsStorageAccessFromFileURLsQuirk:) BOOL _needsStorageAccessFromFileURLsQuirk WK_API_AVAILABLE(macosx( WK_MAC_TBA));190 @property (nonatomic, setter=_setPDFPluginEnabled:) BOOL _pdfPluginEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));191 @property (nonatomic, setter=_setRequiresUserGestureForAudioPlayback:) BOOL _requiresUserGestureForAudioPlayback WK_API_AVAILABLE(macosx( WK_MAC_TBA));192 @property (nonatomic, setter=_setRequiresUserGestureForVideoPlayback:) BOOL _requiresUserGestureForVideoPlayback WK_API_AVAILABLE(macosx( WK_MAC_TBA));193 @property (nonatomic, setter=_setServiceControlsEnabled:) BOOL _serviceControlsEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));194 @property (nonatomic, setter=_setShowsToolTipOverTruncatedText:) BOOL _showsToolTipOverTruncatedText WK_API_AVAILABLE(macosx( WK_MAC_TBA));195 @property (nonatomic, setter=_setTextAreasAreResizable:) BOOL _textAreasAreResizable WK_API_AVAILABLE(macosx( WK_MAC_TBA));196 @property (nonatomic, setter=_setUseGiantTiles:) BOOL _useGiantTiles WK_API_AVAILABLE(macosx( WK_MAC_TBA));197 @property (nonatomic, setter=_setWantsBalancedSetDefersLoadingBehavior:) BOOL _wantsBalancedSetDefersLoadingBehavior WK_API_AVAILABLE(macosx( WK_MAC_TBA));198 @property (nonatomic, setter=_setWebAudioEnabled:) BOOL _webAudioEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));199 @property (nonatomic, setter=_setAggressiveTileRetentionEnabled:) BOOL _aggressiveTileRetentionEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA));181 @property (nonatomic, setter=_setAllowsInlineMediaPlayback:) BOOL _allowsInlineMediaPlayback WK_API_AVAILABLE(macosx(10.14)); 182 @property (nonatomic, setter=_setApplePayEnabled:) BOOL _applePayEnabled WK_API_AVAILABLE(macosx(10.14)); 183 @property (nonatomic, setter=_setDNSPrefetchingEnabled:) BOOL _dnsPrefetchingEnabled WK_API_AVAILABLE(macosx(10.14)); 184 @property (nonatomic, setter=_setInlineMediaPlaybackRequiresPlaysInlineAttribute:) BOOL _inlineMediaPlaybackRequiresPlaysInlineAttribute WK_API_AVAILABLE(macosx(10.14)); 185 @property (nonatomic, setter=_setInvisibleMediaAutoplayNotPermitted:) BOOL _invisibleMediaAutoplayNotPermitted WK_API_AVAILABLE(macosx(10.14)); 186 @property (nonatomic, setter=_setLegacyEncryptedMediaAPIEnabled:) BOOL _legacyEncryptedMediaAPIEnabled WK_API_AVAILABLE(macosx(10.14)); 187 @property (nonatomic, setter=_setMainContentUserGestureOverrideEnabled:) BOOL _mainContentUserGestureOverrideEnabled WK_API_AVAILABLE(macosx(10.14)); 188 @property (nonatomic, setter=_setMediaStreamEnabled:) BOOL _mediaStreamEnabled WK_API_AVAILABLE(macosx(10.14)); 189 @property (nonatomic, setter=_setNeedsStorageAccessFromFileURLsQuirk:) BOOL _needsStorageAccessFromFileURLsQuirk WK_API_AVAILABLE(macosx(10.14)); 190 @property (nonatomic, setter=_setPDFPluginEnabled:) BOOL _pdfPluginEnabled WK_API_AVAILABLE(macosx(10.14)); 191 @property (nonatomic, setter=_setRequiresUserGestureForAudioPlayback:) BOOL _requiresUserGestureForAudioPlayback WK_API_AVAILABLE(macosx(10.14)); 192 @property (nonatomic, setter=_setRequiresUserGestureForVideoPlayback:) BOOL _requiresUserGestureForVideoPlayback WK_API_AVAILABLE(macosx(10.14)); 193 @property (nonatomic, setter=_setServiceControlsEnabled:) BOOL _serviceControlsEnabled WK_API_AVAILABLE(macosx(10.14)); 194 @property (nonatomic, setter=_setShowsToolTipOverTruncatedText:) BOOL _showsToolTipOverTruncatedText WK_API_AVAILABLE(macosx(10.14)); 195 @property (nonatomic, setter=_setTextAreasAreResizable:) BOOL _textAreasAreResizable WK_API_AVAILABLE(macosx(10.14)); 196 @property (nonatomic, setter=_setUseGiantTiles:) BOOL _useGiantTiles WK_API_AVAILABLE(macosx(10.14)); 197 @property (nonatomic, setter=_setWantsBalancedSetDefersLoadingBehavior:) BOOL _wantsBalancedSetDefersLoadingBehavior WK_API_AVAILABLE(macosx(10.14)); 198 @property (nonatomic, setter=_setWebAudioEnabled:) BOOL _webAudioEnabled WK_API_AVAILABLE(macosx(10.14)); 199 @property (nonatomic, setter=_setAggressiveTileRetentionEnabled:) BOOL _aggressiveTileRetentionEnabled WK_API_AVAILABLE(macosx(10.14)); 200 200 #endif 201 201 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
r235632 r235961 43 43 + (WKProcessPool *)_sharedProcessPool; 44 44 45 + (NSArray<WKProcessPool *> *)_allProcessPoolsForTesting WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));45 + (NSArray<WKProcessPool *> *)_allProcessPoolsForTesting WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 46 46 47 47 @property (nonatomic, readonly) _WKProcessPoolConfiguration *_configuration; … … 75 75 - (void)_setAutomationSession:(_WKAutomationSession *)automationSession WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 76 76 77 - (void)_addSupportedPlugin:(NSString *) domain named:(NSString *) name withMimeTypes: (NSSet<NSString *> *) mimeTypes withExtensions: (NSSet<NSString *> *) extensions WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));78 - (void)_clearSupportedPlugins WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));77 - (void)_addSupportedPlugin:(NSString *) domain named:(NSString *) name withMimeTypes: (NSSet<NSString *> *) mimeTypes withExtensions: (NSSet<NSString *> *) extensions WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 78 - (void)_clearSupportedPlugins WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 79 79 80 - (void)_registerURLSchemeAsCanDisplayOnlyIfCanRequest:(NSString *)scheme WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));80 - (void)_registerURLSchemeAsCanDisplayOnlyIfCanRequest:(NSString *)scheme WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 81 81 82 82 + (int)_webContentProcessXPCMain WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); … … 85 85 - (void)_terminateStorageProcess; 86 86 - (void)_terminateNetworkProcess; 87 - (void)_terminateServiceWorkerProcesses WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));88 - (void)_disableServiceWorkerProcessTerminationDelay WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));87 - (void)_terminateServiceWorkerProcesses WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 88 - (void)_disableServiceWorkerProcessTerminationDelay WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 89 89 90 90 // Test only. … … 95 95 - (size_t)_webProcessCount WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 96 96 - (BOOL)_hasPrewarmedWebProcess WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 97 - (size_t)_webProcessCountIgnoringPrewarmed WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));97 - (size_t)_webProcessCountIgnoringPrewarmed WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 98 98 - (size_t)_pluginProcessCount WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 99 - (size_t)_serviceWorkerProcessCount WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));99 - (size_t)_serviceWorkerProcessCount WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 100 100 - (void)_syncNetworkProcessCookies WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 101 - (void)_makeNextWebProcessLaunchFailForTesting WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));102 - (void)_makeNextNetworkProcessLaunchFailForTesting WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));101 - (void)_makeNextWebProcessLaunchFailForTesting WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 102 - (void)_makeNextNetworkProcessLaunchFailForTesting WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 103 103 104 104 // Test only. Returns web processes running web pages (does not include web processes running service workers) -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h
r235343 r235961 116 116 117 117 - (void)_webView:(WKWebView *)webView didRemoveAttachment:(_WKAttachment *)attachment WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 118 - (void)_webView:(WKWebView *)webView didInsertAttachment:(_WKAttachment *)attachment withSource:(NSString *)source WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));118 - (void)_webView:(WKWebView *)webView didInsertAttachment:(_WKAttachment *)attachment withSource:(NSString *)source WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 119 119 120 - (void)_webView:(WKWebView *)webView didResignInputElementStrongPasswordAppearanceWithUserInfo:(id <NSSecureCoding>)userInfo WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));120 - (void)_webView:(WKWebView *)webView didResignInputElementStrongPasswordAppearanceWithUserInfo:(id <NSSecureCoding>)userInfo WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 121 121 122 - (void)_webView:(WKWebView *)webView requestStorageAccessPanelForDomain:(NSString *)requestingDomain underCurrentDomain:(NSString *)currentDomain completionHandler:(void (^)(BOOL result))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));122 - (void)_webView:(WKWebView *)webView requestStorageAccessPanelForDomain:(NSString *)requestingDomain underCurrentDomain:(NSString *)currentDomain completionHandler:(void (^)(BOOL result))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 123 123 124 124 #if TARGET_OS_IPHONE … … 161 161 #endif 162 162 - (void)_webView:(WKWebView *)webView didChangeSafeAreaShouldAffectObscuredInsets:(BOOL)safeAreaShouldAffectObscuredInsets WK_API_AVAILABLE(ios(11.0)); 163 - (void)_webView:(WKWebView *)webView didPresentFocusedElementViewController:(UIViewController *)controller WK_API_AVAILABLE(ios( WK_IOS_TBA));164 - (void)_webView:(WKWebView *)webView didDismissFocusedElementViewController:(UIViewController *)controller WK_API_AVAILABLE(ios( WK_IOS_TBA));163 - (void)_webView:(WKWebView *)webView didPresentFocusedElementViewController:(UIViewController *)controller WK_API_AVAILABLE(ios(12.0)); 164 - (void)_webView:(WKWebView *)webView didDismissFocusedElementViewController:(UIViewController *)controller WK_API_AVAILABLE(ios(12.0)); 165 165 #else // TARGET_OS_IPHONE 166 166 - (void)_prepareForImmediateActionAnimationForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13.4)); … … 191 191 - (NSMenu *)_webView:(WKWebView *)webView contextMenu:(NSMenu *)menu forElement:(_WKContextMenuElementInfo *)element WK_API_DEPRECATED_WITH_REPLACEMENT("_webView:getContextMenuFromProposedMenu:forElement:userInfo:completionHandler:", macosx(10.12, WK_MAC_TBA)); 192 192 - (NSMenu *)_webView:(WKWebView *)webView contextMenu:(NSMenu *)menu forElement:(_WKContextMenuElementInfo *)element userInfo:(id <NSSecureCoding>)userInfo WK_API_DEPRECATED_WITH_REPLACEMENT("_webView:getContextMenuFromProposedMenu:forElement:userInfo:completionHandler:", macosx(10.12, WK_MAC_TBA)); 193 - (void)_webView:(WKWebView *)webView getContextMenuFromProposedMenu:(NSMenu *)menu forElement:(_WKContextMenuElementInfo *)element userInfo:(id <NSSecureCoding>)userInfo completionHandler:(void (^)(NSMenu *))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA));193 - (void)_webView:(WKWebView *)webView getContextMenuFromProposedMenu:(NSMenu *)menu forElement:(_WKContextMenuElementInfo *)element userInfo:(id <NSSecureCoding>)userInfo completionHandler:(void (^)(NSMenu *))completionHandler WK_API_AVAILABLE(macosx(10.14)); 194 194 - (void)_webView:(WKWebView *)webView didPerformDragOperation:(BOOL)handled WK_API_AVAILABLE(macosx(WK_MAC_TBA)); 195 195 #endif // TARGET_OS_IPHONE -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKUserContentControllerPrivate.h
r233752 r235961 38 38 - (void)_removeAllUserScriptsAssociatedWithUserContentWorld:(_WKUserContentWorld *)userContentWorld WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 39 39 40 - (void)_addUserScriptImmediately:(WKUserScript *)userScript WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));40 - (void)_addUserScriptImmediately:(WKUserScript *)userScript WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 41 41 42 42 - (void)_addUserContentFilter:(_WKUserContentFilter *)userContentFilter WK_API_AVAILABLE(macosx(10.11), ios(9.0)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKViewPrivate.h
r235365 r235961 85 85 @property (copy, nonatomic) NSColor *underlayColor; 86 86 87 @property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor WK_API_AVAILABLE(macosx( WK_MAC_TBA));87 @property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor WK_API_AVAILABLE(macosx(10.14)); 88 88 89 89 #if WK_API_ENABLED … … 145 145 - (void)_doAfterNextPresentationUpdate:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.13.4)); 146 146 147 @property (nonatomic, readwrite, setter=_setUseSystemAppearance:) BOOL _useSystemAppearance WK_API_AVAILABLE(macosx( WK_MAC_TBA));147 @property (nonatomic, readwrite, setter=_setUseSystemAppearance:) BOOL _useSystemAppearance WK_API_AVAILABLE(macosx(10.14)); 148 148 149 149 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h
r233915 r235961 71 71 @property (nonatomic, setter=_setControlledByAutomation:, getter=_isControlledByAutomation) BOOL _controlledByAutomation WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 72 72 @property (nonatomic, setter=_setApplicationManifest:) _WKApplicationManifest *_applicationManifest WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 73 @property (nonatomic, setter=_setColorFilterEnabled:) BOOL _colorFilterEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));74 @property (nonatomic, setter=_setIncompleteImageBorderEnabled:) BOOL _incompleteImageBorderEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));75 @property (nonatomic, setter=_setDrawsBackground:) BOOL _drawsBackground WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));76 @property (nonatomic, setter=_setShouldDeferAsynchronousScriptsUntilAfterDocumentLoad:) BOOL _shouldDeferAsynchronousScriptsUntilAfterDocumentLoad WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));73 @property (nonatomic, setter=_setColorFilterEnabled:) BOOL _colorFilterEnabled WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 74 @property (nonatomic, setter=_setIncompleteImageBorderEnabled:) BOOL _incompleteImageBorderEnabled WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 75 @property (nonatomic, setter=_setDrawsBackground:) BOOL _drawsBackground WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 76 @property (nonatomic, setter=_setShouldDeferAsynchronousScriptsUntilAfterDocumentLoad:) BOOL _shouldDeferAsynchronousScriptsUntilAfterDocumentLoad WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 77 77 78 78 #if TARGET_OS_IPHONE … … 81 81 @property (nonatomic, setter=_setAllowsInlineMediaPlaybackAfterFullscreen:) BOOL _allowsInlineMediaPlaybackAfterFullscreen WK_API_AVAILABLE(ios(10.0)); 82 82 @property (nonatomic, setter=_setDragLiftDelay:) _WKDragLiftDelay _dragLiftDelay WK_API_AVAILABLE(ios(11.0)); 83 @property (nonatomic, setter=_setTextInteractionGesturesEnabled:) BOOL _textInteractionGesturesEnabled WK_API_AVAILABLE(ios( WK_IOS_TBA));84 @property (nonatomic, setter=_setLongPressActionsEnabled:) BOOL _longPressActionsEnabled WK_API_AVAILABLE(ios( WK_IOS_TBA));85 @property (nonatomic, setter=_setSystemPreviewEnabled:) BOOL _systemPreviewEnabled WK_API_AVAILABLE(ios( WK_IOS_TBA));83 @property (nonatomic, setter=_setTextInteractionGesturesEnabled:) BOOL _textInteractionGesturesEnabled WK_API_AVAILABLE(ios(12.0)); 84 @property (nonatomic, setter=_setLongPressActionsEnabled:) BOOL _longPressActionsEnabled WK_API_AVAILABLE(ios(12.0)); 85 @property (nonatomic, setter=_setSystemPreviewEnabled:) BOOL _systemPreviewEnabled WK_API_AVAILABLE(ios(12.0)); 86 86 #else 87 87 @property (nonatomic, setter=_setShowsURLsInToolTips:) BOOL _showsURLsInToolTips WK_API_AVAILABLE(macosx(10.12)); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
r235955 r235961 258 258 259 259 @property (readonly) NSColor *_pageExtendedBackgroundColor; 260 @property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor WK_API_AVAILABLE(macosx( WK_MAC_TBA));260 @property (nonatomic, setter=_setBackgroundColor:) NSColor *_backgroundColor WK_API_AVAILABLE(macosx(10.14)); 261 261 @property (nonatomic, setter=_setDrawsBackground:) BOOL _drawsBackground; 262 262 @property (nonatomic, setter=_setTopContentInset:) CGFloat _topContentInset; … … 269 269 @property (nonatomic, setter=_setWindowOcclusionDetectionEnabled:) BOOL _windowOcclusionDetectionEnabled; 270 270 271 @property (nonatomic, readonly) NSInteger _spellCheckerDocumentTag WK_API_AVAILABLE(macosx( WK_MAC_TBA));271 @property (nonatomic, readonly) NSInteger _spellCheckerDocumentTag WK_API_AVAILABLE(macosx(10.14)); 272 272 273 273 - (void)_setShouldSuppressFirstResponderChanges:(BOOL)shouldSuppress; … … 385 385 - (void)dismissFormAccessoryView WK_API_AVAILABLE(ios(10.3)); 386 386 - (void)selectFormAccessoryPickerRow:(int)rowIndex WK_API_AVAILABLE(ios(10.3)); 387 @property (nonatomic, readonly) NSString *textContentTypeForTesting WK_API_AVAILABLE(ios( WK_IOS_TBA));388 @property (nonatomic, readonly) NSString *selectFormPopoverTitle WK_API_AVAILABLE(ios( WK_IOS_TBA));389 @property (nonatomic, readonly) NSString *formInputLabel WK_API_AVAILABLE(ios( WK_IOS_TBA));390 - (void)setTimePickerValueToHour:(NSInteger)hour minute:(NSInteger)minute WK_API_AVAILABLE(ios( WK_IOS_TBA));387 @property (nonatomic, readonly) NSString *textContentTypeForTesting WK_API_AVAILABLE(ios(12.0)); 388 @property (nonatomic, readonly) NSString *selectFormPopoverTitle WK_API_AVAILABLE(ios(12.0)); 389 @property (nonatomic, readonly) NSString *formInputLabel WK_API_AVAILABLE(ios(12.0)); 390 - (void)setTimePickerValueToHour:(NSInteger)hour minute:(NSInteger)minute WK_API_AVAILABLE(ios(12.0)); 391 391 392 392 - (void)_invokeShareSheetWithResolution:(BOOL)resolved WK_API_AVAILABLE(ios(WK_IOS_TBA)); … … 411 411 - (NSDictionary *)_propertiesOfLayerWithID:(unsigned long long)layerID WK_API_AVAILABLE(ios(11.0)); 412 412 - (void)_simulateLongPressActionAtLocation:(CGPoint)location WK_API_AVAILABLE(ios(11.0)); 413 - (void)_simulateTextEntered:(NSString *)text WK_API_AVAILABLE(ios( WK_IOS_TBA));413 - (void)_simulateTextEntered:(NSString *)text WK_API_AVAILABLE(ios(12.0)); 414 414 415 415 @property (nonatomic, readonly) CGRect _dragCaretRect WK_API_AVAILABLE(ios(11.0)); … … 419 419 - (void)_accessibilityStoreSelection WK_API_AVAILABLE(ios(11.3)); 420 420 - (void)_accessibilityClearSelection WK_API_AVAILABLE(ios(11.3)); 421 - (UIView *)_fullScreenPlaceholderView WK_API_AVAILABLE(ios( WK_IOS_TBA));421 - (UIView *)_fullScreenPlaceholderView WK_API_AVAILABLE(ios(12.0)); 422 422 423 423 #else … … 454 454 - (void)_insertText:(id)string replacementRange:(NSRange)replacementRange WK_API_AVAILABLE(macosx(10.12.3)); 455 455 - (NSRect)_candidateRect WK_API_AVAILABLE(macosx(10.13)); 456 @property (nonatomic, readwrite, setter=_setUseSystemAppearance:) BOOL _useSystemAppearance WK_API_AVAILABLE(macosx( WK_MAC_TBA));456 @property (nonatomic, readwrite, setter=_setUseSystemAppearance:) BOOL _useSystemAppearance WK_API_AVAILABLE(macosx(10.14)); 457 457 458 458 - (void)_setHeaderBannerHeight:(int)height WK_API_AVAILABLE(macosx(10.12.3)); … … 467 467 468 468 - (void)_doAfterNextPresentationUpdate:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 469 - (void)_doAfterNextPresentationUpdateWithoutWaitingForAnimatedResizeForTesting:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));469 - (void)_doAfterNextPresentationUpdateWithoutWaitingForAnimatedResizeForTesting:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 470 470 - (void)_doAfterNextPresentationUpdateWithoutWaitingForPainting:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.12.3), ios(10.3)); 471 471 - (void)_doAfterNextVisibleContentRectUpdate:(void (^)(void))updateBlock WK_API_AVAILABLE(macosx(10.13), ios(11.0)); … … 474 474 - (void)_executeEditCommand:(NSString *)command argument:(NSString *)argument completion:(void (^)(BOOL))completion WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 475 475 476 - (void)_denyNextUserMediaRequest WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));476 - (void)_denyNextUserMediaRequest WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 477 477 478 478 - (BOOL)_beginBackSwipeForTesting; -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h
r232079 r235961 47 47 @property (nullable, nonatomic, readonly) _WKWebsiteDataSize *_dataSize; 48 48 49 - (NSArray<NSString *> *)_originsStrings WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));49 - (NSArray<NSString *> *)_originsStrings WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 50 50 51 51 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
r233468 r235961 47 47 48 48 @property (nonatomic, setter=_setResourceLoadStatisticsEnabled:) BOOL _resourceLoadStatisticsEnabled WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 49 @property (nonatomic, setter=_setResourceLoadStatisticsDebugMode:) BOOL _resourceLoadStatisticsDebugMode WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));49 @property (nonatomic, setter=_setResourceLoadStatisticsDebugMode:) BOOL _resourceLoadStatisticsDebugMode WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 50 50 @property (nonatomic, setter=_setCacheStoragePerOriginQuota:) NSUInteger _cacheStoragePerOriginQuota WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 51 51 @property (nonatomic, setter=_setCacheStorageDirectory:) NSString* _cacheStorageDirectory WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); … … 54 54 @property (nonatomic, setter=_setBoundInterfaceIdentifier:) NSString *_boundInterfaceIdentifier WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 55 55 @property (nonatomic, setter=_setAllowsCellularAccess:) BOOL _allowsCellularAccess WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 56 @property (nonatomic, setter=_setProxyConfiguration:) NSDictionary *_proxyConfiguration WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));56 @property (nonatomic, setter=_setProxyConfiguration:) NSDictionary *_proxyConfiguration WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 57 57 58 58 - (void)_resourceLoadStatisticsSetShouldSubmitTelemetry:(BOOL)value WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 59 59 - (void)_setResourceLoadStatisticsTestingCallback:(nullable void (^)(WKWebsiteDataStore *, NSString *))callback WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 60 - (void)_getAllStorageAccessEntriesFor:(WKWebView *)webView completionHandler:(void (^)(NSArray<NSString *> *domains))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));60 - (void)_getAllStorageAccessEntriesFor:(WKWebView *)webView completionHandler:(void (^)(NSArray<NSString *> *domains))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 61 61 + (void)_allowWebsiteDataRecordsForAllOrigins WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 62 - (bool)_hasRegisteredServiceWorker WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));62 - (bool)_hasRegisteredServiceWorker WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 63 63 64 64 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAttachment.h
r235414 r235961 43 43 @end 44 44 45 WK_CLASS_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA))45 WK_CLASS_AVAILABLE(macosx(10.14), ios(12.0)) 46 46 @interface _WKAttachmentInfo : NSObject 47 47 @property (nonatomic, readonly, nullable) NSString *contentType; … … 62 62 63 63 // Deprecated SPI. 64 - (void)requestInfo:(void(^)(_WKAttachmentInfo * _Nullable, NSError * _Nullable))completionHandler WK_API_DEPRECATED_WITH_REPLACEMENT("-info", macosx( WK_MAC_TBA, WK_MAC_TBA), ios(WK_IOS_TBA, WK_IOS_TBA));64 - (void)requestInfo:(void(^)(_WKAttachmentInfo * _Nullable, NSError * _Nullable))completionHandler WK_API_DEPRECATED_WITH_REPLACEMENT("-info", macosx(10.14, WK_MAC_TBA), ios(12.0, WK_IOS_TBA)); 65 65 - (void)setData:(NSData *)data newContentType:(nullable NSString *)newContentType newFilename:(nullable NSString *)newFilename completion:(void(^ _Nullable)(NSError * _Nullable))completionHandler WK_API_DEPRECATED_WITH_REPLACEMENT("Please use -setFileWrapper:contentType:completion: instead.", macosx(10.13.4, WK_MAC_TBA), ios(11.3, WK_IOS_TBA)); 66 66 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAutomationDelegate.h
r232636 r235961 36 36 - (void)_processPool:(WKProcessPool *)processPool didRequestAutomationSessionWithIdentifier:(NSString *)identifier configuration:(_WKAutomationSessionConfiguration *)configuration WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 37 37 38 - (NSString *)_processPoolBrowserNameForAutomation:(WKProcessPool *)processPool WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));39 - (NSString *)_processPoolBrowserVersionForAutomation:(WKProcessPool *)processPool WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));38 - (NSString *)_processPoolBrowserNameForAutomation:(WKProcessPool *)processPool WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 39 - (NSString *)_processPoolBrowserVersionForAutomation:(WKProcessPool *)processPool WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 40 40 @end 41 41 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSession.h
r230675 r235961 48 48 - (instancetype)initWithConfiguration:(_WKAutomationSessionConfiguration *)configuration NS_DESIGNATED_INITIALIZER; 49 49 50 - (void)terminate WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));50 - (void)terminate WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 51 51 52 52 #if !TARGET_OS_IPHONE -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h
r232396 r235961 41 41 _WKAutomationSessionJavaScriptDialogTypeConfirm, 42 42 _WKAutomationSessionJavaScriptDialogTypePrompt, 43 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));43 } WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 44 44 45 45 typedef NS_ENUM(NSUInteger, _WKAutomationSessionBrowsingContextOptions) { 46 46 _WKAutomationSessionBrowsingContextOptionsPreferNewTab = 1 << 0, 47 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));47 } WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 48 48 49 49 @protocol _WKAutomationSessionDelegate <NSObject> … … 52 52 - (void)_automationSessionDidDisconnectFromRemote:(_WKAutomationSession *)automationSession; 53 53 54 - (void)_automationSession:(_WKAutomationSession *)automationSession requestNewWebViewWithOptions:(_WKAutomationSessionBrowsingContextOptions)options completionHandler:(void(^)(WKWebView * _Nullable))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));55 - (void)_automationSession:(_WKAutomationSession *)automationSession requestHideWindowOfWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));56 - (void)_automationSession:(_WKAutomationSession *)automationSession requestRestoreWindowOfWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));57 - (void)_automationSession:(_WKAutomationSession *)automationSession requestMaximizeWindowOfWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));58 - (void)_automationSession:(_WKAutomationSession *)automationSession requestSwitchToWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));54 - (void)_automationSession:(_WKAutomationSession *)automationSession requestNewWebViewWithOptions:(_WKAutomationSessionBrowsingContextOptions)options completionHandler:(void(^)(WKWebView * _Nullable))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 55 - (void)_automationSession:(_WKAutomationSession *)automationSession requestHideWindowOfWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 56 - (void)_automationSession:(_WKAutomationSession *)automationSession requestRestoreWindowOfWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 57 - (void)_automationSession:(_WKAutomationSession *)automationSession requestMaximizeWindowOfWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 58 - (void)_automationSession:(_WKAutomationSession *)automationSession requestSwitchToWebView:(WKWebView *)webView completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 59 59 - (BOOL)_automationSession:(_WKAutomationSession *)automationSession isShowingJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 60 60 - (void)_automationSession:(_WKAutomationSession *)automationSession dismissCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); … … 62 62 - (nullable NSString *)_automationSession:(_WKAutomationSession *)automationSession messageOfCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 63 63 - (void)_automationSession:(_WKAutomationSession *)automationSession setUserInput:(NSString *)value forCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 64 - (_WKAutomationSessionJavaScriptDialogType)_automationSession:(_WKAutomationSession *)automationSession typeOfCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));64 - (_WKAutomationSessionJavaScriptDialogType)_automationSession:(_WKAutomationSession *)automationSession typeOfCurrentJavaScriptDialogForWebView:(WKWebView *)webView WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 65 65 66 66 // FIXME 37408718: Objective-C delegate methods shouldn't use C API types like WKPageRef. We need to 67 67 // migrate clients to use WKWebView, or expose the same behavior via a C SPI for those clients. 68 - (void)_automationSession:(_WKAutomationSession *)automationSession requestNewPageWithOptions:(_WKAutomationSessionBrowsingContextOptions)options completionHandler:(void(^)(WKPageRef))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));69 - (void)_automationSession:(_WKAutomationSession *)automationSession requestHideWindowOfPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));70 - (void)_automationSession:(_WKAutomationSession *)automationSession requestRestoreWindowOfPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));71 - (void)_automationSession:(_WKAutomationSession *)automationSession requestMaximizeWindowOfPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));72 - (void)_automationSession:(_WKAutomationSession *)automationSession requestSwitchToPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));68 - (void)_automationSession:(_WKAutomationSession *)automationSession requestNewPageWithOptions:(_WKAutomationSessionBrowsingContextOptions)options completionHandler:(void(^)(WKPageRef))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 69 - (void)_automationSession:(_WKAutomationSession *)automationSession requestHideWindowOfPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 70 - (void)_automationSession:(_WKAutomationSession *)automationSession requestRestoreWindowOfPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 71 - (void)_automationSession:(_WKAutomationSession *)automationSession requestMaximizeWindowOfPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 72 - (void)_automationSession:(_WKAutomationSession *)automationSession requestSwitchToPage:(WKPageRef)page completionHandler:(void(^)(void))completionHandler WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 73 73 - (BOOL)_automationSession:(_WKAutomationSession *)automationSession isShowingJavaScriptDialogOnPage:(WKPageRef)page WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 74 74 - (void)_automationSession:(_WKAutomationSession *)automationSession dismissCurrentJavaScriptDialogOnPage:(WKPageRef)page WK_API_AVAILABLE(macosx(10.13), ios(11.0)); … … 76 76 - (nullable NSString *)_automationSession:(_WKAutomationSession *)automationSession messageOfCurrentJavaScriptDialogOnPage:(WKPageRef)page WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 77 77 - (void)_automationSession:(_WKAutomationSession *)automationSession setUserInput:(NSString *)value forCurrentJavaScriptDialogOnPage:(WKPageRef)page WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 78 - (_WKAutomationSessionJavaScriptDialogType)_automationSession:(_WKAutomationSession *)automationSession typeOfCurrentJavaScriptDialogOnPage:(WKPageRef)page WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));78 - (_WKAutomationSessionJavaScriptDialogType)_automationSession:(_WKAutomationSession *)automationSession typeOfCurrentJavaScriptDialogOnPage:(WKPageRef)page WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 79 79 @end 80 80 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKFormInputSession.h
r229837 r235961 45 45 @property (nonatomic) BOOL accessoryViewShouldNotShow WK_API_AVAILABLE(ios(10.0)); 46 46 @property (nonatomic) BOOL forceSecureTextEntry WK_API_AVAILABLE(ios(10.0)); 47 @property (nonatomic, readonly) BOOL requiresStrongPasswordAssistance WK_API_AVAILABLE(ios( WK_IOS_TBA));47 @property (nonatomic, readonly) BOOL requiresStrongPasswordAssistance WK_API_AVAILABLE(ios(12.0)); 48 48 49 - (void)reloadFocusedElementContextView WK_API_AVAILABLE(ios( WK_IOS_TBA));49 - (void)reloadFocusedElementContextView WK_API_AVAILABLE(ios(12.0)); 50 50 #endif 51 51 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInputDelegate.h
r230902 r235961 40 40 _WKFocusStartsInputSessionPolicyAllow, 41 41 _WKFocusStartsInputSessionPolicyDisallow, 42 } WK_API_AVAILABLE(ios( WK_IOS_TBA));42 } WK_API_AVAILABLE(ios(12.0)); 43 43 #endif 44 44 … … 52 52 #if TARGET_OS_IPHONE 53 53 - (BOOL)_webView:(WKWebView *)webView focusShouldStartInputSession:(id <_WKFocusedElementInfo>)info; 54 - (_WKFocusStartsInputSessionPolicy)_webView:(WKWebView *)webView decidePolicyForFocusedElement:(id <_WKFocusedElementInfo>)info WK_API_AVAILABLE(ios( WK_IOS_TBA));54 - (_WKFocusStartsInputSessionPolicy)_webView:(WKWebView *)webView decidePolicyForFocusedElement:(id <_WKFocusedElementInfo>)info WK_API_AVAILABLE(ios(12.0)); 55 55 - (void)_webView:(WKWebView *)webView accessoryViewCustomButtonTappedInFormInputSession:(id <_WKFormInputSession>)inputSession; 56 56 - (void)_webView:(WKWebView *)webView insertTextSuggestion:(UITextSuggestion *)suggestion inInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(10.0)); 57 - (void)_webView:(WKWebView *)webView willStartInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios( WK_IOS_TBA));58 - (BOOL)_webView:(WKWebView *)webView focusRequiresStrongPasswordAssistance:(id <_WKFocusedElementInfo>)info WK_API_AVAILABLE(ios( WK_IOS_TBA));57 - (void)_webView:(WKWebView *)webView willStartInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(12.0)); 58 - (BOOL)_webView:(WKWebView *)webView focusRequiresStrongPasswordAssistance:(id <_WKFocusedElementInfo>)info WK_API_AVAILABLE(ios(12.0)); 59 59 60 - (BOOL)_webView:(WKWebView *)webView shouldRevealFocusOverlayForInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios( WK_IOS_TBA));61 - (CGFloat)_webView:(WKWebView *)webView focusedElementContextViewHeightForFittingSize:(CGSize)fittingSize inputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios( WK_IOS_TBA));62 - (UIView *)_webView:(WKWebView *)webView focusedElementContextViewForInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios( WK_IOS_TBA));60 - (BOOL)_webView:(WKWebView *)webView shouldRevealFocusOverlayForInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(12.0)); 61 - (CGFloat)_webView:(WKWebView *)webView focusedElementContextViewHeightForFittingSize:(CGSize)fittingSize inputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(12.0)); 62 - (UIView *)_webView:(WKWebView *)webView focusedElementContextViewForInputSession:(id <_WKFormInputSession>)inputSession WK_API_AVAILABLE(ios(12.0)); 63 63 #endif 64 64 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKLinkIconParameters.h
r229784 r235961 44 44 @property (nonatomic, readonly, copy) NSNumber *size; 45 45 46 @property (nonatomic, readonly, copy) NSDictionary *attributes WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));46 @property (nonatomic, readonly, copy) NSDictionary *attributes WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 47 47 48 48 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h
r235632 r235961 63 63 #endif 64 64 @property (nonatomic) pid_t presentingApplicationPID WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 65 @property (nonatomic) BOOL processSwapsOnNavigation WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));66 @property (nonatomic) BOOL alwaysKeepAndReuseSwappedProcesses WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));67 @property (nonatomic) BOOL processSwapsOnWindowOpenWithOpener WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));65 @property (nonatomic) BOOL processSwapsOnNavigation WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 66 @property (nonatomic) BOOL alwaysKeepAndReuseSwappedProcesses WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 67 @property (nonatomic) BOOL processSwapsOnWindowOpenWithOpener WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 68 68 @property (nonatomic) BOOL prewarmsProcessesAutomatically WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); 69 @property (nonatomic) BOOL pageCacheEnabled WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));70 @property (nonatomic) BOOL suppressesConnectionTerminationOnSystemChange WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));69 @property (nonatomic) BOOL pageCacheEnabled WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 70 @property (nonatomic) BOOL suppressesConnectionTerminationOnSystemChange WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 71 71 72 72 @end -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKWebsitePolicies.h
r230121 r235961 45 45 _WKWebsitePopUpPolicyAllow, 46 46 _WKWebsitePopUpPolicyBlock, 47 } WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));47 } WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 48 48 49 49 @class WKWebsiteDataStore; … … 56 56 @property (nonatomic) _WKWebsiteAutoplayPolicy autoplayPolicy WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 57 57 @property (nonatomic, copy) NSDictionary<NSString *, NSString *> *customHeaderFields WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 58 @property (nonatomic) _WKWebsitePopUpPolicy popUpPolicy WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));58 @property (nonatomic) _WKWebsitePopUpPolicy popUpPolicy WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 59 59 @property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 60 60 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInEditingDelegate.h
r227068 r235961 62 62 - (void)_webProcessPlugInBrowserContextControllerDidWriteToPasteboard:(WKWebProcessPlugInBrowserContextController *)controller; 63 63 - (BOOL)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller performTwoStepDrop:(WKWebProcessPlugInNodeHandle *)fragment atDestination:(WKWebProcessPlugInRangeHandle *)destination isMove:(BOOL)isMove WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 64 - (NSString *)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller replacementURLForResource:(NSData *)resourceData mimeType:(NSString *)mimeType WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));64 - (NSString *)_webProcessPlugInBrowserContextController:(WKWebProcessPlugInBrowserContextController *)controller replacementURLForResource:(NSData *)resourceData mimeType:(NSString *)mimeType WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 65 65 66 66 @end -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInScriptWorld.h
r228309 r235961 40 40 - (void)clearWrappers; 41 41 - (void)makeAllShadowRootsOpen WK_API_AVAILABLE(macosx(10.12), ios(10.0)); 42 - (void)disableOverrideBuiltinsBehavior WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));42 - (void)disableOverrideBuiltinsBehavior WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 43 43 44 44 @end -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKDOMDocument.h
r233891 r235961 43 43 @property(readonly) WKDOMElement *body; 44 44 45 - (id)parserYieldToken WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));45 - (id)parserYieldToken WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 46 46 47 47 @end -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.h
r233396 r235961 44 44 WK_CLASS_AVAILABLE(macosx(10.10), ios(8.0)) 45 45 @interface WKWebProcessPlugInController : NSObject 46 - (void)extendClassesForParameterCoder:(NSArray *)classes WK_API_AVAILABLE(macosx( WK_MAC_TBA), ios(WK_IOS_TBA));46 - (void)extendClassesForParameterCoder:(NSArray *)classes WK_API_AVAILABLE(macosx(10.14), ios(12.0)); 47 47 48 48 @property (readonly) WKConnection *connection;
Note:
See TracChangeset
for help on using the changeset viewer.