|
| 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 |
|
| AXPlatformNodeBase () |
|
| ~AXPlatformNodeBase () override |
|
virtual void | Init (AXPlatformNodeDelegate *delegate) |
|
const AXNodeData & | GetData () const |
|
gfx::NativeViewAccessible | GetFocus () |
|
gfx::NativeViewAccessible | GetParent () const |
|
int | GetChildCount () const |
|
gfx::NativeViewAccessible | ChildAtIndex (int index) const |
|
std::string | GetName () const |
|
std::u16string | GetNameAsString16 () const |
|
virtual std::optional< int > | GetIndexInParent () |
|
std::stack< gfx::NativeViewAccessible > | GetAncestors () |
|
std::optional< int > | CompareTo (AXPlatformNodeBase &other) |
|
void | Destroy () override |
|
gfx::NativeViewAccessible | GetNativeViewAccessible () override |
|
void | NotifyAccessibilityEvent (ax::mojom::Event event_type) override |
|
AXPlatformNodeDelegate * | GetDelegate () const override |
|
bool | IsDescendantOf (AXPlatformNode *ancestor) const override |
|
AXPlatformNodeBase * | GetPreviousSibling () const |
|
AXPlatformNodeBase * | GetNextSibling () const |
|
AXPlatformNodeBase * | GetFirstChild () const |
|
AXPlatformNodeBase * | GetLastChild () const |
|
bool | IsDescendant (AXPlatformNodeBase *descendant) |
|
AXPlatformNodeChildIterator | AXPlatformNodeChildrenBegin () const |
|
AXPlatformNodeChildIterator | AXPlatformNodeChildrenEnd () const |
|
bool | HasBoolAttribute (ax::mojom::BoolAttribute attr) const |
|
bool | GetBoolAttribute (ax::mojom::BoolAttribute attr) const |
|
bool | GetBoolAttribute (ax::mojom::BoolAttribute attr, bool *value) const |
|
bool | HasFloatAttribute (ax::mojom::FloatAttribute attr) const |
|
float | GetFloatAttribute (ax::mojom::FloatAttribute attr) const |
|
bool | GetFloatAttribute (ax::mojom::FloatAttribute attr, float *value) const |
|
bool | HasIntAttribute (ax::mojom::IntAttribute attribute) const |
|
int | GetIntAttribute (ax::mojom::IntAttribute attribute) const |
|
bool | GetIntAttribute (ax::mojom::IntAttribute attribute, int *value) const |
|
bool | HasStringAttribute (ax::mojom::StringAttribute attribute) const |
|
const std::string & | GetStringAttribute (ax::mojom::StringAttribute attribute) const |
|
bool | GetStringAttribute (ax::mojom::StringAttribute attribute, std::string *value) const |
|
bool | GetString16Attribute (ax::mojom::StringAttribute attribute, std::u16string *value) const |
|
std::u16string | GetString16Attribute (ax::mojom::StringAttribute attribute) const |
|
bool | HasInheritedStringAttribute (ax::mojom::StringAttribute attribute) const |
|
const std::string & | GetInheritedStringAttribute (ax::mojom::StringAttribute attribute) const |
|
std::u16string | GetInheritedString16Attribute (ax::mojom::StringAttribute attribute) const |
|
bool | GetInheritedStringAttribute (ax::mojom::StringAttribute attribute, std::string *value) const |
|
bool | GetInheritedString16Attribute (ax::mojom::StringAttribute attribute, std::u16string *value) const |
|
bool | HasIntListAttribute (ax::mojom::IntListAttribute attribute) const |
|
const std::vector< int32_t > & | GetIntListAttribute (ax::mojom::IntListAttribute attribute) const |
|
bool | GetIntListAttribute (ax::mojom::IntListAttribute attribute, std::vector< int32_t > *value) const |
|
AXPlatformNodeBase * | GetSelectionContainer () const |
|
AXPlatformNodeBase * | GetTable () const |
|
AXPlatformNodeBase * | GetTableCaption () const |
|
AXPlatformNodeBase * | GetTableCell (int index) const |
|
AXPlatformNodeBase * | GetTableCell (int row, int column) const |
|
std::optional< int > | GetTableCellIndex () const |
|
std::optional< int > | GetTableColumn () const |
|
std::optional< int > | GetTableColumnCount () const |
|
std::optional< int > | GetTableAriaColumnCount () const |
|
std::optional< int > | GetTableColumnSpan () const |
|
std::optional< int > | GetTableRow () const |
|
std::optional< int > | GetTableRowCount () const |
|
std::optional< int > | GetTableAriaRowCount () const |
|
std::optional< int > | GetTableRowSpan () const |
|
std::optional< float > | GetFontSizeInPoints () const |
|
bool | HasCaret (const AXTree::Selection *unignored_selection=nullptr) |
|
bool | IsChildOfLeaf () const |
|
bool | IsLeaf () const |
|
bool | IsInvisibleOrIgnored () const |
|
bool | IsScrollable () const |
|
bool | IsHorizontallyScrollable () const |
|
bool | IsVerticallyScrollable () const |
|
bool | IsTextField () const |
|
bool | IsPlainTextField () const |
|
bool | IsRichTextField () const |
|
bool | IsText () const |
|
virtual bool | IsPlatformCheckable () const |
|
bool | HasFocus () |
|
std::u16string | GetHypertext () const |
|
std::u16string | GetInnerText () const |
|
virtual std::u16string | GetValue () const |
|
bool | ScrollToNode (ScrollType scroll_type) |
|
AXPlatformNodeBase * | NearestLeafToPoint (gfx::Point point) const |
|
int | NearestTextIndexToPoint (gfx::Point point) |
|
ui::TextAttributeList | ComputeTextAttributes () const |
|
int | GetSelectionCount () const |
|
AXPlatformNodeBase * | GetSelectedItem (int selected_index) const |
|
int | GetSelectedItems (int max_items, std::vector< AXPlatformNodeBase * > *out_selected_items=nullptr) const |
|
virtual void | Destroy () |
|
virtual gfx::NativeViewAccessible | GetNativeViewAccessible ()=0 |
|
virtual void | NotifyAccessibilityEvent (ax::mojom::Event event_type)=0 |
|
virtual AXPlatformNodeDelegate * | GetDelegate () const =0 |
|
virtual bool | IsDescendantOf (AXPlatformNode *ancestor) const =0 |
|
void | SetIsPrimaryWebContentsForWindow (bool is_primary) |
|
bool | IsPrimaryWebContentsForWindow () const |
|
int32_t | GetUniqueId () const |
|
std::string | ToString () |
|
std::string | SubtreeToString () |
|
virtual | ~AXPlatformNode () |
|
|
enum | ScrollType {
TopLeft
, BottomRight
, TopEdge
, BottomEdge
,
LeftEdge
, RightEdge
, Anywhere
} |
|
using | AXPlatformNodeChildIterator = ui::AXNode::ChildIteratorBase< AXPlatformNodeBase, &AXPlatformNodeBase::GetNextSibling, &AXPlatformNodeBase::GetPreviousSibling, &AXPlatformNodeBase::GetFirstChild, &AXPlatformNodeBase::GetLastChild > |
|
typedef AXPlatformNode * | NativeWindowHandlerCallback(gfx::NativeWindow) |
|
static AXPlatformNode * | GetFromUniqueId (int32_t unique_id) |
|
static size_t | GetInstanceCountForTesting () |
|
static void | SetOnNotifyEventCallbackForTesting (ax::mojom::Event event_type, std::function< void()> callback) |
|
static AXPlatformNode * | Create (AXPlatformNodeDelegate *delegate) |
|
static AXPlatformNode * | FromNativeViewAccessible (gfx::NativeViewAccessible accessible) |
|
static AXPlatformNode * | FromNativeWindow (gfx::NativeWindow native_window) |
|
static void | RegisterNativeWindowHandler (std::function< NativeWindowHandlerCallback > handler) |
|
static void | AddAXModeObserver (AXModeObserver *observer) |
|
static void | RemoveAXModeObserver (AXModeObserver *observer) |
|
static AXMode | GetAccessibilityMode () |
|
static void | NotifyAddAXModeFlags (AXMode mode_flags) |
|
static gfx::NativeViewAccessible | GetPopupFocusOverride () |
|
static void | SetPopupFocusOverride (gfx::NativeViewAccessible focus_override) |
|
AXPlatformNodeDelegate * | delegate_ = nullptr |
|
static const char16_t | kEmbeddedCharacter = L'\xfffc' |
|
using | PlatformAttributeList = std::vector< std::u16string > |
|
bool | IsDocument () const |
|
bool | IsSelectionItemSupported () const |
|
std::u16string | GetRangeValueText () const |
|
std::u16string | GetRoleDescription () const |
|
std::u16string | GetRoleDescriptionFromImageAnnotationStatusOrFromAttribute () const |
|
virtual void | Dispose () |
|
bool | SetHypertextSelection (int start_offset, int end_offset) |
|
void | ComputeAttributes (PlatformAttributeList *attributes) |
|
void | AddAttributeToList (const ax::mojom::StringAttribute attribute, const char *name, PlatformAttributeList *attributes) |
|
void | AddAttributeToList (const ax::mojom::BoolAttribute attribute, const char *name, PlatformAttributeList *attributes) |
|
void | AddAttributeToList (const ax::mojom::IntAttribute attribute, const char *name, PlatformAttributeList *attributes) |
|
virtual void | AddAttributeToList (const char *name, const std::string &value, PlatformAttributeList *attributes) |
|
virtual void | AddAttributeToList (const char *name, const char *value, PlatformAttributeList *attributes) |
|
virtual void | SanitizeTextAttributeValue (const std::string &input, std::string *output) const |
|
void | UpdateComputedHypertext () const |
|
int | GetSelectionAnchor (const AXTree::Selection *selection) |
|
int | GetSelectionFocus (const AXTree::Selection *selection) |
|
void | GetSelectionOffsets (int *selection_start, int *selection_end) |
|
void | GetSelectionOffsets (const AXTree::Selection *selection, int *selection_start, int *selection_end) |
|
void | GetSelectionOffsetsFromTree (const AXTree::Selection *selection, int *selection_start, int *selection_end) |
|
AXPlatformNodeBase * | GetHyperlinkFromHypertextOffset (int offset) |
|
int32_t | GetHyperlinkIndexFromChild (AXPlatformNodeBase *child) |
|
int32_t | GetHypertextOffsetFromHyperlinkIndex (int32_t hyperlink_index) |
|
int32_t | GetHypertextOffsetFromChild (AXPlatformNodeBase *child) |
|
int32_t | GetHypertextOffsetFromDescendant (AXPlatformNodeBase *descendant) |
|
int | GetHypertextOffsetFromEndpoint (AXPlatformNodeBase *endpoint_object, int endpoint_offset) |
|
bool | IsSameHypertextCharacter (const AXHypertext &old_hypertext, size_t old_char_index, size_t new_char_index) |
|
std::optional< int > | GetPosInSet () const |
|
std::optional< int > | GetSetSize () const |
|
std::string | GetInvalidValue () const |
|
int | GetMaxSelectableItems () const |
|
| AXPlatformNode () |
|
static AXPlatformNodeBase * | FromNativeViewAccessible (gfx::NativeViewAccessible accessible) |
|
static void | SanitizeStringAttribute (const std::string &input, std::string *output) |
|
AXHypertext | hypertext_ |
|
The ax platform node for a text field.
Definition at line 22 of file FlutterTextInputSemanticsObject.h.