[wkwebkit] Update for xcode 11 beta 1 (#6292)
This commit is contained in:
Родитель
46dcdb40fd
Коммит
89606f49a0
|
@ -59,16 +59,15 @@ namespace WebKit
|
|||
WebContentProcessTerminated,
|
||||
WebViewInvalidated,
|
||||
JavaScriptExceptionOccurred,
|
||||
[iOS (9,0)][Mac (10,11, onlyOn64 : true)]
|
||||
JavaScriptResultTypeIsUnsupported,
|
||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
||||
// Xcode 9
|
||||
ContentRuleListStoreCompileFailed,
|
||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
||||
ContentRuleListStoreLookUpFailed,
|
||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
||||
ContentRuleListStoreRemoveFailed,
|
||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
||||
ContentRuleListStoreVersionMismatch
|
||||
ContentRuleListStoreVersionMismatch,
|
||||
// Xcode 11
|
||||
AttributedStringContentFailedToLoad,
|
||||
AttributedStringContentLoadTimedOut,
|
||||
}
|
||||
|
||||
#if !MONOMAC || !XAMCORE_4_0
|
||||
|
|
|
@ -154,6 +154,11 @@ namespace WebKit
|
|||
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface WKNavigation {
|
||||
|
||||
[Mac (10,15, onlyOn64: true)]
|
||||
[iOS (13,0)]
|
||||
[Export ("effectiveContentMode")]
|
||||
WKContentMode EffectiveContentMode { get; }
|
||||
}
|
||||
|
||||
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
|
||||
|
@ -192,6 +197,11 @@ namespace WebKit
|
|||
[Export ("webView:decidePolicyForNavigationResponse:decisionHandler:")]
|
||||
void DecidePolicy (WKWebView webView, WKNavigationResponse navigationResponse, Action<WKNavigationResponsePolicy> decisionHandler);
|
||||
|
||||
[Mac (10,15, onlyOn64: true)]
|
||||
[iOS (13,0)]
|
||||
[Export ("webView:decidePolicyForNavigationAction:preferences:decisionHandler:")]
|
||||
void DecidePolicy (WKWebView webView, WKNavigationAction navigationAction, WKWebpagePreferences preferences, Action<WKNavigationActionPolicy, WKWebpagePreferences> decisionHandler);
|
||||
|
||||
[Export ("webView:didStartProvisionalNavigation:")]
|
||||
void DidStartProvisionalNavigation (WKWebView webView, WKNavigation navigation);
|
||||
|
||||
|
@ -245,9 +255,11 @@ namespace WebKit
|
|||
bool JavaScriptCanOpenWindowsAutomatically { get; set; }
|
||||
|
||||
#if MONOMAC
|
||||
[Deprecated (PlatformName.MacOSX, 10,15, message: "Feature no longer supported.")]
|
||||
[Export ("javaEnabled")]
|
||||
bool JavaEnabled { get; set; }
|
||||
|
||||
[Deprecated (PlatformName.MacOSX, 10,15, message: "Feature no longer supported.")]
|
||||
[Export ("plugInsEnabled")]
|
||||
bool PlugInsEnabled { get; set; }
|
||||
|
||||
|
@ -310,6 +322,11 @@ namespace WebKit
|
|||
|
||||
[Export ("snapshotWidth")]
|
||||
NSNumber SnapshotWidth { get; set; }
|
||||
|
||||
[Mac (10,15, onlyOn64: true)]
|
||||
[iOS (13,0)]
|
||||
[Export ("afterScreenUpdates")]
|
||||
bool AfterScreenUpdates { get; set; }
|
||||
}
|
||||
|
||||
#if XAMCORE_2_0
|
||||
|
@ -785,6 +802,11 @@ namespace WebKit
|
|||
[return: NullAllowed]
|
||||
IWKUrlSchemeHandler GetUrlSchemeHandler (string urlScheme);
|
||||
#endif
|
||||
|
||||
[Mac (10,15, onlyOn64: true)]
|
||||
[iOS (13,0)]
|
||||
[Export ("defaultWebpagePreferences", ArgumentSemantic.Copy)]
|
||||
WKWebpagePreferences DefaultWebpagePreferences { get; set; }
|
||||
}
|
||||
|
||||
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
|
||||
|
@ -858,4 +880,22 @@ namespace WebKit
|
|||
[NullAllowed, Export ("linkURL")]
|
||||
NSUrl LinkUrl { get; }
|
||||
}
|
||||
|
||||
[Mac (10,15, onlyOn64: true)]
|
||||
[iOS (13,0)]
|
||||
[Native]
|
||||
public enum WKContentMode : long {
|
||||
Recommended,
|
||||
Mobile,
|
||||
Desktop,
|
||||
}
|
||||
|
||||
[Mac (10,15, onlyOn64: true)]
|
||||
[iOS (13,0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface WKWebpagePreferences {
|
||||
|
||||
[Export ("preferredContentMode", ArgumentSemantic.Assign)]
|
||||
WKContentMode PreferredContentMode { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
!missing-enum! WKContentMode not bound
|
||||
!missing-protocol-member! WKNavigationDelegate::webView:decidePolicyForNavigationAction:preferences:decisionHandler: not found
|
||||
!missing-selector! WKNavigation::effectiveContentMode not bound
|
||||
!missing-selector! WKSnapshotConfiguration::afterScreenUpdates not bound
|
||||
!missing-selector! WKSnapshotConfiguration::setAfterScreenUpdates: not bound
|
||||
!missing-selector! WKWebpagePreferences::preferredContentMode not bound
|
||||
!missing-selector! WKWebpagePreferences::setPreferredContentMode: not bound
|
||||
!missing-selector! WKWebViewConfiguration::defaultWebpagePreferences not bound
|
||||
!missing-selector! WKWebViewConfiguration::setDefaultWebpagePreferences: not bound
|
||||
!missing-type! WKWebpagePreferences not bound
|
|
@ -1,14 +0,0 @@
|
|||
!deprecated-attribute-missing! WKPreferences::javaEnabled missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! WKPreferences::plugInsEnabled missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! WKPreferences::setJavaEnabled: missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! WKPreferences::setPlugInsEnabled: missing a [Deprecated] attribute
|
||||
!missing-enum! WKContentMode not bound
|
||||
!missing-protocol-member! WKNavigationDelegate::webView:decidePolicyForNavigationAction:preferences:decisionHandler: not found
|
||||
!missing-selector! WKNavigation::effectiveContentMode not bound
|
||||
!missing-selector! WKSnapshotConfiguration::afterScreenUpdates not bound
|
||||
!missing-selector! WKSnapshotConfiguration::setAfterScreenUpdates: not bound
|
||||
!missing-selector! WKWebpagePreferences::preferredContentMode not bound
|
||||
!missing-selector! WKWebpagePreferences::setPreferredContentMode: not bound
|
||||
!missing-selector! WKWebViewConfiguration::defaultWebpagePreferences not bound
|
||||
!missing-selector! WKWebViewConfiguration::setDefaultWebpagePreferences: not bound
|
||||
!missing-type! WKWebpagePreferences not bound
|
Загрузка…
Ссылка в новой задаче