Flutter Engine
The Flutter Engine
third_party
accessibility
ax
platform
ax_platform_tree_manager.h
Go to the documentation of this file.
1
// Copyright 2019 The Chromium Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_TREE_MANAGER_H_
6
#define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_TREE_MANAGER_H_
7
8
#include "
ax/ax_export.h
"
9
#include "
ax/ax_node.h
"
10
#include "
ax/ax_tree_id.h
"
11
#include "
ax/ax_tree_manager.h
"
12
13
namespace
ui
{
14
15
class
AXPlatformNode;
16
class
AXPlatformNodeDelegate;
17
18
// Abstract interface for a class that owns an AXTree and manages its
19
// connections to other AXTrees in the same page or desktop (parent and child
20
// trees).
21
class
AX_EXPORT
AXPlatformTreeManager
:
public
AXTreeManager
{
22
public
:
23
virtual
~AXPlatformTreeManager
() =
default
;
24
25
// Returns an AXPlatformNode with the specified and |node_id|.
26
virtual
AXPlatformNode
*
GetPlatformNodeFromTree
(
27
const
AXNode::AXID
node_id)
const
= 0;
28
29
// Returns an AXPlatformNode that corresponds to the given |node|.
30
virtual
AXPlatformNode
*
GetPlatformNodeFromTree
(
const
AXNode
& node)
const
= 0;
31
32
// Returns an AXPlatformNodeDelegate that corresponds to a root node
33
// of the accessibility tree.
34
virtual
AXPlatformNodeDelegate
*
RootDelegate
()
const
= 0;
35
};
36
37
}
// namespace ui
38
39
#endif
// UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_TREE_MANAGER_H_
ax_export.h
AX_EXPORT
#define AX_EXPORT
Definition:
ax_export.h:29
ax_node.h
ax_tree_id.h
ax_tree_manager.h
ui::AXNode
Definition:
ax_node.h:33
ui::AXNode::AXID
int32_t AXID
Definition:
ax_node.h:36
ui::AXPlatformNodeDelegate
Definition:
ax_platform_node_delegate.h:60
ui::AXPlatformNode
Definition:
ax_platform_node.h:29
ui::AXPlatformTreeManager
Definition:
ax_platform_tree_manager.h:21
ui::AXPlatformTreeManager::GetPlatformNodeFromTree
virtual AXPlatformNode * GetPlatformNodeFromTree(const AXNode &node) const =0
ui::AXPlatformTreeManager::RootDelegate
virtual AXPlatformNodeDelegate * RootDelegate() const =0
ui::AXPlatformTreeManager::~AXPlatformTreeManager
virtual ~AXPlatformTreeManager()=default
ui::AXPlatformTreeManager::GetPlatformNodeFromTree
virtual AXPlatformNode * GetPlatformNodeFromTree(const AXNode::AXID node_id) const =0
ui::AXTreeManager
Definition:
ax_tree_manager.h:18
ui
Definition:
window_binding_handler.h:18
Generated on Sun Jun 23 2024 21:55:20 for Flutter Engine by
1.9.4