The ax platform node for a text field. More...
#include <FlutterTextInputSemanticsObject.h>
Public Member Functions | |
FlutterTextPlatformNode (FlutterPlatformNodeDelegate *delegate, __weak FlutterViewController *view_controller) | |
Creates a FlutterTextPlatformNode that uses a FlutterTextField as its NativeViewAccessible. More... | |
~FlutterTextPlatformNode () override | |
NSRect | GetFrame () |
Gets the frame of this platform node relative to the view of FlutterViewController. This is used by the FlutterTextField to get its frame rect because the FlutterTextField is a subview of the FlutterViewController.view. More... | |
gfx::NativeViewAccessible | GetNativeViewAccessible () override |
The ax platform node for a text field.
Definition at line 22 of file FlutterTextInputSemanticsObject.h.
|
explicit |
Creates a FlutterTextPlatformNode that uses a FlutterTextField as its NativeViewAccessible.
[in] | delegate | The delegate that provides accessibility data. |
[in] | view_controller | The view_controller that is used for querying the information about FlutterView and FlutterTextInputPlugin. |
Definition at line 161 of file FlutterTextInputSemanticsObject.mm.
|
override |
Definition at line 174 of file FlutterTextInputSemanticsObject.mm.
NSRect flutter::FlutterTextPlatformNode::GetFrame | ( | ) |
Gets the frame of this platform node relative to the view of FlutterViewController. This is used by the FlutterTextField to get its frame rect because the FlutterTextField is a subview of the FlutterViewController.view.
Definition at line 186 of file FlutterTextInputSemanticsObject.mm.
References flutter::FlutterPlatformNodeDelegate::GetAXNode(), and flutter::FlutterPlatformNodeDelegate::GetOwnerBridge().
|
override |
Definition at line 179 of file FlutterTextInputSemanticsObject.mm.
Referenced by flutter::testing::TEST().