Skip to content

Commit 2ee3465

Browse files
authored
[xcode26.2] Update BrowserEngineKit bindings to Xcode 26.2 Beta 1 (#24287)
1 parent 3397de0 commit 2ee3465

File tree

5 files changed

+31
-8
lines changed

5 files changed

+31
-8
lines changed

src/browserenginekit.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,4 +1363,27 @@ interface BEAccessibilityRemoteElement {
13631363
[Export ("initWithIdentifier:hostPid:")]
13641364
NativeHandle Constructor (string identifier, int hostPid);
13651365
}
1366+
1367+
[NoTV, NoMac, iOS (26, 2), MacCatalyst (26, 2)]
1368+
delegate void BEWebContentFilterEvaluateUrlCallback (bool allowed, [NullAllowed] NSData data);
1369+
1370+
[NoTV, NoMac, iOS (26, 2), MacCatalyst (26, 2)]
1371+
delegate void BEWebContentFilterAllowUrlCallback (bool allowed, [NullAllowed] NSError error);
1372+
1373+
[NoTV, NoMac, iOS (26, 2), MacCatalyst (26, 2)]
1374+
[BaseType (typeof (NSObject))]
1375+
interface BEWebContentFilter {
1376+
1377+
[Static]
1378+
[Export ("shouldEvaluateURLs")]
1379+
bool ShouldEvaluateUrls { get; }
1380+
1381+
[Async (ResultTypeName = "BEWebContentFilterEvaluateUrlCandidates")]
1382+
[Export ("evaluateURL:completionHandler:")]
1383+
void EvaluateUrl (NSUrl url, BEWebContentFilterEvaluateUrlCallback completionHandler);
1384+
1385+
[Async]
1386+
[Export ("allowURL:completionHandler:")]
1387+
void AllowUrl (NSUrl url, BEWebContentFilterAllowUrlCallback completionHandler);
1388+
}
13661389
}

tests/cecil-tests/Documentation.KnownFailures.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9914,6 +9914,8 @@ M:BrowserEngineKit.BERenderingProcess.CreateAsync(System.String,System.Action)
99149914
M:BrowserEngineKit.BEScrollView.BEScrollViewAppearance.#ctor(System.IntPtr)
99159915
M:BrowserEngineKit.BEScrollView.Dispose(System.Boolean)
99169916
M:BrowserEngineKit.BETextInteraction.Dispose(System.Boolean)
9917+
M:BrowserEngineKit.BEWebContentFilter.AllowUrlAsync(Foundation.NSUrl)
9918+
M:BrowserEngineKit.BEWebContentFilter.EvaluateUrlAsync(Foundation.NSUrl)
99179919
M:BrowserEngineKit.BEWebContentProcess.CreateAsync(System.Action)
99189920
M:BrowserEngineKit.BEWebContentProcess.CreateAsync(System.String,System.Action)
99199921
M:BrowserEngineKit.IBEAccessibilityTextMarkerSupport.GetAccessibilityBounds(BrowserEngineKit.BEAccessibilityTextMarkerRange)
@@ -25947,6 +25949,8 @@ T:BrowserEngineKit.BETextInputReplaceTextCallback
2594725949
T:BrowserEngineKit.BETextInputRequestTextContextForAutocorrectionCallback
2594825950
T:BrowserEngineKit.BETextInputRequestTextRectsCallback
2594925951
T:BrowserEngineKit.BETextReplacementOptions
25952+
T:BrowserEngineKit.BEWebContentFilterAllowUrlCallback
25953+
T:BrowserEngineKit.BEWebContentFilterEvaluateUrlCallback
2595025954
T:BrowserEngineKit.BEWebContentProcessCreateCallback
2595125955
T:BrowserEngineKit.NSObject_BEAccessibility
2595225956
T:BusinessChat.BCChatButton

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-BrowserEngineKit.ignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,7 @@
207207
!missing-selector! BEAccessibilityRemoteHostElement::setAccessibilityContainer: not bound
208208
!missing-type! BEAccessibilityRemoteElement not bound
209209
!missing-type! BEAccessibilityRemoteHostElement not bound
210+
!missing-selector! +BEWebContentFilter::shouldEvaluateURLs not bound
211+
!missing-selector! BEWebContentFilter::allowURL:completionHandler: not bound
212+
!missing-selector! BEWebContentFilter::evaluateURL:completionHandler: not bound
213+
!missing-type! BEWebContentFilter not bound

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-BrowserEngineKit.todo

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-BrowserEngineKit.todo

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)