diff --git a/src/BrowserEngineKit/BEStructs.cs b/src/BrowserEngineKit/BEStructs.cs new file mode 100644 index 000000000000..b969768b35f7 --- /dev/null +++ b/src/BrowserEngineKit/BEStructs.cs @@ -0,0 +1,21 @@ +#if NET +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.InteropServices; +using System.Runtime.Versioning; + +namespace BrowserEngineKit { +#if IOS || MACCATALYST || TVOS + [SupportedOSPlatform ("ios17.4")] + [SupportedOSPlatform ("maccatalyst17.4")] + [SupportedOSPlatform ("tvos17.4")] + [UnsupportedOSPlatform ("macos")] + [StructLayout (LayoutKind.Sequential)] + public struct BEDirectionalTextRange + { + public nint Offset; + public nint Length; + } +#endif // __IOS__ || __MACCATALYST__ +} +#endif // NET diff --git a/src/Foundation/NSObject.mac.cs b/src/Foundation/NSObject.mac.cs index 48bce77a6297..b800e6b8b324 100644 --- a/src/Foundation/NSObject.mac.cs +++ b/src/Foundation/NSObject.mac.cs @@ -114,6 +114,7 @@ public partial class NSObject { static IntPtr cr = Dlfcn.dlopen (Constants.CryptoTokenKitLibrary, 1); static IntPtr dd = Dlfcn.dlopen (Constants.DeviceDiscoveryExtensionLibrary, 1); static IntPtr fk = Dlfcn.dlopen (Constants.FSKitLibrary, 1); + static IntPtr be = Dlfcn.dlopen (Constants.BrowserEngineKitLibrary, 1); #if !NET [Obsolete ("Use PlatformAssembly for easier code sharing across platforms.")] diff --git a/src/browserenginekit.cs b/src/browserenginekit.cs new file mode 100644 index 000000000000..1508ab46a7e9 --- /dev/null +++ b/src/browserenginekit.cs @@ -0,0 +1,1195 @@ +#if NET + +using System; + +using AVFoundation; +using CoreAnimation; +using CoreGraphics; +using Foundation; +using ObjCRuntime; +#if MONOMAC +using AppKit; +#else +using UIKit; +#endif + +#if MONOMAC +using BEDirectionalTextRange = Foundation.NSObject; +using IUIContextMenuInteractionDelegate = Foundation.NSObject; +using IUIDragSession = Foundation.NSObject; +using IUIEditMenuInteractionAnimating = Foundation.NSObject; +using UIColor = Foundation.NSObject; +using UIContextMenuConfiguration = Foundation.NSObject; +using UIContextMenuInteraction = Foundation.NSObject; +using UIDragInteraction = Foundation.NSObject; +using UIDragInteractionDelegate = Foundation.NSObject; +using UIDragItem = Foundation.NSObject; +using UIEditMenuArrowDirection = Foundation.NSObject; +using UIGestureRecognizerState = Foundation.NSObject; +using UIKey = Foundation.NSObject; +using UIScrollView = Foundation.NSObject; +using UIScrollViewDelegate = Foundation.NSObject; +using UITextGranularity = Foundation.NSObject; +using UITextLayoutDirection = Foundation.NSObject; +using UITextPlaceholder = Foundation.NSObject; +using UITextPosition = Foundation.NSObject; +using UITextRange = Foundation.NSObject; +using UITextSelectionDisplayInteraction = Foundation.NSObject; +using UITextSelectionRect = Foundation.NSObject; +using UITextStorageDirection = Foundation.NSObject; +using UIView = Foundation.NSObject; +#endif + +#if MONOMAC +using IUIInteraction = Foundation.NSObject; +using UIInteraction = Foundation.NSObjectProtocol; +using UIKeyInput = Foundation.NSObjectProtocol; +using UIResponderStandardEditActions = Foundation.NSObjectProtocol; +using UITextInputTraits = Foundation.NSObjectProtocol; +#endif + +using OS_xpc_object = Foundation.NSObject; + +namespace BrowserEngineKit { + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BELayerHierarchyHandle : NSSecureCoding + { + [Static] + [Export ("handleWithXPCRepresentation:error:")] + [return: NullAllowed] + BELayerHierarchyHandle Create ([NullAllowed] OS_xpc_object xpcRepresentation, [NullAllowed] out NSError error); + + [Export ("createXPCRepresentation")] + OS_xpc_object CreateXpcRepresentation (); + } + + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BELayerHierarchy + { + [Static] + [Export ("layerHierarchyWithError:")] + [return: NullAllowed] + BELayerHierarchy Create ([NullAllowed] out NSError error); + + [Export ("handle", ArgumentSemantic.Strong)] + BELayerHierarchyHandle LayerHierarchyHandle { get; } + + [Export ("layer", ArgumentSemantic.Strong), NullAllowed] + CALayer Layer { get; set; } + + [Export ("invalidate")] + void Invalidate (); + } + + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof (UIView))] + interface BELayerHierarchyHostingView + { + [Export ("handle", ArgumentSemantic.Strong), NullAllowed] + BELayerHierarchyHandle LayerHierarchyHandle { get; set; } + } + + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BELayerHierarchyHostingTransactionCoordinator : NSSecureCoding + { + [Static] + [Export ("coordinatorWithError:")] + [return: NullAllowed] + BELayerHierarchyHostingTransactionCoordinator Create ([NullAllowed] out NSError error); + + [Static] + [Export ("coordinatorWithXPCRepresentation:error:")] + [return: NullAllowed] + BELayerHierarchyHostingTransactionCoordinator Create ([NullAllowed] OS_xpc_object xpcRepresentation, [NullAllowed] out NSError error); + + // -(xpc_object_t _Nonnull)createXPCRepresentation __attribute__((swift_name("createXPCRepresentation()"))); + [Export ("createXPCRepresentation")] + OS_xpc_object CreateXpcRepresentation (); + + [Export ("addLayerHierarchy:")] + void Add (BELayerHierarchy layerHierarchy); + + [Export ("addLayerHierarchyHostingView:")] + void Add (BELayerHierarchyHostingView hostingView); + + [Export ("commit")] + void Commit (); + } + + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(UIContextMenuConfiguration))] + [DisableDefaultCtor] + interface BEContextMenuConfiguration + { + [DesignatedInitializer] + [Export ("init")] + NativeHandle Constructor (); + + [Export ("fulfillUsingConfiguration:")] + bool Fulfill ([NullAllowed] UIContextMenuConfiguration configuration); + } + + delegate bool BEDragInteractionDelegateGetDragItemsCallback (UIDragItem[] items); + + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof (UIDragInteractionDelegate))] + [Protocol (BackwardsCompatibleCodeGeneration = false), Model] + interface BEDragInteractionDelegate + { + [Export ("dragInteraction:prepareDragSession:completion:")] + void PrepareDragSession (BEDragInteraction dragInteraction, IUIDragSession session, Func completion); + + [Export ("dragInteraction:itemsForAddingToSession:forTouchAtPoint:completion:")] + void GetDragItems (BEDragInteraction dragInteraction, IUIDragSession session, CGPoint point, BEDragInteractionDelegateGetDragItemsCallback completion); + } + + interface IBEDragInteractionDelegate {} + + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof (UIDragInteraction))] + interface BEDragInteraction + { + [Wrap ("WeakDelegate")] + [NullAllowed] + IBEDragInteractionDelegate Delegate { get; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; } + + [Export ("initWithDelegate:")] + [DesignatedInitializer] + NativeHandle Constructor (IBEDragInteractionDelegate @delegate); + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof (UIScrollViewDelegate))] + [Protocol (BackwardsCompatibleCodeGeneration = false), Model] + interface BEScrollViewDelegate + { + [Export ("scrollView:handleScrollUpdate:completion:")] + void HandleScrollUpdate (BEScrollView scrollView, BEScrollViewScrollUpdate scrollUpdate, Action completion); + + [Export ("parentScrollViewForScrollView:")] + [return: NullAllowed] + BEScrollView GetParentScrollView (BEScrollView scrollView); + } + + interface IBEScrollViewDelegate {} + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(UIScrollView))] + interface BEScrollView + { + [Wrap ("WeakDelegate")] + [NullAllowed] + IBEScrollViewDelegate Delegate { get; set; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; set; } + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Native] + public enum BEScrollViewScrollUpdatePhase : long + { + Began, + Changed, + Ended, + Cancelled, + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BEScrollViewScrollUpdate + { + [Export ("timestamp")] + double Timestamp { get; } + + [Export ("phase")] + BEScrollViewScrollUpdatePhase Phase { get; } + + [Export ("locationInView:")] + CGPoint GetLocation ([NullAllowed] UIView view); + + [Export ("translationInView:")] + CGPoint GetTranslation ([NullAllowed] UIView view); + } + + delegate void BEWebContentProcessCreateCallback ([NullAllowed] BEWebContentProcess proces, [NullAllowed] NSError error); + + [NoWatch, NoTV, Mac (14,3), iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BEWebContentProcess + { + [Static] + [Export ("webContentProcessWithInterruptionHandler:completion:")] + void Create (Action interruptionHandler, BEWebContentProcessCreateCallback completion); + + [Export ("invalidate")] + void Invalidate (); + + [Export ("makeLibXPCConnectionError:")] + [return: NullAllowed] + OS_xpc_object MakeLibXpcConnection ([NullAllowed] out NSError error); + + [NoMac] + [Export ("createVisibilityPropagationInteraction")] + IUIInteraction CreateVisibilityPropagationInteraction (); + + // Inlined from the Capability (BEWebContentProcess) category + [Export ("grantCapability:error:")] + [return: NullAllowed] + IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, [NullAllowed] out NSError error); + + // Inlined from the CapabilityInvalidationHandler (BEWebContentProcess) category + [NoWatch, NoTV, NoMac, iOS (17,6), MacCatalyst (17, 6)] + [Export ("grantCapability:error:invalidationHandler:")] + [return: NullAllowed] + IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, [NullAllowed] out NSError error, Action invalidationHandler); + } + + delegate void BENetworkingProcessCreateCallback ([NullAllowed] BENetworkingProcess proces, [NullAllowed] NSError error); + + [NoWatch, NoTV, Mac (14,3), iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BENetworkingProcess + { + [Static] + [Export ("networkProcessWithInterruptionHandler:completion:")] + void Create (Action interruptionHandler, BENetworkingProcessCreateCallback completion); + + [Export ("invalidate")] + void Invalidate (); + + [Export ("makeLibXPCConnectionError:")] + [return: NullAllowed] + OS_xpc_object MakeLibXpcConnection ([NullAllowed] out NSError error); + + + // Inlined from the Capability (BENetworkingProcess) category + [Export ("grantCapability:error:")] + [return: NullAllowed] + IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, [NullAllowed] out NSError error); + + // Inlined from the CapabilityInvalidationHandler (BENetworkingProcess) category + [NoWatch, NoMac, NoTV, iOS (17, 6), MacCatalyst (17, 6)] + [Export ("grantCapability:error:invalidationHandler:")] + [return: NullAllowed] + IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, [NullAllowed] out NSError error, Action invalidationHandler); + } + + delegate void BERenderingProcessCreateCallback ([NullAllowed] BERenderingProcess proces, [NullAllowed] NSError error); + + [NoWatch, NoTV, Mac (14, 3), iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BERenderingProcess + { + [Static] + [Export ("renderingProcessWithInterruptionHandler:completion:")] + void Create (Action interruptionHandler, BERenderingProcessCreateCallback completion); + + [Export ("invalidate")] + void Invalidate (); + + [Export ("makeLibXPCConnectionError:")] + [return: NullAllowed] + OS_xpc_object MakeLibXpcConnection ([NullAllowed] out NSError error); + + [NoMac] + [Export ("createVisibilityPropagationInteraction")] + IUIInteraction CreateVisibilityPropagationInteraction (); + + // Inlined from the Capability (BERenderingProcess) category + [Export ("grantCapability:error:")] + [return: NullAllowed] + IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, [NullAllowed] out NSError error); + + // Inlined from the CapabilityInvalidationHandler (BERenderingProcess) category + [NoWatch, NoTV, NoMac, iOS (17,6), MacCatalyst (17, 6)] + [Export ("grantCapability:error:invalidationHandler:")] + [return: NullAllowed] + IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, [NullAllowed] out NSError error, Action invalidationHandler); + } + + // Headers say this is available on macOS 14.3, but the BETextInput type isn't, so just remove this type from macOS as well. + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof (NSObject))] + [Protocol (BackwardsCompatibleCodeGeneration = false), Model] + interface BETextInputDelegate + { + [Abstract] + [Export ("shouldDeferEventHandlingToSystemForTextInput:context:")] + bool ShouldDeferEventHandlingToSystem (IBETextInput textInput, BEKeyEntryContext keyEventContext); + + [Abstract] + [Export ("textInput:setCandidateSuggestions:")] + void SetCandidateSuggestions (IBETextInput textInput, [NullAllowed] BETextSuggestion[] suggestions); + + [Abstract] + [Export ("selectionWillChangeForTextInput:")] + void SelectionWillChange (IBETextInput textInput); + + [Abstract] + [Export ("selectionDidChangeForTextInput:")] + void SelectionDidChange (IBETextInput textInput); + + [Abstract] + [Export ("textInput:deferReplaceTextActionToSystem:")] + void DeferReplaceTextActionToSystem (IBETextInput textInput, NSObject sender); + + [Abstract] + [Export ("invalidateTextEntryContextForTextInput:")] + void InvalidateTextEntryContext (IBETextInput textInput); + } + + interface IBETextInputDelegate {} + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Native] + public enum BEKeyPressState : long + { + Down = 1, + Up = 2, + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BEKeyEntry + { + [Export ("key")] + UIKey Key { get; } + + [Export ("state")] + BEKeyPressState State { get; } + + [Export ("keyRepeating")] + bool KeyRepeating { [Bind ("isKeyRepeating")] get; } + + [Export ("timestamp")] + double Timestamp { get; } + } + + [NoWatch, TV (17, 4), Mac (14, 4), iOS (17,4), MacCatalyst (17, 4)] + [Native] + public enum BEGestureType : long + { + Loupe = 0, + OneFingerTap = 1, + DoubleTapAndHold = 2, + DoubleTap = 3, + OneFingerDoubleTap = 8, + OneFingerTripleTap = 9, + TwoFingerSingleTap = 10, + TwoFingerRangedSelectGesture = 11, + IMPhraseBoundaryDrag = 14, + ForceTouch = 15, + } + + [NoWatch, TV (17, 4), Mac (14, 4), iOS (17,4), MacCatalyst (17, 4)] + [Native] + public enum BESelectionTouchPhase : long + { + Started, + Moved, + Ended, + EndedMovingForward, + EndedMovingBackward, + EndedNotMoving, + } + + [Flags] + [NoWatch, TV (17, 4), Mac (14, 4), iOS (17,4), MacCatalyst (17, 4)] + [Native] + public enum BESelectionFlags : ulong + { + None = 0x0, + WordIsNearTap = 1uL << 0, + SelectionFlipped = 1uL << 1, + PhraseBoundaryChanged = 1uL << 2, + } + + [NoWatch, TV (17, 4), Mac (14, 4), iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BETextAlternatives + { + [Export ("primaryString")] + string PrimaryString { get; } + + [Export ("alternativeStrings")] + string[] AlternativeStrings { get; } + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Flags] + [Native] + public enum BETextReplacementOptions : ulong + { + None = 0x0, + AddUnderline = 1uL << 0, + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Flags] + [Native] + public enum BEKeyModifierFlags : long + { + None, + Shift, + CapsLock, + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Protocol (BackwardsCompatibleCodeGeneration = false)] + interface BEResponderEditActions : UIResponderStandardEditActions + { + [Export ("share:")] + void Share ([NullAllowed] NSObject sender); + + [Export ("addShortcut:")] + void AddShortcut ([NullAllowed] NSObject sender); + + [Export ("lookup:")] + void Lookup ([NullAllowed] NSObject sender); + + [Export ("findSelected:")] + void FindSelected ([NullAllowed] NSObject sender); + + [Export ("promptForReplace:")] + void PromptForReplace ([NullAllowed] NSObject sender); + + [Export ("replace:")] + void Replace ([NullAllowed] NSObject sender); + + [Export ("translate:")] + void Translate ([NullAllowed] NSObject sender); + + [Export ("transliterateChinese:")] + void TransliterateChinese ([NullAllowed] NSObject sender); + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Protocol (BackwardsCompatibleCodeGeneration = false)] + interface BETextSelectionDirectionNavigation + { + [Abstract] + [Export ("moveInLayoutDirection:")] + void MoveInLayoutDirection (UITextLayoutDirection direction); + + [Abstract] + [Export ("extendInLayoutDirection:")] + void ExtendInLayoutDirection (UITextLayoutDirection direction); + + [Abstract] + [Export ("moveInStorageDirection:byGranularity:")] + void MoveInStorageDirection (UITextStorageDirection direction, UITextGranularity granularity); + + [Abstract] + [Export ("extendInStorageDirection:byGranularity:")] + void ExtendInStorageDirection (UITextStorageDirection direction, UITextGranularity granularity); + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Protocol (BackwardsCompatibleCodeGeneration = false)] + interface BEExtendedTextInputTraits : UITextInputTraits + { + [Export ("singleLineDocument")] + bool SingleLineDocument { [Bind ("isSingleLineDocument")] get; } + + [Export ("typingAdaptationEnabled")] + bool TypingAdaptationEnabled { [Bind ("isTypingAdaptationEnabled")] get; } + + [NullAllowed, Export ("insertionPointColor")] + UIColor InsertionPointColor { get; } + + [NullAllowed, Export ("selectionHandleColor")] + UIColor SelectionHandleColor { get; } + + [NullAllowed, Export ("selectionHighlightColor")] + UIColor SelectionHighlightColor { get; } + } + + interface IBEExtendedTextInputTraits {} + + delegate void BETextInputHandleKeyEntryCallback (BEKeyEntry entry, bool handled); + delegate void BETextInputReplaceTextCallback (UITextSelectionRect[] rects); + delegate void BETextInputRequestTextContextForAutocorrectionCallback (BETextDocumentContext context); + delegate void BETextInputRequestTextRectsCallback (UITextSelectionRect[] rects); + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Protocol (BackwardsCompatibleCodeGeneration = false)] + interface BETextInput : UIKeyInput, BETextSelectionDirectionNavigation, BEResponderEditActions + { + [Wrap ("WeakAsyncInputDelegate"), Abstract] + [NullAllowed] + IBETextInputDelegate AsyncInputDelegate { get; set; } + + [Abstract] + [NullAllowed, Export ("asyncInputDelegate", ArgumentSemantic.Weak)] + NSObject WeakAsyncInputDelegate { get; set; } + + [Abstract] + [Export ("canPerformAction:withSender:")] + bool CanPerformAction (Selector action, [NullAllowed] NSObject sender); + + [Abstract] + [Export ("editable")] + bool Editable { [Bind ("isEditable")] get; } + + [Abstract] + [Export ("handleKeyEntry:withCompletionHandler:")] + void HandleKeyEntry (BEKeyEntry entry, BETextInputHandleKeyEntryCallback completionHandler); + + [Abstract] + [Export ("shiftKeyStateChangedFromState:toState:")] + void ShiftKeyStateChanged (BEKeyModifierFlags oldState, BEKeyModifierFlags newState); + + [Abstract] + [Export ("textInRange:")] + [return: NullAllowed] + string GetText (UITextRange range); + + [Abstract] + [Export ("offsetFromPosition:toPosition:")] + nint GetOffset (UITextPosition from, UITextPosition toPosition); + + [Abstract] + [Export ("setBaseWritingDirection:forRange:")] + void SetBaseWritingDirection (NSWritingDirection writingDirection, UITextRange range); + + [Abstract] + [Export ("deleteInDirection:toGranularity:")] + void Delete (UITextStorageDirection direction, UITextGranularity granularity); + + [Abstract] + [Export ("transposeCharactersAroundSelection")] + void TransposeCharactersAroundSelection (); + + [Abstract] + [Export ("replaceText:withText:options:completionHandler:")] + void ReplaceText (string originalText, string replacementText, BETextReplacementOptions options, BETextInputReplaceTextCallback completionHandler); + + [Abstract] + [Export ("requestTextContextForAutocorrectionWithCompletionHandler:")] + void RequestTextContextForAutocorrection (BETextInputRequestTextContextForAutocorrectionCallback completionHandler); + + [Abstract] + [Export ("requestTextRectsForString:withCompletionHandler:")] + void RequestTextRects (string input, BETextInputRequestTextRectsCallback completionHandler); + + [Abstract] + [Export ("automaticallyPresentEditMenu")] + bool AutomaticallyPresentEditMenu { get; } + + [NoWatch, NoTV] + [Abstract] + [Export ("requestPreferredArrowDirectionForEditMenuWithCompletionHandler:")] + void RequestPreferredArrowDirectionForEditMenuWithCompletionHandler (Action completionHandler); + + [NoWatch, NoTV] + [Abstract] + [Export ("systemWillPresentEditMenuWithAnimator:")] + void SystemWillPresentEditMenu (IUIEditMenuInteractionAnimating animator); + + [NoWatch, NoTV] + [Abstract] + [Export ("systemWillDismissEditMenuWithAnimator:")] + void SystemWillDismissEditMenu (IUIEditMenuInteractionAnimating animator); + + [Abstract] + [NullAllowed, Export ("extendedTextInputTraits")] + IBEExtendedTextInputTraits ExtendedTextInputTraits { get; } + + [Abstract] + [Export ("textStylingAtPosition:inDirection:")] + [return: NullAllowed] + NSDictionary GetTextStyling (UITextPosition position, UITextStorageDirection direction); + + [Abstract] + [Export ("replaceAllowed")] + bool ReplaceAllowed { [Bind ("isReplaceAllowed")] get; } + + [Abstract] + [Export ("replaceSelectedText:withText:")] + void ReplaceSelectedText (string text, string replacementText); + + [Abstract] + [Export ("updateCurrentSelectionTo:fromGesture:inState:")] + void UpdateCurrentSelection (CGPoint point, BEGestureType gestureType, UIGestureRecognizerState state); + + [Abstract] + [Export ("setSelectionFromPoint:toPoint:gesture:state:")] + void SetSelection (CGPoint from, CGPoint to, BEGestureType gesture, UIGestureRecognizerState state); + + [Abstract] + [Export ("adjustSelectionBoundaryToPoint:touchPhase:baseIsStart:flags:")] + void AdjustSelectionBoundary (CGPoint point, BESelectionTouchPhase touch, bool boundaryIsStart, BESelectionFlags flags); + + [Abstract] + [Export ("textInteractionGesture:shouldBeginAtPoint:")] + bool ShouldTextInteractionGestureBeginAtPoint (BEGestureType gestureType, CGPoint point); + + [Abstract] + [NullAllowed, Export ("selectedText")] + string SelectedText { get; } + + [Abstract] + [NullAllowed, Export ("selectedTextRange", ArgumentSemantic.Copy)] + UITextRange SelectedTextRange { get; set; } + + [Abstract] + [Export ("selectionAtDocumentStart")] + bool SelectionAtDocumentStart { [Bind ("isSelectionAtDocumentStart")] get; } + + [Abstract] + [Export ("caretRectForPosition:")] + CGRect GetCaretRect (UITextPosition position); + + [Abstract] + [Export ("selectionRectsForRange:")] + UITextSelectionRect[] GetSelectionRects (UITextRange range); + + [Abstract] + [Export ("selectWordForReplacement")] + void SelectWordForReplacement (); + + [Abstract] + [Export ("updateSelectionWithExtentPoint:boundary:completionHandler:")] + void UpdateSelection (CGPoint extentPoint, UITextGranularity granularity, Action completionHandler); + + [Abstract] + [Export ("selectTextInGranularity:atPoint:completionHandler:")] + void SelectText (UITextGranularity granularity, CGPoint point, Action completionHandler); + + [Abstract] + [Export ("selectPositionAtPoint:completionHandler:")] + void SelectPosition (CGPoint point, Action completionHandler); + + [Abstract] + [Export ("selectPositionAtPoint:withContextRequest:completionHandler:")] + void SelectPosition (CGPoint point, BETextDocumentRequest request, Action completionHandler); + + [Abstract] + [Export ("adjustSelectionByRange:completionHandler:")] + void AdjustSelection (BEDirectionalTextRange range, Action completionHandler); + + [Abstract] + [Export ("moveByOffset:")] + void Move (nint offset); + + [Abstract] + [Export ("moveSelectionAtBoundary:inStorageDirection:completionHandler:")] + void MoveSelectionAtBoundary (UITextGranularity granularity, UITextStorageDirection direction, Action completionHandler); + + [Abstract] + [Export ("selectTextForEditMenuWithLocationInView:completionHandler:")] + void SelectTextForEditMenu (CGPoint locationInView, Action completionHandler); + + [Abstract] + [NullAllowed, Export ("markedText")] + string MarkedText { get; } + + [Abstract] + [NullAllowed, Export ("attributedMarkedText")] + NSAttributedString AttributedMarkedText { get; } + + [Abstract] + [NullAllowed, Export ("markedTextRange")] + UITextRange MarkedTextRange { get; } + + [Abstract] + [Export ("hasMarkedText")] + bool HasMarkedText { get; } + + [Abstract] + [Export ("setMarkedText:selectedRange:")] + void SetMarkedText ([NullAllowed] string markedText, NSRange selectedRange); + + [Abstract] + [Export ("setAttributedMarkedText:selectedRange:")] + void SetAttributedMarkedText ([NullAllowed] NSAttributedString markedText, NSRange selectedRange); + + [Abstract] + [Export ("unmarkText")] + void UnmarkText (); + + [Abstract] + [Export ("isPointNearMarkedText:")] + bool IsPointNearMarkedText (CGPoint point); + + [Abstract] + [Export ("requestDocumentContext:completionHandler:")] + void RequestDocumentContext (BETextDocumentRequest request, Action completionHandler); + + [Abstract] + [Export ("willInsertFinalDictationResult")] + void WillInsertFinalDictationResult (); + + [Abstract] + [Export ("replaceDictatedText:withText:")] + void ReplaceDictatedText (string oldText, string newText); + + [Abstract] + [Export ("didInsertFinalDictationResult")] + void DidInsertFinalDictationResult (); + + [Abstract] + [return: NullAllowed] + [Export ("alternativesForSelectedText")] + BETextAlternatives[] GetAlternativesForSelectedText (); + + [Abstract] + [Export ("addTextAlternatives:")] + void AddTextAlternatives (BETextAlternatives alternatives); + + [Abstract] + [Export ("insertTextAlternatives:")] + void InsertTextAlternatives (BETextAlternatives alternatives); + + [iOS (18,0), MacCatalyst (18, 0), TV (18, 0)] + [Export ("removeTextAlternatives")] + void RemoveTextAlternatives (); + + [Abstract] + [Export ("insertTextPlaceholderWithSize:completionHandler:")] + void InsertTextPlaceholder (CGSize size, Action completionHandler); + + [Abstract] + [Export ("removeTextPlaceholder:willInsertText:completionHandler:")] + void RemoveTextPlaceholder (UITextPlaceholder placeholder, bool willInsertText, Action completionHandler); + + [Abstract] + [Export ("insertTextSuggestion:")] + void InsertTextSuggestion (BETextSuggestion textSuggestion); + + [Abstract] + [Export ("textInputView")] + UIView TextInputView { get; } + + [Abstract] + [Export ("textFirstRect")] + CGRect TextFirstRect { get; } + + [Abstract] + [Export ("textLastRect")] + CGRect TextLastRect { get; } + + [Abstract] + [Export ("unobscuredContentRect")] + CGRect UnobscuredContentRect { get; } + + [Abstract] + [Export ("unscaledView")] + UIView UnscaledView { get; } + + [Abstract] + [Export ("selectionClipRect")] + CGRect SelectionClipRect { get; } + + [Abstract] + [Export ("autoscrollToPoint:")] + void Autoscroll (CGPoint point); + + [Abstract] + [Export ("cancelAutoscroll")] + void CancelAutoscroll (); + + [iOS (18,0), MacCatalyst (18, 0), TV (18, 0)] + [Export ("keyboardWillDismiss")] + void KeyboardWillDismiss (); + } + + interface IBETextInput {} + + [NoWatch, TV (17, 4), Mac (14, 4), iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BETextSuggestion + { + [Export ("initWithInputText:")] + NativeHandle Constructor (string inputText); + + [Export ("inputText")] + string InputText { get; } + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(BETextSuggestion))] + [DisableDefaultCtor] + interface BEAutoFillTextSuggestion + { + [Export ("contents", ArgumentSemantic.Copy)] + NSDictionary Contents { get; } + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + interface BETextInteraction : UIInteraction + { + [Wrap ("WeakDelegate")] + [NullAllowed] + IBETextInteractionDelegate Delegate { get; set; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; set; } + + [Export ("addShortcutForText:fromRect:")] + void AddShortcut (string text, CGRect presentationRect); + + [Export ("shareText:fromRect:")] + void Share (string text, CGRect presentationRect); + + [Export ("showDictionaryForTextInContext:definingTextInRange:fromRect:")] + void ShowDictionary (string textWithContext, NSRange range, CGRect presentationRect); + + [Export ("translateText:fromRect:")] + void Translate (string text, CGRect presentationRect); + + [Export ("showReplacementsForText:")] + void ShowReplacements (string text); + + [Export ("transliterateChineseForText:")] + void TransliterateChinese (string text); + [Export ("presentEditMenuForSelection")] + void PresentEditMenuForSelection (); + + [Export ("dismissEditMenuForSelection")] + void DismissEditMenuForSelection (); + + [Export ("editabilityChanged")] + void EditabilityChanged (); + + [Export ("refreshKeyboardUI")] + void RefreshKeyboardUI (); + + [Export ("selectionChangedWithGestureAtPoint:gesture:state:flags:")] + void SelectionChangedWithGesture (CGPoint point, BEGestureType gestureType, UIGestureRecognizerState gestureState, BESelectionFlags flags); + + [Export ("selectionBoundaryAdjustedToPoint:touchPhase:flags:")] + void SelectionBoundaryAdjusted (CGPoint point, BESelectionTouchPhase touch, BESelectionFlags flags); + + [Export ("textSelectionDisplayInteraction")] + UITextSelectionDisplayInteraction TextSelectionDisplayInteraction { get; } + + [NoWatch, NoTV] + [Wrap ("WeakContextMenuInteractionDelegate")] + [NullAllowed] + IUIContextMenuInteractionDelegate ContextMenuInteractionDelegate { get; set; } + + [NoWatch, NoTV] + [NullAllowed, Export ("contextMenuInteractionDelegate", ArgumentSemantic.Weak)] + NSObject WeakContextMenuInteractionDelegate { get; set; } + + [NoWatch, NoTV] + [Export ("contextMenuInteraction")] + UIContextMenuInteraction ContextMenuInteraction { get; } + } + + // Headers say this is available on macOS 14.3, but the BETextInteraction type isn't, so just remove this type from macOS as well. + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof (NSObject))] + [Protocol (BackwardsCompatibleCodeGeneration = false), Model] + interface BETextInteractionDelegate + { + [Abstract] + [Export ("systemWillChangeSelectionForInteraction:")] + void SystemWillChangeSelection (BETextInteraction textInteraction); + + [Abstract] + [Export ("systemDidChangeSelectionForInteraction:")] + void SystemDidChangeSelection (BETextInteraction textInteraction); + } + + interface IBETextInteractionDelegate {} + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BEKeyEntryContext + { + [Export ("keyEntry", ArgumentSemantic.Strong)] + BEKeyEntry KeyEntry { get; } + + [Export ("documentEditable")] + bool DocumentEditable { [Bind ("isDocumentEditable")] get; set; } + + [Export ("shouldInsertCharacter")] + bool ShouldInsertCharacter { get; set; } + + [Export ("shouldEvaluateForInputSystemHandling")] + bool ShouldEvaluateForInputSystemHandling { get; set; } + + [Export ("initWithKeyEntry:")] + [DesignatedInitializer] + NativeHandle Constructor (BEKeyEntry keyEntry); + } + + [Flags] + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [Native] + public enum BETextDocumentRequestOptions : long + { + None = 0x0, + Text = 1L << 0, + AttributedText = 1L << 1, + TextRects = 1L << 2, + MarkedTextRects = 1L << 5, + AutocorrectedRanges = 1L << 7, + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BETextDocumentRequest + { + [Export ("options", ArgumentSemantic.Assign)] + BETextDocumentRequestOptions Options { get; set; } + + [Export ("surroundingGranularity", ArgumentSemantic.Assign)] + UITextGranularity SurroundingGranularity { get; set; } + + [Export ("granularityCount")] + nint GranularityCount { get; set; } + } + + [NoWatch, TV (17, 4), NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BETextDocumentContext + { + [Export ("initWithSelectedText:contextBefore:contextAfter:markedText:selectedRangeInMarkedText:")] + NativeHandle Constructor ([NullAllowed] string selectedText, [NullAllowed] string contextBefore, [NullAllowed] string contextAfter, [NullAllowed] string markedText, NSRange selectedRangeInMarkedText); + + [Export ("initWithAttributedSelectedText:contextBefore:contextAfter:markedText:selectedRangeInMarkedText:")] + NativeHandle Constructor ([NullAllowed] NSAttributedString selectedText, [NullAllowed] NSAttributedString contextBefore, [NullAllowed] NSAttributedString contextAfter, [NullAllowed] NSAttributedString markedText, NSRange selectedRangeInMarkedText); + + [Export ("addTextRect:forCharacterRange:")] + void AddTextRect (CGRect rect, NSRange range); + + [Export ("autocorrectedRanges", ArgumentSemantic.Copy)] + NSValue[] AutocorrectedRanges { get; set; } + } + + [NoWatch, NoTV, Mac (14,3), iOS (17,4), MacCatalyst (17, 4)] + [Protocol (BackwardsCompatibleCodeGeneration = false)] + interface BEProcessCapabilityGrant + { + [Abstract] + [Export ("invalidate")] + bool Invalidate (); + + [Abstract] + [Export ("valid")] + bool Valid { [Bind ("isValid")] get; } + } + + interface IBEProcessCapabilityGrant {} + + [NoWatch, NoTV, NoMac, iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BEMediaEnvironment + { + [Export ("initWithWebPageURL:")] + [DesignatedInitializer] + NativeHandle Constructor (NSUrl url); + + [Export ("initWithXPCRepresentation:error:")] + NativeHandle Constructor (OS_xpc_object xpcRepresentation, [NullAllowed] out NSError error); + + [Export ("createXPCRepresentation")] + OS_xpc_object CreateXpcRepresentation (); + + [Export ("activateWithError:")] + bool Activate ([NullAllowed] out NSError error); + + [Export ("suspendWithError:")] + bool Suspend ([NullAllowed] out NSError error); + + [Export ("makeCaptureSessionWithError:")] + [return: NullAllowed] + AVCaptureSession MakeCaptureSession ([NullAllowed] out NSError error); + } + + [NoWatch, NoTV, Mac (14,3), iOS (17,4), MacCatalyst (17, 4)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BEProcessCapability + { + [NoMac] + [Static] + [Export ("mediaPlaybackAndCaptureWithEnvironment:")] + BEProcessCapability CreateMediaPlaybackAndCaptureProcess (BEMediaEnvironment environment); + + [Static] + [Export ("background")] + BEProcessCapability CreateBackground (); + + [Static] + [Export ("foreground")] + BEProcessCapability CreateForeground (); + + [Static] + [Export ("suspended")] + BEProcessCapability CreateSuspended (); + + [Export ("requestWithError:")] + IBEProcessCapabilityGrant Request ([NullAllowed] out NSError error); + } + + [NoWatch, TV (17, 5), Mac (14, 5), iOS (17,5), MacCatalyst (17, 5)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface BEWebAppManifest + { + [Export ("initWithJSONData:manifestURL:")] + [DesignatedInitializer] + NativeHandle Constructor (NSData jsonData, NSUrl manifestUrl); + + [Export ("jsonData", ArgumentSemantic.Copy)] + NSData JsonData { get; } + + [Export ("manifestURL", ArgumentSemantic.Copy)] + NSUrl ManifestUrl { get; } + } + + [NoWatch, TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] + [Native] + public enum BEAccessibilityPressedState : long + { + Undefined = 0, + False, + True, + Mixed, + } + + [Flags] + [NoWatch, TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] + [Native] + public enum BEAccessibilityContainerType : ulong + { + None = 0x0, + Landmark = 1uL << 0, + Table = 1uL << 1, + List = 1uL << 2, + Fieldset = 1uL << 3, + Dialog = 1uL << 4, + Tree = 1uL << 5, + Frame = 1uL << 6, + Article = 1uL << 7, + SemanticGroup = 1uL << 8, + ScrollArea = 1uL << 9, + Alert = 1uL << 10, + DescriptionList = 1uL << 11, + } + + [NoWatch, TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] + [Category] + [BaseType (typeof (NSObject))] + interface NSObject_BEAccessibility + { + [Export ("browserAccessibilityCurrentStatus")] + [return: NullAllowed] + string GetBrowserAccessibilityCurrentStatus (); + + [Export ("setBrowserAccessibilityCurrentStatus:")] + void SetBrowserAccessibilityCurrentStatus ([NullAllowed] string value); + + [Export ("browserAccessibilitySortDirection")] + [return: NullAllowed] + string GetBrowserAccessibilitySortDirection (); + + [Export ("setBrowserAccessibilitySortDirection:")] + void SetBrowserAccessibilitySortDirection ([NullAllowed] string value); + + [return: NullAllowed] + [Export ("browserAccessibilityRoleDescription")] + string GetBrowserAccessibilityRoleDescription (); + + [Export ("setBrowserAccessibilityRoleDescription:")] + void SetBrowserAccessibilityRoleDescription ([NullAllowed] string value); + + [Export ("browserAccessibilityIsRequired")] + bool GetBrowserAccessibilityIsRequired (); + + [Export ("setBrowserAccessibilityIsRequired:")] + void SetBrowserAccessibilityIsRequired (bool value); + + [Export ("browserAccessibilityPressedState")] + BEAccessibilityPressedState GetBrowserAccessibilityPressedState (); + + [Export ("setBrowserAccessibilityPressedState:")] + void SetBrowserAccessibilityPressedState (BEAccessibilityPressedState value); + + [Export ("browserAccessibilityHasDOMFocus")] + bool GetBrowserAccessibilityHasDomFocus (); + + [Export ("setBrowserAccessibilityHasDOMFocus:")] + void SetBrowserAccessibilityHasDomFocus (bool value); + + [Export ("browserAccessibilityContainerType")] + BEAccessibilityContainerType GetBrowserAccessibilityContainerType (); + + [Export ("setBrowserAccessibilityContainerType:")] + void SetBrowserAccessibilityContainerType (BEAccessibilityContainerType value); + + [Export ("browserAccessibilitySelectedTextRange")] + NSRange GetBrowserAccessibilitySelectedTextRange (); + + [Export ("browserAccessibilitySetSelectedTextRange:")] + void SetBrowserAccessibilitySelectedTextRange (NSRange range); + + [Export ("browserAccessibilityValueInRange:")] + string GetBrowserAccessibilityValue (NSRange range); + + [Export ("browserAccessibilityAttributedValueInRange:")] + NSAttributedString GetBrowserAccessibilityAttributedValue (NSRange range); + + [Export ("browserAccessibilityInsertTextAtCursor:")] + void BrowserAccessibilityInsertTextAtCursor (string text); + + [Export ("browserAccessibilityDeleteTextAtCursor:")] + void BrowserAccessibilityDeleteTextAtCursor (nint numberOfCharacters); + } + + [BackingFieldType (typeof (ulong))] + [iOS (18, 0), TV (18, 0), MacCatalyst (18, 0), NoMac, MacCatalyst (18, 0)] + public enum BEAccessibilityTrait : long { + [Field ("BEAccessibilityTraitMenuItem")] + MenuItem, + + [Field ("BEAccessibilityTraitPopUpButton")] + PopUpButton, + + [Field ("BEAccessibilityTraitRadioButton")] + RadioButton, + + [Field ("BEAccessibilityTraitReadOnly")] + ReadOnly, + + [Field ("BEAccessibilityTraitVisited")] + Visited, + } + + [BackingFieldType (typeof (uint))] + [iOS (18, 0), TV (18, 0), MacCatalyst (18, 0), NoMac, MacCatalyst (18, 0)] + public enum BEAccessibilityNotification : long { + [Field ("BEAccessibilitySelectionChangedNotification")] + SelectionChanged, + + [Field ("BEAccessibilityValueChangedNotification")] + Changed, + } +} +#endif diff --git a/src/build/generator-frameworks.g.cs b/src/build/generator-frameworks.g.cs index 59eecc85ad3a..24ae5a0aea95 100644 --- a/src/build/generator-frameworks.g.cs +++ b/src/build/generator-frameworks.g.cs @@ -24,6 +24,7 @@ partial class Frameworks { "AVRouting", "BackgroundAssets", "BackgroundTasks", + "BrowserEngineKit", "BusinessChat", "CallKit", "CarPlay", @@ -165,6 +166,7 @@ partial class Frameworks { "AVKit", "AVRouting", "BackgroundAssets", + "BrowserEngineKit", "BusinessChat", "CallKit", "CFNetwork", @@ -357,6 +359,7 @@ partial class Frameworks { "AVFoundation", "AVKit", "BackgroundTasks", + "BrowserEngineKit", "CFNetwork", "Chip", "Cinematic", @@ -585,6 +588,7 @@ partial class Frameworks { bool? _AVRouting; bool? _BackgroundAssets; bool? _BackgroundTasks; + bool? _BrowserEngineKit; bool? _BusinessChat; bool? _CallKit; bool? _CarPlay; @@ -757,6 +761,7 @@ partial class Frameworks { public bool HaveAVRouting { get { if (!_AVRouting.HasValue) _AVRouting = GetValue ("AVRouting"); return _AVRouting.Value; } } public bool HaveBackgroundAssets { get { if (!_BackgroundAssets.HasValue) _BackgroundAssets = GetValue ("BackgroundAssets"); return _BackgroundAssets.Value; } } public bool HaveBackgroundTasks { get { if (!_BackgroundTasks.HasValue) _BackgroundTasks = GetValue ("BackgroundTasks"); return _BackgroundTasks.Value; } } + public bool HaveBrowserEngineKit { get { if (!_BrowserEngineKit.HasValue) _BrowserEngineKit = GetValue ("BrowserEngineKit"); return _BrowserEngineKit.Value; } } public bool HaveBusinessChat { get { if (!_BusinessChat.HasValue) _BusinessChat = GetValue ("BusinessChat"); return _BusinessChat.Value; } } public bool HaveCallKit { get { if (!_CallKit.HasValue) _CallKit = GetValue ("CallKit"); return _CallKit.Value; } } public bool HaveCarPlay { get { if (!_CarPlay.HasValue) _CarPlay = GetValue ("CarPlay"); return _CarPlay.Value; } } diff --git a/src/frameworks.sources b/src/frameworks.sources index 9a9213695d11..b0d1ef299579 100644 --- a/src/frameworks.sources +++ b/src/frameworks.sources @@ -320,6 +320,11 @@ BACKGROUNDTASKS_API_SOURCES = \ BACKGROUNDASSETS_SOURCES = \ BackgroundAssets/BACompat.cs \ +# BrowserEngineKit + +BROWSERENGINEKIT_CORE_SOURCES = \ + BrowserEngineKit/BEStructs.cs \ + # BusinessChat BUSINESSCHAT_API_SOURCES = \ @@ -2116,6 +2121,7 @@ MACOS_FRAMEWORKS = \ AVRouting \ BusinessChat \ BackgroundAssets \ + BrowserEngineKit \ CallKit \ CFNetwork \ Chip \ @@ -2234,6 +2240,7 @@ IOS_FRAMEWORKS = \ AutomaticAssessmentConfiguration \ BackgroundAssets \ BackgroundTasks \ + BrowserEngineKit \ BusinessChat \ CallKit \ CarPlay \ @@ -2373,6 +2380,7 @@ TVOS_FRAMEWORKS = \ AudioToolbox \ AudioUnit \ BackgroundTasks \ + BrowserEngineKit \ CFNetwork \ Chip \ Cinematic \ diff --git a/src/rsp/dotnet/ios-defines-dotnet.rsp b/src/rsp/dotnet/ios-defines-dotnet.rsp index 09a466f58490..456bee4a8e88 100644 --- a/src/rsp/dotnet/ios-defines-dotnet.rsp +++ b/src/rsp/dotnet/ios-defines-dotnet.rsp @@ -19,6 +19,7 @@ -d:HAS_AVROUTING -d:HAS_BACKGROUNDASSETS -d:HAS_BACKGROUNDTASKS +-d:HAS_BROWSERENGINEKIT -d:HAS_BUSINESSCHAT -d:HAS_CALLKIT -d:HAS_CARPLAY diff --git a/src/rsp/dotnet/macos-defines-dotnet.rsp b/src/rsp/dotnet/macos-defines-dotnet.rsp index de5a7ab28585..2c5448bed9e3 100644 --- a/src/rsp/dotnet/macos-defines-dotnet.rsp +++ b/src/rsp/dotnet/macos-defines-dotnet.rsp @@ -13,6 +13,7 @@ -d:HAS_AVKIT -d:HAS_AVROUTING -d:HAS_BACKGROUNDASSETS +-d:HAS_BROWSERENGINEKIT -d:HAS_BUSINESSCHAT -d:HAS_CALLKIT -d:HAS_CFNETWORK diff --git a/src/rsp/dotnet/tvos-defines-dotnet.rsp b/src/rsp/dotnet/tvos-defines-dotnet.rsp index 86582255d00a..c79cbe2115c8 100644 --- a/src/rsp/dotnet/tvos-defines-dotnet.rsp +++ b/src/rsp/dotnet/tvos-defines-dotnet.rsp @@ -8,6 +8,7 @@ -d:HAS_AVFOUNDATION -d:HAS_AVKIT -d:HAS_BACKGROUNDTASKS +-d:HAS_BROWSERENGINEKIT -d:HAS_CFNETWORK -d:HAS_CINEMATIC -d:HAS_CLOUDKIT diff --git a/src/rsp/ios-defines.rsp b/src/rsp/ios-defines.rsp index ffcd3a042ac4..14300db0cec6 100644 --- a/src/rsp/ios-defines.rsp +++ b/src/rsp/ios-defines.rsp @@ -19,6 +19,7 @@ -d:HAS_AVROUTING -d:HAS_BACKGROUNDASSETS -d:HAS_BACKGROUNDTASKS +-d:HAS_BROWSERENGINEKIT -d:HAS_BUSINESSCHAT -d:HAS_CALLKIT -d:HAS_CARPLAY diff --git a/src/rsp/macos-defines.rsp b/src/rsp/macos-defines.rsp index 1dbdf92e966d..0a7fbd5a7853 100644 --- a/src/rsp/macos-defines.rsp +++ b/src/rsp/macos-defines.rsp @@ -13,6 +13,7 @@ -d:HAS_AVKIT -d:HAS_AVROUTING -d:HAS_BACKGROUNDASSETS +-d:HAS_BROWSERENGINEKIT -d:HAS_BUSINESSCHAT -d:HAS_CALLKIT -d:HAS_CFNETWORK diff --git a/src/rsp/tvos-defines.rsp b/src/rsp/tvos-defines.rsp index 176d3c53fb11..b89c94bcbfe8 100644 --- a/src/rsp/tvos-defines.rsp +++ b/src/rsp/tvos-defines.rsp @@ -8,6 +8,7 @@ -d:HAS_AVFOUNDATION -d:HAS_AVKIT -d:HAS_BACKGROUNDTASKS +-d:HAS_BROWSERENGINEKIT -d:HAS_CFNETWORK -d:HAS_CHIP -d:HAS_CINEMATIC diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 983026462ad1..90e38c952af7 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -5709,6 +5709,69 @@ F:BackgroundAssets.BAErrorCode.SessionDownloadNotPermittedBeforeAppLaunch F:BackgroundTasks.BGTaskSchedulerErrorCode.NotPermitted F:BackgroundTasks.BGTaskSchedulerErrorCode.TooManyPendingTaskRequests F:BackgroundTasks.BGTaskSchedulerErrorCode.Unavailable +F:BrowserEngineKit.BEAccessibilityContainerType.Alert +F:BrowserEngineKit.BEAccessibilityContainerType.Article +F:BrowserEngineKit.BEAccessibilityContainerType.DescriptionList +F:BrowserEngineKit.BEAccessibilityContainerType.Dialog +F:BrowserEngineKit.BEAccessibilityContainerType.Fieldset +F:BrowserEngineKit.BEAccessibilityContainerType.Frame +F:BrowserEngineKit.BEAccessibilityContainerType.Landmark +F:BrowserEngineKit.BEAccessibilityContainerType.List +F:BrowserEngineKit.BEAccessibilityContainerType.None +F:BrowserEngineKit.BEAccessibilityContainerType.ScrollArea +F:BrowserEngineKit.BEAccessibilityContainerType.SemanticGroup +F:BrowserEngineKit.BEAccessibilityContainerType.Table +F:BrowserEngineKit.BEAccessibilityContainerType.Tree +F:BrowserEngineKit.BEAccessibilityNotification.Changed +F:BrowserEngineKit.BEAccessibilityNotification.SelectionChanged +F:BrowserEngineKit.BEAccessibilityPressedState.False +F:BrowserEngineKit.BEAccessibilityPressedState.Mixed +F:BrowserEngineKit.BEAccessibilityPressedState.True +F:BrowserEngineKit.BEAccessibilityPressedState.Undefined +F:BrowserEngineKit.BEAccessibilityTrait.MenuItem +F:BrowserEngineKit.BEAccessibilityTrait.PopUpButton +F:BrowserEngineKit.BEAccessibilityTrait.RadioButton +F:BrowserEngineKit.BEAccessibilityTrait.ReadOnly +F:BrowserEngineKit.BEAccessibilityTrait.Visited +F:BrowserEngineKit.BEDirectionalTextRange.Length +F:BrowserEngineKit.BEDirectionalTextRange.Offset +F:BrowserEngineKit.BEGestureType.DoubleTap +F:BrowserEngineKit.BEGestureType.DoubleTapAndHold +F:BrowserEngineKit.BEGestureType.ForceTouch +F:BrowserEngineKit.BEGestureType.IMPhraseBoundaryDrag +F:BrowserEngineKit.BEGestureType.Loupe +F:BrowserEngineKit.BEGestureType.OneFingerDoubleTap +F:BrowserEngineKit.BEGestureType.OneFingerTap +F:BrowserEngineKit.BEGestureType.OneFingerTripleTap +F:BrowserEngineKit.BEGestureType.TwoFingerRangedSelectGesture +F:BrowserEngineKit.BEGestureType.TwoFingerSingleTap +F:BrowserEngineKit.BEKeyModifierFlags.CapsLock +F:BrowserEngineKit.BEKeyModifierFlags.None +F:BrowserEngineKit.BEKeyModifierFlags.Shift +F:BrowserEngineKit.BEKeyPressState.Down +F:BrowserEngineKit.BEKeyPressState.Up +F:BrowserEngineKit.BEScrollViewScrollUpdatePhase.Began +F:BrowserEngineKit.BEScrollViewScrollUpdatePhase.Cancelled +F:BrowserEngineKit.BEScrollViewScrollUpdatePhase.Changed +F:BrowserEngineKit.BEScrollViewScrollUpdatePhase.Ended +F:BrowserEngineKit.BESelectionFlags.None +F:BrowserEngineKit.BESelectionFlags.PhraseBoundaryChanged +F:BrowserEngineKit.BESelectionFlags.SelectionFlipped +F:BrowserEngineKit.BESelectionFlags.WordIsNearTap +F:BrowserEngineKit.BESelectionTouchPhase.Ended +F:BrowserEngineKit.BESelectionTouchPhase.EndedMovingBackward +F:BrowserEngineKit.BESelectionTouchPhase.EndedMovingForward +F:BrowserEngineKit.BESelectionTouchPhase.EndedNotMoving +F:BrowserEngineKit.BESelectionTouchPhase.Moved +F:BrowserEngineKit.BESelectionTouchPhase.Started +F:BrowserEngineKit.BETextDocumentRequestOptions.AttributedText +F:BrowserEngineKit.BETextDocumentRequestOptions.AutocorrectedRanges +F:BrowserEngineKit.BETextDocumentRequestOptions.MarkedTextRects +F:BrowserEngineKit.BETextDocumentRequestOptions.None +F:BrowserEngineKit.BETextDocumentRequestOptions.Text +F:BrowserEngineKit.BETextDocumentRequestOptions.TextRects +F:BrowserEngineKit.BETextReplacementOptions.AddUnderline +F:BrowserEngineKit.BETextReplacementOptions.None F:BusinessChat.BCChatButtonStyle.Dark F:BusinessChat.BCChatButtonStyle.Light F:BusinessChat.BCParameterName.Body @@ -16149,6 +16212,7 @@ F:ObjCRuntime.Constants.AVKitLibrary F:ObjCRuntime.Constants.AVRoutingLibrary F:ObjCRuntime.Constants.BackgroundAssetsLibrary F:ObjCRuntime.Constants.BackgroundTasksLibrary +F:ObjCRuntime.Constants.BrowserEngineKitLibrary F:ObjCRuntime.Constants.BusinessChatLibrary F:ObjCRuntime.Constants.CallKitLibrary F:ObjCRuntime.Constants.CarPlayLibrary @@ -28229,6 +28293,182 @@ M:BackgroundTasks.BGTaskScheduler.GetPending(System.Action{BackgroundTasks.BGTas M:BackgroundTasks.BGTaskScheduler.GetPendingAsync M:BackgroundTasks.BGTaskScheduler.Register(System.String,CoreFoundation.DispatchQueue,System.Action{BackgroundTasks.BGTask}) M:BackgroundTasks.BGTaskScheduler.Submit(BackgroundTasks.BGTaskRequest,Foundation.NSError@) +M:BrowserEngineKit.BEContextMenuConfiguration.#ctor +M:BrowserEngineKit.BEContextMenuConfiguration.Fulfill(UIKit.UIContextMenuConfiguration) +M:BrowserEngineKit.BEDragInteraction.#ctor(BrowserEngineKit.IBEDragInteractionDelegate) +M:BrowserEngineKit.BEDragInteraction.Dispose(System.Boolean) +M:BrowserEngineKit.BEDragInteractionDelegate.GetDragItems(BrowserEngineKit.BEDragInteraction,UIKit.IUIDragSession,CoreGraphics.CGPoint,BrowserEngineKit.BEDragInteractionDelegateGetDragItemsCallback) +M:BrowserEngineKit.BEDragInteractionDelegate.PrepareDragSession(BrowserEngineKit.BEDragInteraction,UIKit.IUIDragSession,System.Func{System.Boolean}) +M:BrowserEngineKit.BEKeyEntryContext.#ctor(BrowserEngineKit.BEKeyEntry) +M:BrowserEngineKit.BELayerHierarchy.Create(Foundation.NSError@) +M:BrowserEngineKit.BELayerHierarchy.Invalidate +M:BrowserEngineKit.BELayerHierarchyHandle.Create(Foundation.NSObject,Foundation.NSError@) +M:BrowserEngineKit.BELayerHierarchyHandle.CreateXpcRepresentation +M:BrowserEngineKit.BELayerHierarchyHandle.EncodeTo(Foundation.NSCoder) +M:BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator.Add(BrowserEngineKit.BELayerHierarchy) +M:BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator.Add(BrowserEngineKit.BELayerHierarchyHostingView) +M:BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator.Commit +M:BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator.Create(Foundation.NSError@) +M:BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator.Create(Foundation.NSObject,Foundation.NSError@) +M:BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator.CreateXpcRepresentation +M:BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator.EncodeTo(Foundation.NSCoder) +M:BrowserEngineKit.BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance.#ctor(System.IntPtr) +M:BrowserEngineKit.BEMediaEnvironment.#ctor(Foundation.NSObject,Foundation.NSError@) +M:BrowserEngineKit.BEMediaEnvironment.#ctor(Foundation.NSUrl) +M:BrowserEngineKit.BEMediaEnvironment.Activate(Foundation.NSError@) +M:BrowserEngineKit.BEMediaEnvironment.CreateXpcRepresentation +M:BrowserEngineKit.BEMediaEnvironment.MakeCaptureSession(Foundation.NSError@) +M:BrowserEngineKit.BEMediaEnvironment.Suspend(Foundation.NSError@) +M:BrowserEngineKit.BENetworkingProcess.Create(System.Action,BrowserEngineKit.BENetworkingProcessCreateCallback) +M:BrowserEngineKit.BENetworkingProcess.GrantCapability(BrowserEngineKit.BEProcessCapability,Foundation.NSError@,System.Action) +M:BrowserEngineKit.BENetworkingProcess.GrantCapability(BrowserEngineKit.BEProcessCapability,Foundation.NSError@) +M:BrowserEngineKit.BENetworkingProcess.Invalidate +M:BrowserEngineKit.BENetworkingProcess.MakeLibXpcConnection(Foundation.NSError@) +M:BrowserEngineKit.BEProcessCapability.CreateBackground +M:BrowserEngineKit.BEProcessCapability.CreateForeground +M:BrowserEngineKit.BEProcessCapability.CreateMediaPlaybackAndCaptureProcess(BrowserEngineKit.BEMediaEnvironment) +M:BrowserEngineKit.BEProcessCapability.CreateSuspended +M:BrowserEngineKit.BEProcessCapability.Request(Foundation.NSError@) +M:BrowserEngineKit.BERenderingProcess.Create(System.Action,BrowserEngineKit.BERenderingProcessCreateCallback) +M:BrowserEngineKit.BERenderingProcess.CreateVisibilityPropagationInteraction +M:BrowserEngineKit.BERenderingProcess.GrantCapability(BrowserEngineKit.BEProcessCapability,Foundation.NSError@,System.Action) +M:BrowserEngineKit.BERenderingProcess.GrantCapability(BrowserEngineKit.BEProcessCapability,Foundation.NSError@) +M:BrowserEngineKit.BERenderingProcess.Invalidate +M:BrowserEngineKit.BERenderingProcess.MakeLibXpcConnection(Foundation.NSError@) +M:BrowserEngineKit.BEScrollView.BEScrollViewAppearance.#ctor(System.IntPtr) +M:BrowserEngineKit.BEScrollView.Dispose(System.Boolean) +M:BrowserEngineKit.BEScrollViewDelegate.GetParentScrollView(BrowserEngineKit.BEScrollView) +M:BrowserEngineKit.BEScrollViewDelegate.HandleScrollUpdate(BrowserEngineKit.BEScrollView,BrowserEngineKit.BEScrollViewScrollUpdate,System.Action{System.Boolean}) +M:BrowserEngineKit.BEScrollViewScrollUpdate.GetLocation(UIKit.UIView) +M:BrowserEngineKit.BEScrollViewScrollUpdate.GetTranslation(UIKit.UIView) +M:BrowserEngineKit.BETextDocumentContext.#ctor(Foundation.NSAttributedString,Foundation.NSAttributedString,Foundation.NSAttributedString,Foundation.NSAttributedString,Foundation.NSRange) +M:BrowserEngineKit.BETextDocumentContext.#ctor(System.String,System.String,System.String,System.String,Foundation.NSRange) +M:BrowserEngineKit.BETextDocumentContext.AddTextRect(CoreGraphics.CGRect,Foundation.NSRange) +M:BrowserEngineKit.BETextInputDelegate.DeferReplaceTextActionToSystem(BrowserEngineKit.IBETextInput,Foundation.NSObject) +M:BrowserEngineKit.BETextInputDelegate.InvalidateTextEntryContext(BrowserEngineKit.IBETextInput) +M:BrowserEngineKit.BETextInputDelegate.SelectionDidChange(BrowserEngineKit.IBETextInput) +M:BrowserEngineKit.BETextInputDelegate.SelectionWillChange(BrowserEngineKit.IBETextInput) +M:BrowserEngineKit.BETextInputDelegate.SetCandidateSuggestions(BrowserEngineKit.IBETextInput,BrowserEngineKit.BETextSuggestion[]) +M:BrowserEngineKit.BETextInputDelegate.ShouldDeferEventHandlingToSystem(BrowserEngineKit.IBETextInput,BrowserEngineKit.BEKeyEntryContext) +M:BrowserEngineKit.BETextInteraction.AddShortcut(System.String,CoreGraphics.CGRect) +M:BrowserEngineKit.BETextInteraction.DidMoveToView(UIKit.UIView) +M:BrowserEngineKit.BETextInteraction.DismissEditMenuForSelection +M:BrowserEngineKit.BETextInteraction.Dispose(System.Boolean) +M:BrowserEngineKit.BETextInteraction.EditabilityChanged +M:BrowserEngineKit.BETextInteraction.PresentEditMenuForSelection +M:BrowserEngineKit.BETextInteraction.RefreshKeyboardUI +M:BrowserEngineKit.BETextInteraction.SelectionBoundaryAdjusted(CoreGraphics.CGPoint,BrowserEngineKit.BESelectionTouchPhase,BrowserEngineKit.BESelectionFlags) +M:BrowserEngineKit.BETextInteraction.SelectionChangedWithGesture(CoreGraphics.CGPoint,BrowserEngineKit.BEGestureType,UIKit.UIGestureRecognizerState,BrowserEngineKit.BESelectionFlags) +M:BrowserEngineKit.BETextInteraction.Share(System.String,CoreGraphics.CGRect) +M:BrowserEngineKit.BETextInteraction.ShowDictionary(System.String,Foundation.NSRange,CoreGraphics.CGRect) +M:BrowserEngineKit.BETextInteraction.ShowReplacements(System.String) +M:BrowserEngineKit.BETextInteraction.Translate(System.String,CoreGraphics.CGRect) +M:BrowserEngineKit.BETextInteraction.TransliterateChinese(System.String) +M:BrowserEngineKit.BETextInteraction.WillMoveToView(UIKit.UIView) +M:BrowserEngineKit.BETextInteractionDelegate.SystemDidChangeSelection(BrowserEngineKit.BETextInteraction) +M:BrowserEngineKit.BETextInteractionDelegate.SystemWillChangeSelection(BrowserEngineKit.BETextInteraction) +M:BrowserEngineKit.BETextSuggestion.#ctor(System.String) +M:BrowserEngineKit.BEWebAppManifest.#ctor(Foundation.NSData,Foundation.NSUrl) +M:BrowserEngineKit.BEWebContentProcess.Create(System.Action,BrowserEngineKit.BEWebContentProcessCreateCallback) +M:BrowserEngineKit.BEWebContentProcess.CreateVisibilityPropagationInteraction +M:BrowserEngineKit.BEWebContentProcess.GrantCapability(BrowserEngineKit.BEProcessCapability,Foundation.NSError@,System.Action) +M:BrowserEngineKit.BEWebContentProcess.GrantCapability(BrowserEngineKit.BEProcessCapability,Foundation.NSError@) +M:BrowserEngineKit.BEWebContentProcess.Invalidate +M:BrowserEngineKit.BEWebContentProcess.MakeLibXpcConnection(Foundation.NSError@) +M:BrowserEngineKit.IBEDragInteractionDelegate.GetDragItems(BrowserEngineKit.BEDragInteraction,UIKit.IUIDragSession,CoreGraphics.CGPoint,BrowserEngineKit.BEDragInteractionDelegateGetDragItemsCallback) +M:BrowserEngineKit.IBEDragInteractionDelegate.PrepareDragSession(BrowserEngineKit.BEDragInteraction,UIKit.IUIDragSession,System.Func{System.Boolean}) +M:BrowserEngineKit.IBEProcessCapabilityGrant.Invalidate +M:BrowserEngineKit.IBEResponderEditActions.AddShortcut(Foundation.NSObject) +M:BrowserEngineKit.IBEResponderEditActions.FindSelected(Foundation.NSObject) +M:BrowserEngineKit.IBEResponderEditActions.Lookup(Foundation.NSObject) +M:BrowserEngineKit.IBEResponderEditActions.PromptForReplace(Foundation.NSObject) +M:BrowserEngineKit.IBEResponderEditActions.Replace(Foundation.NSObject) +M:BrowserEngineKit.IBEResponderEditActions.Share(Foundation.NSObject) +M:BrowserEngineKit.IBEResponderEditActions.Translate(Foundation.NSObject) +M:BrowserEngineKit.IBEResponderEditActions.TransliterateChinese(Foundation.NSObject) +M:BrowserEngineKit.IBEScrollViewDelegate.GetParentScrollView(BrowserEngineKit.BEScrollView) +M:BrowserEngineKit.IBEScrollViewDelegate.HandleScrollUpdate(BrowserEngineKit.BEScrollView,BrowserEngineKit.BEScrollViewScrollUpdate,System.Action{System.Boolean}) +M:BrowserEngineKit.IBETextInput.AddTextAlternatives(BrowserEngineKit.BETextAlternatives) +M:BrowserEngineKit.IBETextInput.AdjustSelection(BrowserEngineKit.BEDirectionalTextRange,System.Action) +M:BrowserEngineKit.IBETextInput.AdjustSelectionBoundary(CoreGraphics.CGPoint,BrowserEngineKit.BESelectionTouchPhase,System.Boolean,BrowserEngineKit.BESelectionFlags) +M:BrowserEngineKit.IBETextInput.Autoscroll(CoreGraphics.CGPoint) +M:BrowserEngineKit.IBETextInput.CancelAutoscroll +M:BrowserEngineKit.IBETextInput.CanPerformAction(ObjCRuntime.Selector,Foundation.NSObject) +M:BrowserEngineKit.IBETextInput.Delete(UIKit.UITextStorageDirection,UIKit.UITextGranularity) +M:BrowserEngineKit.IBETextInput.DidInsertFinalDictationResult +M:BrowserEngineKit.IBETextInput.GetAlternativesForSelectedText +M:BrowserEngineKit.IBETextInput.GetCaretRect(UIKit.UITextPosition) +M:BrowserEngineKit.IBETextInput.GetOffset(UIKit.UITextPosition,UIKit.UITextPosition) +M:BrowserEngineKit.IBETextInput.GetSelectionRects(UIKit.UITextRange) +M:BrowserEngineKit.IBETextInput.GetText(UIKit.UITextRange) +M:BrowserEngineKit.IBETextInput.GetTextStyling(UIKit.UITextPosition,UIKit.UITextStorageDirection) +M:BrowserEngineKit.IBETextInput.HandleKeyEntry(BrowserEngineKit.BEKeyEntry,BrowserEngineKit.BETextInputHandleKeyEntryCallback) +M:BrowserEngineKit.IBETextInput.InsertTextAlternatives(BrowserEngineKit.BETextAlternatives) +M:BrowserEngineKit.IBETextInput.InsertTextPlaceholder(CoreGraphics.CGSize,System.Action{UIKit.UITextPlaceholder}) +M:BrowserEngineKit.IBETextInput.InsertTextSuggestion(BrowserEngineKit.BETextSuggestion) +M:BrowserEngineKit.IBETextInput.IsPointNearMarkedText(CoreGraphics.CGPoint) +M:BrowserEngineKit.IBETextInput.KeyboardWillDismiss +M:BrowserEngineKit.IBETextInput.Move(System.IntPtr) +M:BrowserEngineKit.IBETextInput.MoveSelectionAtBoundary(UIKit.UITextGranularity,UIKit.UITextStorageDirection,System.Action) +M:BrowserEngineKit.IBETextInput.RemoveTextAlternatives +M:BrowserEngineKit.IBETextInput.RemoveTextPlaceholder(UIKit.UITextPlaceholder,System.Boolean,System.Action) +M:BrowserEngineKit.IBETextInput.ReplaceDictatedText(System.String,System.String) +M:BrowserEngineKit.IBETextInput.ReplaceSelectedText(System.String,System.String) +M:BrowserEngineKit.IBETextInput.ReplaceText(System.String,System.String,BrowserEngineKit.BETextReplacementOptions,BrowserEngineKit.BETextInputReplaceTextCallback) +M:BrowserEngineKit.IBETextInput.RequestDocumentContext(BrowserEngineKit.BETextDocumentRequest,System.Action{BrowserEngineKit.BETextDocumentContext}) +M:BrowserEngineKit.IBETextInput.RequestPreferredArrowDirectionForEditMenuWithCompletionHandler(System.Action{UIKit.UIEditMenuArrowDirection}) +M:BrowserEngineKit.IBETextInput.RequestTextContextForAutocorrection(BrowserEngineKit.BETextInputRequestTextContextForAutocorrectionCallback) +M:BrowserEngineKit.IBETextInput.RequestTextRects(System.String,BrowserEngineKit.BETextInputRequestTextRectsCallback) +M:BrowserEngineKit.IBETextInput.SelectPosition(CoreGraphics.CGPoint,BrowserEngineKit.BETextDocumentRequest,System.Action{BrowserEngineKit.BETextDocumentContext}) +M:BrowserEngineKit.IBETextInput.SelectPosition(CoreGraphics.CGPoint,System.Action) +M:BrowserEngineKit.IBETextInput.SelectText(UIKit.UITextGranularity,CoreGraphics.CGPoint,System.Action) +M:BrowserEngineKit.IBETextInput.SelectTextForEditMenu(CoreGraphics.CGPoint,System.Action{System.Boolean,Foundation.NSString,Foundation.NSRange}) +M:BrowserEngineKit.IBETextInput.SelectWordForReplacement +M:BrowserEngineKit.IBETextInput.SetAttributedMarkedText(Foundation.NSAttributedString,Foundation.NSRange) +M:BrowserEngineKit.IBETextInput.SetBaseWritingDirection(Foundation.NSWritingDirection,UIKit.UITextRange) +M:BrowserEngineKit.IBETextInput.SetMarkedText(System.String,Foundation.NSRange) +M:BrowserEngineKit.IBETextInput.SetSelection(CoreGraphics.CGPoint,CoreGraphics.CGPoint,BrowserEngineKit.BEGestureType,UIKit.UIGestureRecognizerState) +M:BrowserEngineKit.IBETextInput.ShiftKeyStateChanged(BrowserEngineKit.BEKeyModifierFlags,BrowserEngineKit.BEKeyModifierFlags) +M:BrowserEngineKit.IBETextInput.ShouldTextInteractionGestureBeginAtPoint(BrowserEngineKit.BEGestureType,CoreGraphics.CGPoint) +M:BrowserEngineKit.IBETextInput.SystemWillDismissEditMenu(UIKit.IUIEditMenuInteractionAnimating) +M:BrowserEngineKit.IBETextInput.SystemWillPresentEditMenu(UIKit.IUIEditMenuInteractionAnimating) +M:BrowserEngineKit.IBETextInput.TransposeCharactersAroundSelection +M:BrowserEngineKit.IBETextInput.UnmarkText +M:BrowserEngineKit.IBETextInput.UpdateCurrentSelection(CoreGraphics.CGPoint,BrowserEngineKit.BEGestureType,UIKit.UIGestureRecognizerState) +M:BrowserEngineKit.IBETextInput.UpdateSelection(CoreGraphics.CGPoint,UIKit.UITextGranularity,System.Action{System.Boolean}) +M:BrowserEngineKit.IBETextInput.WillInsertFinalDictationResult +M:BrowserEngineKit.IBETextInputDelegate.DeferReplaceTextActionToSystem(BrowserEngineKit.IBETextInput,Foundation.NSObject) +M:BrowserEngineKit.IBETextInputDelegate.InvalidateTextEntryContext(BrowserEngineKit.IBETextInput) +M:BrowserEngineKit.IBETextInputDelegate.SelectionDidChange(BrowserEngineKit.IBETextInput) +M:BrowserEngineKit.IBETextInputDelegate.SelectionWillChange(BrowserEngineKit.IBETextInput) +M:BrowserEngineKit.IBETextInputDelegate.SetCandidateSuggestions(BrowserEngineKit.IBETextInput,BrowserEngineKit.BETextSuggestion[]) +M:BrowserEngineKit.IBETextInputDelegate.ShouldDeferEventHandlingToSystem(BrowserEngineKit.IBETextInput,BrowserEngineKit.BEKeyEntryContext) +M:BrowserEngineKit.IBETextInteractionDelegate.SystemDidChangeSelection(BrowserEngineKit.BETextInteraction) +M:BrowserEngineKit.IBETextInteractionDelegate.SystemWillChangeSelection(BrowserEngineKit.BETextInteraction) +M:BrowserEngineKit.IBETextSelectionDirectionNavigation.ExtendInLayoutDirection(UIKit.UITextLayoutDirection) +M:BrowserEngineKit.IBETextSelectionDirectionNavigation.ExtendInStorageDirection(UIKit.UITextStorageDirection,UIKit.UITextGranularity) +M:BrowserEngineKit.IBETextSelectionDirectionNavigation.MoveInLayoutDirection(UIKit.UITextLayoutDirection) +M:BrowserEngineKit.IBETextSelectionDirectionNavigation.MoveInStorageDirection(UIKit.UITextStorageDirection,UIKit.UITextGranularity) +M:BrowserEngineKit.NSObject_BEAccessibility.BrowserAccessibilityDeleteTextAtCursor(Foundation.NSObject,System.IntPtr) +M:BrowserEngineKit.NSObject_BEAccessibility.BrowserAccessibilityInsertTextAtCursor(Foundation.NSObject,System.String) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityAttributedValue(Foundation.NSObject,Foundation.NSRange) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityContainerType(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityCurrentStatus(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityHasDomFocus(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityIsRequired(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityPressedState(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityRoleDescription(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilitySelectedTextRange(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilitySortDirection(Foundation.NSObject) +M:BrowserEngineKit.NSObject_BEAccessibility.GetBrowserAccessibilityValue(Foundation.NSObject,Foundation.NSRange) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilityContainerType(Foundation.NSObject,BrowserEngineKit.BEAccessibilityContainerType) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilityCurrentStatus(Foundation.NSObject,System.String) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilityHasDomFocus(Foundation.NSObject,System.Boolean) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilityIsRequired(Foundation.NSObject,System.Boolean) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilityPressedState(Foundation.NSObject,BrowserEngineKit.BEAccessibilityPressedState) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilityRoleDescription(Foundation.NSObject,System.String) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilitySelectedTextRange(Foundation.NSObject,Foundation.NSRange) +M:BrowserEngineKit.NSObject_BEAccessibility.SetBrowserAccessibilitySortDirection(Foundation.NSObject,System.String) M:BusinessChat.BCChatAction.OpenTranscript(System.String,System.Collections.Generic.Dictionary{BusinessChat.BCParameterName,System.String}) M:BusinessChat.BCChatButton.#ctor(BusinessChat.BCChatButtonStyle) M:BusinessChat.BCChatButton.BCChatButtonAppearance.#ctor(System.IntPtr) @@ -59513,6 +59753,64 @@ P:BackgroundTasks.BGTask.Identifier P:BackgroundTasks.BGTaskRequest.EarliestBeginDate P:BackgroundTasks.BGTaskRequest.Identifier P:BackgroundTasks.BGTaskScheduler.Shared +P:BrowserEngineKit.BEAutoFillTextSuggestion.Contents +P:BrowserEngineKit.BEDragInteraction.Delegate +P:BrowserEngineKit.BEDragInteraction.WeakDelegate +P:BrowserEngineKit.BEKeyEntry.Key +P:BrowserEngineKit.BEKeyEntry.KeyRepeating +P:BrowserEngineKit.BEKeyEntry.State +P:BrowserEngineKit.BEKeyEntry.Timestamp +P:BrowserEngineKit.BEKeyEntryContext.DocumentEditable +P:BrowserEngineKit.BEKeyEntryContext.KeyEntry +P:BrowserEngineKit.BEKeyEntryContext.ShouldEvaluateForInputSystemHandling +P:BrowserEngineKit.BEKeyEntryContext.ShouldInsertCharacter +P:BrowserEngineKit.BELayerHierarchy.Layer +P:BrowserEngineKit.BELayerHierarchy.LayerHierarchyHandle +P:BrowserEngineKit.BELayerHierarchyHostingView.LayerHierarchyHandle +P:BrowserEngineKit.BEScrollView.Delegate +P:BrowserEngineKit.BEScrollView.WeakDelegate +P:BrowserEngineKit.BEScrollViewScrollUpdate.Phase +P:BrowserEngineKit.BEScrollViewScrollUpdate.Timestamp +P:BrowserEngineKit.BETextAlternatives.AlternativeStrings +P:BrowserEngineKit.BETextAlternatives.PrimaryString +P:BrowserEngineKit.BETextDocumentContext.AutocorrectedRanges +P:BrowserEngineKit.BETextDocumentRequest.GranularityCount +P:BrowserEngineKit.BETextDocumentRequest.Options +P:BrowserEngineKit.BETextDocumentRequest.SurroundingGranularity +P:BrowserEngineKit.BETextInteraction.ContextMenuInteraction +P:BrowserEngineKit.BETextInteraction.ContextMenuInteractionDelegate +P:BrowserEngineKit.BETextInteraction.Delegate +P:BrowserEngineKit.BETextInteraction.TextSelectionDisplayInteraction +P:BrowserEngineKit.BETextInteraction.View +P:BrowserEngineKit.BETextInteraction.WeakContextMenuInteractionDelegate +P:BrowserEngineKit.BETextInteraction.WeakDelegate +P:BrowserEngineKit.BETextSuggestion.InputText +P:BrowserEngineKit.BEWebAppManifest.JsonData +P:BrowserEngineKit.BEWebAppManifest.ManifestUrl +P:BrowserEngineKit.IBEExtendedTextInputTraits.InsertionPointColor +P:BrowserEngineKit.IBEExtendedTextInputTraits.SelectionHandleColor +P:BrowserEngineKit.IBEExtendedTextInputTraits.SelectionHighlightColor +P:BrowserEngineKit.IBEExtendedTextInputTraits.SingleLineDocument +P:BrowserEngineKit.IBEExtendedTextInputTraits.TypingAdaptationEnabled +P:BrowserEngineKit.IBEProcessCapabilityGrant.Valid +P:BrowserEngineKit.IBETextInput.AttributedMarkedText +P:BrowserEngineKit.IBETextInput.AutomaticallyPresentEditMenu +P:BrowserEngineKit.IBETextInput.Editable +P:BrowserEngineKit.IBETextInput.ExtendedTextInputTraits +P:BrowserEngineKit.IBETextInput.HasMarkedText +P:BrowserEngineKit.IBETextInput.MarkedText +P:BrowserEngineKit.IBETextInput.MarkedTextRange +P:BrowserEngineKit.IBETextInput.ReplaceAllowed +P:BrowserEngineKit.IBETextInput.SelectedText +P:BrowserEngineKit.IBETextInput.SelectedTextRange +P:BrowserEngineKit.IBETextInput.SelectionAtDocumentStart +P:BrowserEngineKit.IBETextInput.SelectionClipRect +P:BrowserEngineKit.IBETextInput.TextFirstRect +P:BrowserEngineKit.IBETextInput.TextInputView +P:BrowserEngineKit.IBETextInput.TextLastRect +P:BrowserEngineKit.IBETextInput.UnobscuredContentRect +P:BrowserEngineKit.IBETextInput.UnscaledView +P:BrowserEngineKit.IBETextInput.WeakAsyncInputDelegate P:CallKit.CXAction.Complete P:CallKit.CXAction.TimeoutDate P:CallKit.CXAction.Uuid @@ -80561,6 +80859,41 @@ T:BackgroundTasks.BGTask T:BackgroundTasks.BGTaskRequest T:BackgroundTasks.BGTaskScheduler T:BackgroundTasks.BGTaskSchedulerErrorCode +T:BrowserEngineKit.BEAccessibilityContainerType +T:BrowserEngineKit.BEAccessibilityNotification +T:BrowserEngineKit.BEAccessibilityPressedState +T:BrowserEngineKit.BEAccessibilityTrait +T:BrowserEngineKit.BEDirectionalTextRange +T:BrowserEngineKit.BEDragInteractionDelegate +T:BrowserEngineKit.BEDragInteractionDelegateGetDragItemsCallback +T:BrowserEngineKit.BEGestureType +T:BrowserEngineKit.BEKeyModifierFlags +T:BrowserEngineKit.BEKeyPressState +T:BrowserEngineKit.BENetworkingProcessCreateCallback +T:BrowserEngineKit.BERenderingProcessCreateCallback +T:BrowserEngineKit.BEScrollViewDelegate +T:BrowserEngineKit.BEScrollViewScrollUpdatePhase +T:BrowserEngineKit.BESelectionFlags +T:BrowserEngineKit.BESelectionTouchPhase +T:BrowserEngineKit.BETextDocumentRequestOptions +T:BrowserEngineKit.BETextInputDelegate +T:BrowserEngineKit.BETextInputHandleKeyEntryCallback +T:BrowserEngineKit.BETextInputReplaceTextCallback +T:BrowserEngineKit.BETextInputRequestTextContextForAutocorrectionCallback +T:BrowserEngineKit.BETextInputRequestTextRectsCallback +T:BrowserEngineKit.BETextInteractionDelegate +T:BrowserEngineKit.BETextReplacementOptions +T:BrowserEngineKit.BEWebContentProcessCreateCallback +T:BrowserEngineKit.IBEDragInteractionDelegate +T:BrowserEngineKit.IBEExtendedTextInputTraits +T:BrowserEngineKit.IBEProcessCapabilityGrant +T:BrowserEngineKit.IBEResponderEditActions +T:BrowserEngineKit.IBEScrollViewDelegate +T:BrowserEngineKit.IBETextInput +T:BrowserEngineKit.IBETextInputDelegate +T:BrowserEngineKit.IBETextInteractionDelegate +T:BrowserEngineKit.IBETextSelectionDirectionNavigation +T:BrowserEngineKit.NSObject_BEAccessibility T:BusinessChat.BCChatAction T:BusinessChat.BCChatButton T:BusinessChat.BCChatButtonStyle diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-BrowserEngineKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-BrowserEngineKit.todo deleted file mode 100644 index a33f1b8fc35e..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-BrowserEngineKit.todo +++ /dev/null @@ -1,179 +0,0 @@ -!missing-enum! BEAccessibilityContainerType not bound -!missing-enum! BEAccessibilityPressedState not bound -!missing-enum! BEGestureType not bound -!missing-enum! BEKeyModifierFlags not bound -!missing-enum! BEKeyPressState not bound -!missing-enum! BEScrollViewScrollUpdatePhase not bound -!missing-enum! BESelectionFlags not bound -!missing-enum! BESelectionTouchPhase not bound -!missing-enum! BETextDocumentRequestOptions not bound -!missing-enum! BETextReplacementOptions not bound -!missing-field! BEAccessibilityTraitMenuItem not bound -!missing-field! BEAccessibilityTraitPopUpButton not bound -!missing-field! BEAccessibilityTraitRadioButton not bound -!missing-field! BEAccessibilityTraitReadOnly not bound -!missing-field! BEAccessibilityTraitVisited not bound -!missing-protocol! BEDragInteractionDelegate not bound -!missing-protocol! BEExtendedTextInputTraits not bound -!missing-protocol! BEProcessCapabilityGrant not bound -!missing-protocol! BEResponderEditActions not bound -!missing-protocol! BEScrollViewDelegate not bound -!missing-protocol! BETextInput not bound -!missing-protocol! BETextInputDelegate not bound -!missing-protocol! BETextInteractionDelegate not bound -!missing-protocol! BETextSelectionDirectionNavigation not bound -!missing-selector! +BELayerHierarchy::layerHierarchyWithError: not bound -!missing-selector! +BELayerHierarchyHandle::handleWithXPCRepresentation:error: not bound -!missing-selector! +BELayerHierarchyHostingTransactionCoordinator::coordinatorWithError: not bound -!missing-selector! +BELayerHierarchyHostingTransactionCoordinator::coordinatorWithXPCRepresentation:error: not bound -!missing-selector! +BENetworkingProcess::networkProcessWithInterruptionHandler:completion: not bound -!missing-selector! +BEProcessCapability::background not bound -!missing-selector! +BEProcessCapability::foreground not bound -!missing-selector! +BEProcessCapability::mediaPlaybackAndCaptureWithEnvironment: not bound -!missing-selector! +BEProcessCapability::suspended not bound -!missing-selector! +BERenderingProcess::renderingProcessWithInterruptionHandler:completion: not bound -!missing-selector! +BEWebContentProcess::webContentProcessWithInterruptionHandler:completion: not bound -!missing-selector! BEAutoFillTextSuggestion::contents not bound -!missing-selector! BEContextMenuConfiguration::fulfillUsingConfiguration: not bound -!missing-selector! BEContextMenuConfiguration::init not bound -!missing-selector! BEDragInteraction::delegate not bound -!missing-selector! BEDragInteraction::initWithDelegate: not bound -!missing-selector! BEKeyEntry::isKeyRepeating not bound -!missing-selector! BEKeyEntry::key not bound -!missing-selector! BEKeyEntry::state not bound -!missing-selector! BEKeyEntry::timestamp not bound -!missing-selector! BEKeyEntryContext::initWithKeyEntry: not bound -!missing-selector! BEKeyEntryContext::isDocumentEditable not bound -!missing-selector! BEKeyEntryContext::keyEntry not bound -!missing-selector! BEKeyEntryContext::setDocumentEditable: not bound -!missing-selector! BEKeyEntryContext::setShouldEvaluateForInputSystemHandling: not bound -!missing-selector! BEKeyEntryContext::setShouldInsertCharacter: not bound -!missing-selector! BEKeyEntryContext::shouldEvaluateForInputSystemHandling not bound -!missing-selector! BEKeyEntryContext::shouldInsertCharacter not bound -!missing-selector! BELayerHierarchy::handle not bound -!missing-selector! BELayerHierarchy::invalidate not bound -!missing-selector! BELayerHierarchy::layer not bound -!missing-selector! BELayerHierarchy::setLayer: not bound -!missing-selector! BELayerHierarchyHandle::createXPCRepresentation not bound -!missing-selector! BELayerHierarchyHostingTransactionCoordinator::addLayerHierarchy: not bound -!missing-selector! BELayerHierarchyHostingTransactionCoordinator::addLayerHierarchyHostingView: not bound -!missing-selector! BELayerHierarchyHostingTransactionCoordinator::commit not bound -!missing-selector! BELayerHierarchyHostingTransactionCoordinator::createXPCRepresentation not bound -!missing-selector! BELayerHierarchyHostingView::handle not bound -!missing-selector! BELayerHierarchyHostingView::setHandle: not bound -!missing-selector! BEMediaEnvironment::activateWithError: not bound -!missing-selector! BEMediaEnvironment::createXPCRepresentation not bound -!missing-selector! BEMediaEnvironment::initWithWebPageURL: not bound -!missing-selector! BEMediaEnvironment::initWithXPCRepresentation:error: not bound -!missing-selector! BEMediaEnvironment::makeCaptureSessionWithError: not bound -!missing-selector! BEMediaEnvironment::suspendWithError: not bound -!missing-selector! BENetworkingProcess::grantBENetworkingProcess:error: not bound -!missing-selector! BENetworkingProcess::grantCapability:error:invalidationHandler: not bound -!missing-selector! BENetworkingProcess::invalidate not bound -!missing-selector! BENetworkingProcess::makeLibXPCConnectionError: not bound -!missing-selector! BEProcessCapability::requestWithError: not bound -!missing-selector! BERenderingProcess::createVisibilityPropagationInteraction not bound -!missing-selector! BERenderingProcess::grantBERenderingProcess:error: not bound -!missing-selector! BERenderingProcess::grantCapability:error:invalidationHandler: not bound -!missing-selector! BERenderingProcess::invalidate not bound -!missing-selector! BERenderingProcess::makeLibXPCConnectionError: not bound -!missing-selector! BEScrollView::delegate not bound -!missing-selector! BEScrollView::setDelegate: not bound -!missing-selector! BEScrollViewScrollUpdate::locationInView: not bound -!missing-selector! BEScrollViewScrollUpdate::phase not bound -!missing-selector! BEScrollViewScrollUpdate::timestamp not bound -!missing-selector! BEScrollViewScrollUpdate::translationInView: not bound -!missing-selector! BETextAlternatives::alternativeStrings not bound -!missing-selector! BETextAlternatives::primaryString not bound -!missing-selector! BETextDocumentContext::addTextRect:forCharacterRange: not bound -!missing-selector! BETextDocumentContext::autocorrectedRanges not bound -!missing-selector! BETextDocumentContext::initWithAttributedSelectedText:contextBefore:contextAfter:markedText:selectedRangeInMarkedText: not bound -!missing-selector! BETextDocumentContext::initWithSelectedText:contextBefore:contextAfter:markedText:selectedRangeInMarkedText: not bound -!missing-selector! BETextDocumentContext::setAutocorrectedRanges: not bound -!missing-selector! BETextDocumentRequest::granularityCount not bound -!missing-selector! BETextDocumentRequest::options not bound -!missing-selector! BETextDocumentRequest::setGranularityCount: not bound -!missing-selector! BETextDocumentRequest::setOptions: not bound -!missing-selector! BETextDocumentRequest::setSurroundingGranularity: not bound -!missing-selector! BETextDocumentRequest::surroundingGranularity not bound -!missing-selector! BETextInteraction::addShortcutForText:fromRect: not bound -!missing-selector! BETextInteraction::contextMenuInteraction not bound -!missing-selector! BETextInteraction::contextMenuInteractionDelegate not bound -!missing-selector! BETextInteraction::delegate not bound -!missing-selector! BETextInteraction::dismissEditMenuForSelection not bound -!missing-selector! BETextInteraction::editabilityChanged not bound -!missing-selector! BETextInteraction::presentEditMenuForSelection not bound -!missing-selector! BETextInteraction::refreshKeyboardUI not bound -!missing-selector! BETextInteraction::selectionBoundaryAdjustedToPoint:touchPhase:flags: not bound -!missing-selector! BETextInteraction::selectionChangedWithGestureAtPoint:gesture:state:flags: not bound -!missing-selector! BETextInteraction::setContextMenuInteractionDelegate: not bound -!missing-selector! BETextInteraction::setDelegate: not bound -!missing-selector! BETextInteraction::shareText:fromRect: not bound -!missing-selector! BETextInteraction::showDictionaryForTextInContext:definingTextInRange:fromRect: not bound -!missing-selector! BETextInteraction::showReplacementsForText: not bound -!missing-selector! BETextInteraction::textSelectionDisplayInteraction not bound -!missing-selector! BETextInteraction::translateText:fromRect: not bound -!missing-selector! BETextInteraction::transliterateChineseForText: not bound -!missing-selector! BETextSuggestion::initWithInputText: not bound -!missing-selector! BETextSuggestion::inputText not bound -!missing-selector! BEWebAppManifest::initWithJSONData:manifestURL: not bound -!missing-selector! BEWebAppManifest::jsonData not bound -!missing-selector! BEWebAppManifest::manifestURL not bound -!missing-selector! BEWebContentProcess::createVisibilityPropagationInteraction not bound -!missing-selector! BEWebContentProcess::grantBEWebContentProcess:error: not bound -!missing-selector! BEWebContentProcess::grantCapability:error:invalidationHandler: not bound -!missing-selector! BEWebContentProcess::invalidate not bound -!missing-selector! BEWebContentProcess::makeLibXPCConnectionError: not bound -!missing-selector! NSObject::browserAccessibilityContainerType not bound -!missing-selector! NSObject::browserAccessibilityCurrentStatus not bound -!missing-selector! NSObject::browserAccessibilityHasDOMFocus not bound -!missing-selector! NSObject::browserAccessibilityIsRequired not bound -!missing-selector! NSObject::browserAccessibilityPressedState not bound -!missing-selector! NSObject::browserAccessibilityRoleDescription not bound -!missing-selector! NSObject::browserAccessibilitySortDirection not bound -!missing-selector! NSObject::setBrowserAccessibilityContainerType: not bound -!missing-selector! NSObject::setBrowserAccessibilityCurrentStatus: not bound -!missing-selector! NSObject::setBrowserAccessibilityHasDOMFocus: not bound -!missing-selector! NSObject::setBrowserAccessibilityIsRequired: not bound -!missing-selector! NSObject::setBrowserAccessibilityPressedState: not bound -!missing-selector! NSObject::setBrowserAccessibilityRoleDescription: not bound -!missing-selector! NSObject::setBrowserAccessibilitySortDirection: not bound -!missing-selector! BEWebContentProcess::createVisibilityPropagationInteraction not bound -!missing-selector! BEWebContentProcess::grantBEWebContentProcess:error: not bound -!missing-selector! BEWebContentProcess::invalidate not bound -!missing-selector! BEWebContentProcess::makeLibXPCConnectionError: not bound -!missing-type! BEAutoFillTextSuggestion not bound -!missing-type! BEContextMenuConfiguration not bound -!missing-type! BEDragInteraction not bound -!missing-type! BEKeyEntry not bound -!missing-type! BEKeyEntryContext not bound -!missing-type! BELayerHierarchy not bound -!missing-type! BELayerHierarchyHandle not bound -!missing-type! BELayerHierarchyHostingTransactionCoordinator not bound -!missing-type! BELayerHierarchyHostingView not bound -!missing-type! BEMediaEnvironment not bound -!missing-type! BENetworkingProcess not bound -!missing-type! BEProcessCapability not bound -!missing-type! BERenderingProcess not bound -!missing-type! BEScrollView not bound -!missing-type! BEScrollViewScrollUpdate not bound -!missing-type! BETextAlternatives not bound -!missing-type! BETextDocumentContext not bound -!missing-type! BETextDocumentRequest not bound -!missing-type! BETextInteraction not bound -!missing-type! BETextSuggestion not bound -!missing-type! BEWebAppManifest not bound -!missing-type! BEWebContentProcess not bound -!missing-field! BEAccessibilitySelectionChangedNotification not bound -!missing-field! BEAccessibilityValueChangedNotification not bound -!missing-selector! NSObject::browserAccessibilityAttributedValueInRange: not bound -!missing-selector! NSObject::browserAccessibilityDeleteTextAtCursor: not bound -!missing-selector! NSObject::browserAccessibilityInsertTextAtCursor: not bound -!missing-selector! NSObject::browserAccessibilitySelectedTextRange not bound -!missing-selector! NSObject::browserAccessibilitySetSelectedTextRange: not bound -!missing-selector! NSObject::browserAccessibilityValueInRange: not bound -!missing-type! BEWebContentProcess not bound -!missing-selector! BEWebAppManifest::initWithJSONData:manifestURL: not bound -!missing-selector! BEWebAppManifest::jsonData not bound -!missing-selector! BEWebAppManifest::manifestURL not bound -!missing-type! BEWebAppManifest not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-BrowserEngineKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/macOS-BrowserEngineKit.ignore new file mode 100644 index 000000000000..8049a8a6367a --- /dev/null +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-BrowserEngineKit.ignore @@ -0,0 +1,5 @@ +# BETextInput isn't available on macOS, so it makes no sense to bind BETextInputDelegate +!missing-protocol! BETextInputDelegate not bound + +# BETextInteraction isn't available on macOS, so it makes no sense to bind BETextInteractionDelegate +!missing-protocol! BETextInteractionDelegate not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-BrowserEngineKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-BrowserEngineKit.todo deleted file mode 100644 index 5f9bf4a230c1..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-BrowserEngineKit.todo +++ /dev/null @@ -1,66 +0,0 @@ -!missing-enum! BEAccessibilityContainerType not bound -!missing-enum! BEAccessibilityPressedState not bound -!missing-enum! BEGestureType not bound -!missing-enum! BESelectionFlags not bound -!missing-enum! BESelectionTouchPhase not bound -!missing-protocol! BEProcessCapabilityGrant not bound -!missing-protocol! BETextInputDelegate not bound -!missing-protocol! BETextInteractionDelegate not bound -!missing-selector! +BENetworkingProcess::networkProcessWithInterruptionHandler:completion: not bound -!missing-selector! +BEProcessCapability::background not bound -!missing-selector! +BEProcessCapability::foreground not bound -!missing-selector! +BEProcessCapability::suspended not bound -!missing-selector! +BERenderingProcess::renderingProcessWithInterruptionHandler:completion: not bound -!missing-selector! +BEWebContentProcess::webContentProcessWithInterruptionHandler:completion: not bound -!missing-selector! BENetworkingProcess::grantBENetworkingProcess:error: not bound -!missing-selector! BENetworkingProcess::invalidate not bound -!missing-selector! BENetworkingProcess::makeLibXPCConnectionError: not bound -!missing-selector! BEProcessCapability::requestWithError: not bound -!missing-selector! BERenderingProcess::grantBERenderingProcess:error: not bound -!missing-selector! BERenderingProcess::invalidate not bound -!missing-selector! BERenderingProcess::makeLibXPCConnectionError: not bound -!missing-selector! BETextAlternatives::alternativeStrings not bound -!missing-selector! BETextAlternatives::primaryString not bound -!missing-selector! BETextSuggestion::initWithInputText: not bound -!missing-selector! BETextSuggestion::inputText not bound -!missing-selector! BEWebAppManifest::initWithJSONData:manifestURL: not bound -!missing-selector! BEWebAppManifest::jsonData not bound -!missing-selector! BEWebAppManifest::manifestURL not bound -!missing-selector! BEWebContentProcess::grantBEWebContentProcess:error: not bound -!missing-selector! BEWebContentProcess::invalidate not bound -!missing-selector! BEWebContentProcess::makeLibXPCConnectionError: not bound -!missing-selector! NSObject::browserAccessibilityContainerType not bound -!missing-selector! NSObject::browserAccessibilityCurrentStatus not bound -!missing-selector! NSObject::browserAccessibilityHasDOMFocus not bound -!missing-selector! NSObject::browserAccessibilityIsRequired not bound -!missing-selector! NSObject::browserAccessibilityPressedState not bound -!missing-selector! NSObject::browserAccessibilityRoleDescription not bound -!missing-selector! NSObject::browserAccessibilitySortDirection not bound -!missing-selector! NSObject::setBrowserAccessibilityContainerType: not bound -!missing-selector! NSObject::setBrowserAccessibilityCurrentStatus: not bound -!missing-selector! NSObject::setBrowserAccessibilityHasDOMFocus: not bound -!missing-selector! NSObject::setBrowserAccessibilityIsRequired: not bound -!missing-selector! NSObject::setBrowserAccessibilityPressedState: not bound -!missing-selector! NSObject::setBrowserAccessibilityRoleDescription: not bound -!missing-selector! NSObject::setBrowserAccessibilitySortDirection: not bound -!missing-selector! BEWebContentProcess::grantBEWebContentProcess:error: not bound -!missing-selector! BEWebContentProcess::invalidate not bound -!missing-selector! BEWebContentProcess::makeLibXPCConnectionError: not bound -!missing-type! BENetworkingProcess not bound -!missing-type! BEProcessCapability not bound -!missing-type! BERenderingProcess not bound -!missing-type! BETextAlternatives not bound -!missing-type! BETextSuggestion not bound -!missing-type! BEWebAppManifest not bound -!missing-type! BEWebContentProcess not bound -!missing-selector! NSObject::browserAccessibilityAttributedValueInRange: not bound -!missing-selector! NSObject::browserAccessibilityDeleteTextAtCursor: not bound -!missing-selector! NSObject::browserAccessibilityInsertTextAtCursor: not bound -!missing-selector! NSObject::browserAccessibilitySelectedTextRange not bound -!missing-selector! NSObject::browserAccessibilitySetSelectedTextRange: not bound -!missing-selector! NSObject::browserAccessibilityValueInRange: not bound -!missing-type! BEWebContentProcess not bound -!missing-selector! BEWebAppManifest::initWithJSONData:manifestURL: not bound -!missing-selector! BEWebAppManifest::jsonData not bound -!missing-selector! BEWebAppManifest::manifestURL not bound -!missing-type! BEWebAppManifest not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-BrowserEngineKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-BrowserEngineKit.todo deleted file mode 100644 index 2a43e5d4104d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-BrowserEngineKit.todo +++ /dev/null @@ -1,111 +0,0 @@ -!missing-enum! BEAccessibilityContainerType not bound -!missing-enum! BEAccessibilityPressedState not bound -!missing-enum! BEGestureType not bound -!missing-enum! BEKeyModifierFlags not bound -!missing-enum! BEKeyPressState not bound -!missing-enum! BEScrollViewScrollUpdatePhase not bound -!missing-enum! BESelectionFlags not bound -!missing-enum! BESelectionTouchPhase not bound -!missing-enum! BETextDocumentRequestOptions not bound -!missing-enum! BETextReplacementOptions not bound -!missing-field! BEAccessibilityTraitMenuItem not bound -!missing-field! BEAccessibilityTraitPopUpButton not bound -!missing-field! BEAccessibilityTraitRadioButton not bound -!missing-field! BEAccessibilityTraitReadOnly not bound -!missing-field! BEAccessibilityTraitVisited not bound -!missing-protocol! BEExtendedTextInputTraits not bound -!missing-protocol! BEResponderEditActions not bound -!missing-protocol! BEScrollViewDelegate not bound -!missing-protocol! BETextInput not bound -!missing-protocol! BETextInputDelegate not bound -!missing-protocol! BETextInteractionDelegate not bound -!missing-protocol! BETextSelectionDirectionNavigation not bound -!missing-selector! BEAutoFillTextSuggestion::contents not bound -!missing-selector! BEKeyEntry::isKeyRepeating not bound -!missing-selector! BEKeyEntry::key not bound -!missing-selector! BEKeyEntry::state not bound -!missing-selector! BEKeyEntry::timestamp not bound -!missing-selector! BEKeyEntryContext::initWithKeyEntry: not bound -!missing-selector! BEKeyEntryContext::isDocumentEditable not bound -!missing-selector! BEKeyEntryContext::keyEntry not bound -!missing-selector! BEKeyEntryContext::setDocumentEditable: not bound -!missing-selector! BEKeyEntryContext::setShouldEvaluateForInputSystemHandling: not bound -!missing-selector! BEKeyEntryContext::setShouldInsertCharacter: not bound -!missing-selector! BEKeyEntryContext::shouldEvaluateForInputSystemHandling not bound -!missing-selector! BEKeyEntryContext::shouldInsertCharacter not bound -!missing-selector! BEScrollView::delegate not bound -!missing-selector! BEScrollView::setDelegate: not bound -!missing-selector! BEScrollViewScrollUpdate::locationInView: not bound -!missing-selector! BEScrollViewScrollUpdate::phase not bound -!missing-selector! BEScrollViewScrollUpdate::timestamp not bound -!missing-selector! BEScrollViewScrollUpdate::translationInView: not bound -!missing-selector! BETextAlternatives::alternativeStrings not bound -!missing-selector! BETextAlternatives::primaryString not bound -!missing-selector! BETextDocumentContext::addTextRect:forCharacterRange: not bound -!missing-selector! BETextDocumentContext::autocorrectedRanges not bound -!missing-selector! BETextDocumentContext::initWithAttributedSelectedText:contextBefore:contextAfter:markedText:selectedRangeInMarkedText: not bound -!missing-selector! BETextDocumentContext::initWithSelectedText:contextBefore:contextAfter:markedText:selectedRangeInMarkedText: not bound -!missing-selector! BETextDocumentContext::setAutocorrectedRanges: not bound -!missing-selector! BETextDocumentRequest::granularityCount not bound -!missing-selector! BETextDocumentRequest::options not bound -!missing-selector! BETextDocumentRequest::setGranularityCount: not bound -!missing-selector! BETextDocumentRequest::setOptions: not bound -!missing-selector! BETextDocumentRequest::setSurroundingGranularity: not bound -!missing-selector! BETextDocumentRequest::surroundingGranularity not bound -!missing-selector! BETextInteraction::addShortcutForText:fromRect: not bound -!missing-selector! BETextInteraction::delegate not bound -!missing-selector! BETextInteraction::dismissEditMenuForSelection not bound -!missing-selector! BETextInteraction::editabilityChanged not bound -!missing-selector! BETextInteraction::presentEditMenuForSelection not bound -!missing-selector! BETextInteraction::refreshKeyboardUI not bound -!missing-selector! BETextInteraction::selectionBoundaryAdjustedToPoint:touchPhase:flags: not bound -!missing-selector! BETextInteraction::selectionChangedWithGestureAtPoint:gesture:state:flags: not bound -!missing-selector! BETextInteraction::setDelegate: not bound -!missing-selector! BETextInteraction::shareText:fromRect: not bound -!missing-selector! BETextInteraction::showDictionaryForTextInContext:definingTextInRange:fromRect: not bound -!missing-selector! BETextInteraction::showReplacementsForText: not bound -!missing-selector! BETextInteraction::textSelectionDisplayInteraction not bound -!missing-selector! BETextInteraction::translateText:fromRect: not bound -!missing-selector! BETextInteraction::transliterateChineseForText: not bound -!missing-selector! BETextSuggestion::initWithInputText: not bound -!missing-selector! BETextSuggestion::inputText not bound -!missing-selector! BEWebAppManifest::initWithJSONData:manifestURL: not bound -!missing-selector! BEWebAppManifest::jsonData not bound -!missing-selector! BEWebAppManifest::manifestURL not bound -!missing-selector! NSObject::browserAccessibilityContainerType not bound -!missing-selector! NSObject::browserAccessibilityCurrentStatus not bound -!missing-selector! NSObject::browserAccessibilityHasDOMFocus not bound -!missing-selector! NSObject::browserAccessibilityIsRequired not bound -!missing-selector! NSObject::browserAccessibilityPressedState not bound -!missing-selector! NSObject::browserAccessibilityRoleDescription not bound -!missing-selector! NSObject::browserAccessibilitySortDirection not bound -!missing-selector! NSObject::setBrowserAccessibilityContainerType: not bound -!missing-selector! NSObject::setBrowserAccessibilityCurrentStatus: not bound -!missing-selector! NSObject::setBrowserAccessibilityHasDOMFocus: not bound -!missing-selector! NSObject::setBrowserAccessibilityIsRequired: not bound -!missing-selector! NSObject::setBrowserAccessibilityPressedState: not bound -!missing-selector! NSObject::setBrowserAccessibilityRoleDescription: not bound -!missing-selector! NSObject::setBrowserAccessibilitySortDirection: not bound -!missing-type! BEAutoFillTextSuggestion not bound -!missing-type! BEKeyEntry not bound -!missing-type! BEKeyEntryContext not bound -!missing-type! BEScrollView not bound -!missing-type! BEScrollViewScrollUpdate not bound -!missing-type! BETextAlternatives not bound -!missing-type! BETextDocumentContext not bound -!missing-type! BETextDocumentRequest not bound -!missing-type! BETextInteraction not bound -!missing-type! BETextSuggestion not bound -!missing-type! BEWebAppManifest not bound -!missing-field! BEAccessibilitySelectionChangedNotification not bound -!missing-field! BEAccessibilityValueChangedNotification not bound -!missing-selector! NSObject::browserAccessibilityAttributedValueInRange: not bound -!missing-selector! NSObject::browserAccessibilityDeleteTextAtCursor: not bound -!missing-selector! NSObject::browserAccessibilityInsertTextAtCursor: not bound -!missing-selector! NSObject::browserAccessibilitySelectedTextRange not bound -!missing-selector! NSObject::browserAccessibilitySetSelectedTextRange: not bound -!missing-selector! NSObject::browserAccessibilityValueInRange: not bound -!missing-selector! BEWebAppManifest::initWithJSONData:manifestURL: not bound -!missing-selector! BEWebAppManifest::jsonData not bound -!missing-selector! BEWebAppManifest::manifestURL not bound -!missing-type! BEWebAppManifest not bound diff --git a/tools/common/Frameworks.cs b/tools/common/Frameworks.cs index 467d078a861a..3a0292f3b2f2 100644 --- a/tools/common/Frameworks.cs +++ b/tools/common/Frameworks.cs @@ -290,6 +290,7 @@ public static Frameworks MacFrameworks { { "Cinematic", "Cinematic", 14,0 }, { "Symbols", "Symbols", 14, 0 }, { "SensitiveContentAnalysis", "SensitiveContentAnalysis", 14, 0 }, + { "BrowserEngineKit", "BrowserEngineKit", 14, 3}, { "DeviceDiscoveryExtension", "DeviceDiscoveryExtension", 15, 0}, { "FSKit", "FSKit", 15, 0 }, @@ -475,6 +476,7 @@ public static Frameworks CreateiOSFrameworks (bool is_simulator_build) { "Cinematic", "Cinematic", new Version (17, 0), NotAvailableInSimulator }, { "Symbols", "Symbols", 17, 0 }, { "SensitiveContentAnalysis", "SensitiveContentAnalysis", 17, 0 }, + { "BrowserEngineKit", "BrowserEngineKit", 17, 4}, { "AccessorySetupKit", "AccessorySetupKit", 18, 0 }, @@ -665,6 +667,7 @@ public static Frameworks TVOSFrameworks { { "Symbols", "Symbols", 17, 0 }, { "NetworkExtension", "NetworkExtension", 17, 0 }, { "Phase", "PHASE", new Version (17,0), NotAvailableInSimulator }, + { "BrowserEngineKit", "BrowserEngineKit", 17, 4}, }; } return tvos_frameworks; @@ -702,6 +705,8 @@ public static Frameworks GetMacCatalystFrameworks () case "ThreadNetwork": f.Version = v16_1; break; + // These frameworks are not available on Mac Catalyst + case "BrowserEngineKit": case "DeviceDiscoveryExtension": f.Version = v18_0; break; diff --git a/tools/mtouch/Makefile b/tools/mtouch/Makefile index 387b6492b2a9..b09ac77dff9a 100644 --- a/tools/mtouch/Makefile +++ b/tools/mtouch/Makefile @@ -184,6 +184,7 @@ SIMLAUNCHER_FRAMEWORKS = \ \ -weak_framework Symbols \ -weak_framework SensitiveContentAnalysis \ + -weak_framework BrowserEngineKit \ SIMLAUNCHER64_FRAMEWORKS = \ -framework GameKit \