Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions src/browserenginekit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1363,4 +1363,27 @@ interface BEAccessibilityRemoteElement {
[Export ("initWithIdentifier:hostPid:")]
NativeHandle Constructor (string identifier, int hostPid);
}

[NoTV, NoMac, iOS (26, 2), MacCatalyst (26, 2)]
delegate void BEWebContentFilterEvaluateUrlCallback (bool allowed, [NullAllowed] NSData data);

[NoTV, NoMac, iOS (26, 2), MacCatalyst (26, 2)]
delegate void BEWebContentFilterAllowUrlCallback (bool allowed, [NullAllowed] NSError error);

[NoTV, NoMac, iOS (26, 2), MacCatalyst (26, 2)]
[BaseType (typeof (NSObject))]
interface BEWebContentFilter {

[Static]
[Export ("shouldEvaluateURLs")]
bool ShouldEvaluateUrls { get; }

[Async (ResultTypeName = "BEWebContentFilterEvaluateUrlCandidates")]
[Export ("evaluateURL:completionHandler:")]
void EvaluateUrl (NSUrl url, BEWebContentFilterEvaluateUrlCallback completionHandler);

[Async]
[Export ("allowURL:completionHandler:")]
void AllowUrl (NSUrl url, BEWebContentFilterAllowUrlCallback completionHandler);
}
}
4 changes: 4 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9912,6 +9912,8 @@ M:BrowserEngineKit.BERenderingProcess.CreateAsync(System.String,System.Action)
M:BrowserEngineKit.BEScrollView.BEScrollViewAppearance.#ctor(System.IntPtr)
M:BrowserEngineKit.BEScrollView.Dispose(System.Boolean)
M:BrowserEngineKit.BETextInteraction.Dispose(System.Boolean)
M:BrowserEngineKit.BEWebContentFilter.AllowUrlAsync(Foundation.NSUrl)
M:BrowserEngineKit.BEWebContentFilter.EvaluateUrlAsync(Foundation.NSUrl)
M:BrowserEngineKit.BEWebContentProcess.CreateAsync(System.Action)
M:BrowserEngineKit.BEWebContentProcess.CreateAsync(System.String,System.Action)
M:BrowserEngineKit.IBEAccessibilityTextMarkerSupport.GetAccessibilityBounds(BrowserEngineKit.BEAccessibilityTextMarkerRange)
Expand Down Expand Up @@ -25942,6 +25944,8 @@ T:BrowserEngineKit.BETextInputReplaceTextCallback
T:BrowserEngineKit.BETextInputRequestTextContextForAutocorrectionCallback
T:BrowserEngineKit.BETextInputRequestTextRectsCallback
T:BrowserEngineKit.BETextReplacementOptions
T:BrowserEngineKit.BEWebContentFilterAllowUrlCallback
T:BrowserEngineKit.BEWebContentFilterEvaluateUrlCallback
T:BrowserEngineKit.BEWebContentProcessCreateCallback
T:BrowserEngineKit.NSObject_BEAccessibility
T:BusinessChat.BCChatButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,7 @@
!missing-selector! BEAccessibilityRemoteHostElement::setAccessibilityContainer: not bound
!missing-type! BEAccessibilityRemoteElement not bound
!missing-type! BEAccessibilityRemoteHostElement not bound
!missing-selector! +BEWebContentFilter::shouldEvaluateURLs not bound
!missing-selector! BEWebContentFilter::allowURL:completionHandler: not bound
!missing-selector! BEWebContentFilter::evaluateURL:completionHandler: not bound
!missing-type! BEWebContentFilter not bound

This file was deleted.

This file was deleted.

Loading