#include <ax_platform_node.h>
Public Types | |
| typedef AXPlatformNode * | NativeWindowHandlerCallback(gfx::NativeWindow) |
Public Member Functions | |
| 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 () |
Static Public Member Functions | |
| 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) |
Protected Member Functions | |
| AXPlatformNode () | |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, AXPlatformNode &node) |
Definition at line 29 of file ax_platform_node.h.
| typedef AXPlatformNode * ui::AXPlatformNode::NativeWindowHandlerCallback(gfx::NativeWindow) |
Definition at line 31 of file ax_platform_node.h.
|
virtual |
Definition at line 38 of file ax_platform_node.cc.
|
protected |
Definition at line 36 of file ax_platform_node.cc.
|
static |
Definition at line 68 of file ax_platform_node.cc.
|
static |
Definition at line 1049 of file ax_platform_node_mac.mm.
References ui::AXPlatformNodeBase::Init().
Referenced by flutter::FlutterPlatformNodeDelegateMac::Init(), flutter::FlutterPlatformNodeDelegateWindows::Init(), and flutter::FlutterPlatformNodeDelegateMac::NodeDataChanged().
|
virtual |
Reimplemented in ui::AXPlatformNodeBase, and ui::AXPlatformNodeMac.
Definition at line 40 of file ax_platform_node.cc.
Referenced by ui::AXPlatformNodeBase::Destroy(), flutter::FlutterPlatformNodeDelegateMac::NodeDataChanged(), flutter::FlutterPlatformNodeDelegateMac::~FlutterPlatformNodeDelegateMac(), flutter::FlutterPlatformNodeDelegateWindows::~FlutterPlatformNodeDelegateWindows(), and ui::TestAXNodeWrapper::~TestAXNodeWrapper().
|
static |
Definition at line 1056 of file ax_platform_node_mac.mm.
References accessible.
Referenced by ui::AXFragmentRootPlatformNodeWin::ElementProviderFromPoint(), ui::AXPlatformNodeBase::FromNativeViewAccessible(), ui::AXFragmentRootWin::GetChildNodeDelegate(), ui::AXFragmentRootPlatformNodeWin::GetFocus(), ui::AXPlatformNodeDelegateBase::GetIndexInParent(), ui::AXPlatformNodeDelegateBase::GetInnerText(), ui::AXPlatformNodeDelegateBase::GetParentDelegate(), ui::AXPlatformNodeBase::NearestLeafToPoint(), ui::AXPlatformNodeDelegateBase::ChildIteratorBase::operator*(), ui::AXPlatformNodeDelegateBase::ChildIteratorBase::operator->(), ui::TEST(), ui::TEST(), ui::TEST(), ui::TEST(), and ui::TEST().
|
static |
Definition at line 24 of file ax_platform_node.cc.
|
inlinestatic |
Definition at line 56 of file ax_platform_node.h.
|
pure virtual |
Implemented in ui::AXPlatformNodeBase.
Referenced by ui::AXFragmentRootPlatformNodeWin::ElementProviderFromPoint(), ui::AXFragmentRootWin::GetChildNodeDelegate(), ui::AXFragmentRootPlatformNodeWin::GetFocus(), ui::AXPlatformNodeDelegateBase::GetIndexInParent(), ui::AXPlatformNodeDelegateBase::GetInnerText(), ui::AXPlatformNodeDelegateBase::GetParentDelegate(), GetUniqueId(), ui::AXPlatformNodeDelegateBase::ChildIteratorBase::operator*(), ui::AXPlatformNodeDelegateBase::ChildIteratorBase::operator->(), SubtreeToString(), and ToString().
|
pure virtual |
Implemented in flutter::FlutterTextPlatformNode, ui::AXPlatformNodeBase, and ui::AXPlatformNodeMac.
Referenced by ui::TestAXNodeWrapper::ChildAtIndex(), ui::TestAXNodeWrapper::GetFocus(), flutter::FlutterPlatformNodeDelegateMac::GetNativeViewAccessible(), flutter::FlutterPlatformNodeDelegateWindows::GetNativeViewAccessible(), ui::TestAXNodeWrapper::GetNativeViewAccessible(), ui::TestAXNodeWrapper::GetParent(), flutter::FlutterPlatformNodeDelegateWindows::HitTestSync(), ui::TestAXNodeWrapper::HitTestSync(), ui::AXPlatformNodeWinTest::InitNodeAsFragmentRoot(), ui::AXPlatformNodeWinTest::IRawElementProviderFragmentFromNode(), ui::AXPlatformNodeWinTest::QueryInterfaceFromNode(), ui::TEST_F(), and ui::TEST_F().
|
static |
Definition at line 99 of file ax_platform_node.cc.
| int32_t ui::AXPlatformNode::GetUniqueId | ( | ) | const |
Definition at line 42 of file ax_platform_node.cc.
References BASE_DCHECK, ui::AXUniqueId::Get(), GetDelegate(), and ui::AXPlatformNodeDelegate::GetUniqueId().
Referenced by ui::AXPlatformNodeBase::Destroy(), ui::AXPlatformNodeBase::GetHyperlinkIndexFromChild(), and ui::AXPlatformNodeBase::Init().
|
pure virtual |
Implemented in ui::AXPlatformNodeBase.
References ui::ToString().
| bool ui::AXPlatformNode::IsPrimaryWebContentsForWindow | ( | ) | const |
Definition at line 51 of file ax_platform_node.cc.
|
pure virtual |
Implemented in ui::AXPlatformNodeBase, and ui::AXPlatformNodeMac.
Referenced by flutter::FlutterPlatformNodeDelegateWindows::DispatchWinAccessibilityEvent().
|
static |
Definition at line 79 of file ax_platform_node.cc.
Referenced by ui::TEST(), ui::TEST(), ui::TEST(), ui::TEST(), ui::TEST(), ui::TEST(), and ui::TEST().
|
static |
Definition at line 31 of file ax_platform_node.cc.
References handler.
|
static |
Definition at line 73 of file ax_platform_node.cc.
| void ui::AXPlatformNode::SetIsPrimaryWebContentsForWindow | ( | bool | is_primary | ) |
Definition at line 47 of file ax_platform_node.cc.
|
static |
Definition at line 93 of file ax_platform_node.cc.
| std::string ui::AXPlatformNode::SubtreeToString | ( | ) |
Definition at line 59 of file ax_platform_node.cc.
References GetDelegate(), and ui::AXPlatformNodeDelegate::SubtreeToString().
| std::string ui::AXPlatformNode::ToString | ( | ) |
Definition at line 55 of file ax_platform_node.cc.
References GetDelegate(), and ui::AXPlatformNodeDelegate::ToString().
|
friend |
Definition at line 63 of file ax_platform_node.cc.