#include "ui/accessibility/test_single_ax_tree_manager.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_tree_data.h"
#include "ui/accessibility/ax_tree_manager_map.h"
namespace ui {
TestSingleAXTreeManager::TestSingleAXTreeManager() = default;
TestSingleAXTreeManager::TestSingleAXTreeManager(std::unique_ptr<AXTree> tree)
: … { … }
TestSingleAXTreeManager::TestSingleAXTreeManager(
TestSingleAXTreeManager&& manager)
: … { … }
TestSingleAXTreeManager& TestSingleAXTreeManager::operator=(
TestSingleAXTreeManager&& manager) { … }
TestSingleAXTreeManager::~TestSingleAXTreeManager() = default;
void TestSingleAXTreeManager::DestroyTree() { … }
AXTree* TestSingleAXTreeManager::GetTree() const { … }
void TestSingleAXTreeManager::SetTree(std::unique_ptr<AXTree> tree) { … }
AXTree* TestSingleAXTreeManager::Init(AXTreeUpdate tree_update) { … }
AXTree* TestSingleAXTreeManager::Init(
const AXNodeData& node1,
const AXNodeData& node2 ,
const AXNodeData& node3 ,
const AXNodeData& node4 ,
const AXNodeData& node5 ,
const AXNodeData& node6 ,
const AXNodeData& node7 ,
const AXNodeData& node8 ,
const AXNodeData& node9 ,
const AXNodeData& node10 ,
const AXNodeData& node11 ,
const AXNodeData& node12 ) { … }
AXNodePosition::AXPositionInstance TestSingleAXTreeManager::CreateTreePosition(
const AXNode& anchor,
int child_index) const { … }
AXNodePosition::AXPositionInstance TestSingleAXTreeManager::CreateTreePosition(
const AXTree* tree,
const AXNodeData& anchor_data,
int child_index) const { … }
AXNodePosition::AXPositionInstance TestSingleAXTreeManager::CreateTreePosition(
const AXNodeData& anchor_data,
int child_index) const { … }
AXNodePosition::AXPositionInstance TestSingleAXTreeManager::CreateTextPosition(
const AXNode& anchor,
int text_offset,
ax::mojom::TextAffinity affinity) const { … }
AXNodePosition::AXPositionInstance TestSingleAXTreeManager::CreateTextPosition(
const AXTree* tree,
const AXNodeData& anchor_data,
int text_offset,
ax::mojom::TextAffinity affinity) const { … }
AXNodePosition::AXPositionInstance TestSingleAXTreeManager::CreateTextPosition(
const AXNodeData& anchor_data,
int text_offset,
ax::mojom::TextAffinity affinity) const { … }
AXNodePosition::AXPositionInstance TestSingleAXTreeManager::CreateTextPosition(
const AXNodeID& anchor_id,
int text_offset,
ax::mojom::TextAffinity affinity) const { … }
AXNode* TestSingleAXTreeManager::GetParentNodeFromParentTree() const { … }
}