[wkwebkit] Update for xcode 11 beta 1 (#6292)
This commit is contained in:
Родитель
46dcdb40fd
Коммит
89606f49a0
|
@ -59,16 +59,15 @@ namespace WebKit
|
||||||
WebContentProcessTerminated,
|
WebContentProcessTerminated,
|
||||||
WebViewInvalidated,
|
WebViewInvalidated,
|
||||||
JavaScriptExceptionOccurred,
|
JavaScriptExceptionOccurred,
|
||||||
[iOS (9,0)][Mac (10,11, onlyOn64 : true)]
|
|
||||||
JavaScriptResultTypeIsUnsupported,
|
JavaScriptResultTypeIsUnsupported,
|
||||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
// Xcode 9
|
||||||
ContentRuleListStoreCompileFailed,
|
ContentRuleListStoreCompileFailed,
|
||||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
|
||||||
ContentRuleListStoreLookUpFailed,
|
ContentRuleListStoreLookUpFailed,
|
||||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
|
||||||
ContentRuleListStoreRemoveFailed,
|
ContentRuleListStoreRemoveFailed,
|
||||||
[iOS (11,0)][Mac (10,13, onlyOn64 : true)]
|
ContentRuleListStoreVersionMismatch,
|
||||||
ContentRuleListStoreVersionMismatch
|
// Xcode 11
|
||||||
|
AttributedStringContentFailedToLoad,
|
||||||
|
AttributedStringContentLoadTimedOut,
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !MONOMAC || !XAMCORE_4_0
|
#if !MONOMAC || !XAMCORE_4_0
|
||||||
|
|
|
@ -154,6 +154,11 @@ namespace WebKit
|
||||||
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
|
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
|
||||||
[BaseType (typeof (NSObject))]
|
[BaseType (typeof (NSObject))]
|
||||||
interface WKNavigation {
|
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
|
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
|
||||||
|
@ -192,6 +197,11 @@ namespace WebKit
|
||||||
[Export ("webView:decidePolicyForNavigationResponse:decisionHandler:")]
|
[Export ("webView:decidePolicyForNavigationResponse:decisionHandler:")]
|
||||||
void DecidePolicy (WKWebView webView, WKNavigationResponse navigationResponse, Action<WKNavigationResponsePolicy> 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:")]
|
[Export ("webView:didStartProvisionalNavigation:")]
|
||||||
void DidStartProvisionalNavigation (WKWebView webView, WKNavigation navigation);
|
void DidStartProvisionalNavigation (WKWebView webView, WKNavigation navigation);
|
||||||
|
|
||||||
|
@ -245,9 +255,11 @@ namespace WebKit
|
||||||
bool JavaScriptCanOpenWindowsAutomatically { get; set; }
|
bool JavaScriptCanOpenWindowsAutomatically { get; set; }
|
||||||
|
|
||||||
#if MONOMAC
|
#if MONOMAC
|
||||||
|
[Deprecated (PlatformName.MacOSX, 10,15, message: "Feature no longer supported.")]
|
||||||
[Export ("javaEnabled")]
|
[Export ("javaEnabled")]
|
||||||
bool JavaEnabled { get; set; }
|
bool JavaEnabled { get; set; }
|
||||||
|
|
||||||
|
[Deprecated (PlatformName.MacOSX, 10,15, message: "Feature no longer supported.")]
|
||||||
[Export ("plugInsEnabled")]
|
[Export ("plugInsEnabled")]
|
||||||
bool PlugInsEnabled { get; set; }
|
bool PlugInsEnabled { get; set; }
|
||||||
|
|
||||||
|
@ -310,6 +322,11 @@ namespace WebKit
|
||||||
|
|
||||||
[Export ("snapshotWidth")]
|
[Export ("snapshotWidth")]
|
||||||
NSNumber SnapshotWidth { get; set; }
|
NSNumber SnapshotWidth { get; set; }
|
||||||
|
|
||||||
|
[Mac (10,15, onlyOn64: true)]
|
||||||
|
[iOS (13,0)]
|
||||||
|
[Export ("afterScreenUpdates")]
|
||||||
|
bool AfterScreenUpdates { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
#if XAMCORE_2_0
|
#if XAMCORE_2_0
|
||||||
|
@ -785,6 +802,11 @@ namespace WebKit
|
||||||
[return: NullAllowed]
|
[return: NullAllowed]
|
||||||
IWKUrlSchemeHandler GetUrlSchemeHandler (string urlScheme);
|
IWKUrlSchemeHandler GetUrlSchemeHandler (string urlScheme);
|
||||||
#endif
|
#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
|
[iOS (8,0), Mac (10,10, onlyOn64 : true)] // Not defined in 32-bit
|
||||||
|
@ -858,4 +880,22 @@ namespace WebKit
|
||||||
[NullAllowed, Export ("linkURL")]
|
[NullAllowed, Export ("linkURL")]
|
||||||
NSUrl LinkUrl { get; }
|
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
|
|
Загрузка…
Ссылка в новой задаче