Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
flutter::AlertPlatformNodeDelegate Class Reference

#include <alert_platform_node_delegate.h>

Inheritance diagram for flutter::AlertPlatformNodeDelegate:
ui::AXPlatformNodeDelegateBase ui::AXPlatformNodeDelegate

Public Member Functions

 AlertPlatformNodeDelegate (ui::AXPlatformNodeDelegate &parent_delegate)
 
 ~AlertPlatformNodeDelegate ()
 
void SetText (const std::u16string &text)
 
gfx::NativeViewAccessible GetParent () override
 
- Public Member Functions inherited from ui::AXPlatformNodeDelegateBase
 AXPlatformNodeDelegateBase ()
 
 ~AXPlatformNodeDelegateBase () override
 
const AXNodeDataGetData () const override
 
const AXTreeDataGetTreeData () const override
 
std::u16string GetInnerText () const override
 
const AXTree::Selection GetUnignoredSelection () const override
 
AXNodePosition::AXPositionInstance CreateTextPositionAt (int offset) const override
 
gfx::NativeViewAccessible GetNSWindow () override
 
gfx::NativeViewAccessible GetNativeViewAccessible () override
 
gfx::NativeViewAccessible GetParent () override
 
gfx::NativeViewAccessible GetLowestPlatformAncestor () const override
 
int GetIndexInParent () override
 
int GetChildCount () const override
 
gfx::NativeViewAccessible ChildAtIndex (int index) override
 
bool HasModalDialog () const override
 
gfx::NativeViewAccessible GetFirstChild () override
 
gfx::NativeViewAccessible GetLastChild () override
 
gfx::NativeViewAccessible GetNextSibling () override
 
gfx::NativeViewAccessible GetPreviousSibling () override
 
bool IsChildOfLeaf () const override
 
bool IsChildOfPlainTextField () const override
 
bool IsLeaf () const override
 
bool IsToplevelBrowserWindow () override
 
gfx::NativeViewAccessible GetClosestPlatformObject () const override
 
std::unique_ptr< AXPlatformNodeDelegate::ChildIteratorChildrenBegin () override
 
std::unique_ptr< AXPlatformNodeDelegate::ChildIteratorChildrenEnd () override
 
std::string GetName () const override
 
std::u16string GetHypertext () const override
 
bool SetHypertextSelection (int start_offset, int end_offset) override
 
TextAttributeMap ComputeTextAttributeMap (const TextAttributeList &default_attributes) const override
 
std::string GetInheritedFontFamilyName () const override
 
gfx::Rect GetBoundsRect (const AXCoordinateSystem coordinate_system, const AXClippingBehavior clipping_behavior, AXOffscreenResult *offscreen_result) const override
 
gfx::Rect GetHypertextRangeBoundsRect (const int start_offset, const int end_offset, const AXCoordinateSystem coordinate_system, const AXClippingBehavior clipping_behavior, AXOffscreenResult *offscreen_result) const override
 
gfx::Rect GetInnerTextRangeBoundsRect (const int start_offset, const int end_offset, const AXCoordinateSystem coordinate_system, const AXClippingBehavior clipping_behavior, AXOffscreenResult *offscreen_result) const override
 
gfx::Rect GetClippedScreenBoundsRect (AXOffscreenResult *offscreen_result=nullptr) const override
 
gfx::Rect GetUnclippedScreenBoundsRect (AXOffscreenResult *offscreen_result=nullptr) const
 
gfx::NativeViewAccessible HitTestSync (int screen_physical_pixel_x, int screen_physical_pixel_y) const override
 
gfx::NativeViewAccessible GetFocus () override
 
bool IsOffscreen () const override
 
bool IsMinimized () const override
 
bool IsText () const override
 
bool IsWebContent () const override
 
bool HasVisibleCaretOrSelection () const override
 
AXPlatformNodeGetFromNodeID (int32_t id) override
 
AXPlatformNodeGetFromTreeIDAndNodeID (const ui::AXTreeID &ax_tree_id, int32_t id) override
 
AXPlatformNodeGetTargetNodeForRelation (ax::mojom::IntAttribute attr) override
 
std::vector< AXPlatformNode * > GetTargetNodesForRelation (ax::mojom::IntListAttribute attr) override
 
std::set< AXPlatformNode * > GetReverseRelations (ax::mojom::IntAttribute attr) override
 
std::set< AXPlatformNode * > GetReverseRelations (ax::mojom::IntListAttribute attr) override
 
std::u16string GetAuthorUniqueId () const override
 
const AXUniqueIdGetUniqueId () const override
 
std::optional< intFindTextBoundary (ax::mojom::TextBoundary boundary, int offset, ax::mojom::MoveDirection direction, ax::mojom::TextAffinity affinity) const override
 
const std::vector< gfx::NativeViewAccessibleGetUIADescendants () const override
 
std::string GetLanguage () const override
 
bool IsTable () const override
 
std::optional< intGetTableColCount () const override
 
std::optional< intGetTableRowCount () const override
 
std::optional< intGetTableAriaColCount () const override
 
std::optional< intGetTableAriaRowCount () const override
 
std::optional< intGetTableCellCount () const override
 
std::optional< bool > GetTableHasColumnOrRowHeaderNode () const override
 
std::vector< int32_t > GetColHeaderNodeIds () const override
 
std::vector< int32_t > GetColHeaderNodeIds (int col_index) const override
 
