#include <ax_platform_node.h>
Definition at line 29 of file ax_platform_node.h.
◆ NativeWindowHandlerCallback
typedef AXPlatformNode * ui::AXPlatformNode::NativeWindowHandlerCallback(gfx::NativeWindow) |
◆ ~AXPlatformNode()
ui::AXPlatformNode::~AXPlatformNode |
( |
| ) |
|
|
virtual |
◆ AXPlatformNode()
ui::AXPlatformNode::AXPlatformNode |
( |
| ) |
|
|
protected |
◆ AddAXModeObserver()
void ui::AXPlatformNode::AddAXModeObserver |
( |
AXModeObserver * |
observer | ) |
|
|
static |
◆ Create()
Definition at line 1052 of file ax_platform_node_mac.mm.
1052 {
1053 AXPlatformNodeBase* node = new AXPlatformNodeMac();
1054 node->Init(delegate);
1055 return node;
1056}
◆ Destroy()
void ui::AXPlatformNode::Destroy |
( |
| ) |
|
|
virtual |
◆ FromNativeViewAccessible()
◆ FromNativeWindow()
AXPlatformNode * ui::AXPlatformNode::FromNativeWindow |
( |
gfx::NativeWindow |
native_window | ) |
|
|
static |
Definition at line 24 of file ax_platform_node.cc.
25 {
26 if (native_window_handler_)
27 return native_window_handler_(native_window);
28 return nullptr;
29}
◆ GetAccessibilityMode()
static AXMode ui::AXPlatformNode::GetAccessibilityMode |
( |
| ) |
|
|
inlinestatic |
◆ GetDelegate()
◆ GetNativeViewAccessible()
◆ GetPopupFocusOverride()
◆ GetUniqueId()
int32_t ui::AXPlatformNode::GetUniqueId |
( |
| ) |
const |
◆ IsDescendantOf()
virtual bool ui::AXPlatformNode::IsDescendantOf |
( |
AXPlatformNode * |
ancestor | ) |
const |
|
pure virtual |
◆ IsPrimaryWebContentsForWindow()
bool ui::AXPlatformNode::IsPrimaryWebContentsForWindow |
( |
| ) |
const |
Definition at line 51 of file ax_platform_node.cc.
51 {
52 return is_primary_web_contents_for_window_;
53}
◆ NotifyAccessibilityEvent()
virtual void ui::AXPlatformNode::NotifyAccessibilityEvent |
( |
ax::mojom::Event |
event_type | ) |
|
|
pure virtual |
◆ NotifyAddAXModeFlags()
void ui::AXPlatformNode::NotifyAddAXModeFlags |
( |
AXMode |
mode_flags | ) |
|
|
static |
Definition at line 79 of file ax_platform_node.cc.
79 {
80
81 AXMode new_ax_mode(ax_mode_);
82 new_ax_mode |= mode_flags;
83
84 if (new_ax_mode == ax_mode_)
85 return;
86
87 ax_mode_ = new_ax_mode;
88 for (AXModeObserver* observer : ax_mode_observers_)
89 observer->OnAXModeAdded(mode_flags);
90}
◆ RegisterNativeWindowHandler()
◆ RemoveAXModeObserver()
void ui::AXPlatformNode::RemoveAXModeObserver |
( |
AXModeObserver * |
observer | ) |
|
|
static |
Definition at line 73 of file ax_platform_node.cc.
73 {
74 ax_mode_observers_.erase(
std::find(ax_mode_observers_.begin(),
75 ax_mode_observers_.end(), observer));
76}
int find(T *array, int N, T item)
◆ SetIsPrimaryWebContentsForWindow()
void ui::AXPlatformNode::SetIsPrimaryWebContentsForWindow |
( |
bool |
is_primary | ) |
|
Definition at line 47 of file ax_platform_node.cc.
47 {
48 is_primary_web_contents_for_window_ = is_primary;
49}
◆ SetPopupFocusOverride()
Definition at line 93 of file ax_platform_node.cc.
94 {
95 popup_focus_override_ = popup_focus_override;
96}
◆ SubtreeToString()
std::string ui::AXPlatformNode::SubtreeToString |
( |
| ) |
|
◆ ToString()
std::string ui::AXPlatformNode::ToString |
( |
| ) |
|
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
stream, |
|
|
AXPlatformNode & |
node |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: