5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTSEMANTICSOBJECT_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTSEMANTICSOBJECT_H_
8 #import <Cocoa/Cocoa.h>
12 #include "flutter/fml/macros.h"
13 #include "flutter/third_party/accessibility/ax/platform/ax_platform_node_base.h"
57 bool EnsureAttachedToView();
62 void EnsureDetachedFromView();
87 - (instancetype)initWithPlatformNode:(
flutter::FlutterTextPlatformNode*)node
96 - (void)updateString:(NSString*)string withSelection:(NSRange)selection;
The ax platform node for a text field.
FlutterTextPlatformNode(FlutterPlatformNodeDelegate *delegate, __weak FlutterViewController *view_controller)
Creates a FlutterTextPlatformNode that uses a FlutterTextField as its NativeViewAccessible.
~FlutterTextPlatformNode() override
NSRect GetFrame()
Gets the frame of this platform node relative to the view of FlutterViewController....
gfx::NativeViewAccessible GetNativeViewAccessible() override