std::vector< int32_t > GetRowHeaderNodeIds () const override
 
std::vector< int32_t > GetRowHeaderNodeIds (int row_index) const override
 
AXPlatformNodeGetTableCaption () const override
 
bool IsTableRow () const override
 
std::optional< intGetTableRowRowIndex () const override
 
bool IsTableCellOrHeader () const override
 
std::optional< intGetTableCellIndex () const override
 
std::optional< intGetTableCellColIndex () const override
 
std::optional< intGetTableCellRowIndex () const override
 
std::optional< intGetTableCellColSpan () const override
 
std::optional< intGetTableCellRowSpan () const override
 
std::optional< intGetTableCellAriaColIndex () const override
 
std::optional< intGetTableCellAriaRowIndex () const override
 
std::optional< int32_t > GetCellId (int row_index, int col_index) const override
 
std::optional< int32_t > CellIndexToId (int cell_index) const override
 
bool IsCellOrHeaderOfARIATable () const override
 
bool IsCellOrHeaderOfARIAGrid () const override
 
bool IsOrderedSetItem () const override
 
bool IsOrderedSet () const override
 
std::optional< intGetPosInSet () const override
 
std::optional< intGetSetSize () const override
 
gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent () override
 
bool AccessibilityPerformAction (const AXActionData &data) override
 
std::u16string GetLocalizedStringForImageAnnotationStatus (ax::mojom::ImageAnnotationStatus status) const override
 
std::u16string GetLocalizedRoleDescriptionForUnlabeledImage () const override
 
std::u16string GetLocalizedStringForLandmarkType () const override
 
std::u16string GetLocalizedStringForRoleDescription () const override
 
std::u16string GetStyleNameAttributeAsLocalizedString () const override
 
bool ShouldIgnoreHoveredStateForTesting () override
 
- Public Member Functions inherited from ui::AXPlatformNodeDelegate
virtual ~AXPlatformNodeDelegate ()=default
 
std::string ToString ()
 
std::string SubtreeToString ()
 

Private Member Functions

gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent () override
 
const ui::AXUniqueIdGetUniqueId () const override
 
const ui::AXNodeDataGetData () const override
 

Additional Inherited Members

- Protected Member Functions inherited from ui::AXPlatformNodeDelegateBase
std::string SubtreeToStringHelper (size_t level) override
 
std::set< ui::AXPlatformNode * > GetNodesForNodeIds (const std::set< int32_t > &ids)
 
AXPlatformNodeDelegateGetParentDelegate ()
 
- Protected Member Functions inherited from ui::AXPlatformNodeDelegate
 AXPlatformNodeDelegate ()=default
 

Detailed Description

Definition at line 18 of file alert_platform_node_delegate.h.

Constructor & Destructor Documentation

◆ AlertPlatformNodeDelegate()

flutter::AlertPlatformNodeDelegate::AlertPlatformNodeDelegate ( ui::AXPlatformNodeDelegate parent_delegate)
explicit

Definition at line 9 of file alert_platform_node_delegate.cc.

11 : parent_delegate_(parent_delegate) {
13 data_.id = id_.Get();
14}
int32_t Get() const
ax::mojom::Role role

◆ ~AlertPlatformNodeDelegate()

flutter::AlertPlatformNodeDelegate::~AlertPlatformNodeDelegate ( )

Definition at line 16 of file alert_platform_node_delegate.cc.

16{}

Member Function Documentation

◆ GetData()

const ui::AXNodeData & flutter::AlertPlatformNodeDelegate::GetData ( ) const
overrideprivatevirtual

Implements ui::AXPlatformNodeDelegate.

Definition at line 31 of file alert_platform_node_delegate.cc.

31 {
32 return data_;
33}

◆ GetParent()

gfx::NativeViewAccessible flutter::AlertPlatformNodeDelegate::GetParent ( )
overridevirtual

Implements ui::AXPlatformNodeDelegate.

Definition at line 23 of file alert_platform_node_delegate.cc.

23 {
24 return parent_delegate_.GetNativeViewAccessible();
25}
virtual gfx::NativeViewAccessible GetNativeViewAccessible()=0

◆ GetTargetForNativeAccessibilityEvent()

gfx::AcceleratedWidget flutter::AlertPlatformNodeDelegate::GetTargetForNativeAccessibilityEvent ( )
overrideprivatevirtual

Implements ui::AXPlatformNodeDelegate.

Definition at line 19 of file alert_platform_node_delegate.cc.

19 {
20 return parent_delegate_.GetTargetForNativeAccessibilityEvent();
21}
virtual gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent()=0

◆ GetUniqueId()

const ui::AXUniqueId & flutter::AlertPlatformNodeDelegate::GetUniqueId ( ) const
overrideprivatevirtual

Implements ui::AXPlatformNodeDelegate.

Definition at line 27 of file alert_platform_node_delegate.cc.

27 {
28 return id_;
29}

◆ SetText()

void flutter::AlertPlatformNodeDelegate::SetText ( const std::u16string &  text)

Definition at line 35 of file alert_platform_node_delegate.cc.

35 {
36 data_.SetName(text);
37 data_.SetDescription(text);
38 data_.SetValue(text);
39}
std::u16string text
void SetValue(const std::string &value)
void SetName(const std::string &name)
void SetDescription(const std::string &description)

The documentation for this class was generated from the following files: