chromium/ui/accessibility/test_single_ax_tree_manager.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 /* = AXNodeData() */,
    const AXNodeData& node3 /* = AXNodeData() */,
    const AXNodeData& node4 /* = AXNodeData() */,
    const AXNodeData& node5 /* = AXNodeData() */,
    const AXNodeData& node6 /* = AXNodeData() */,
    const AXNodeData& node7 /* = AXNodeData() */,
    const AXNodeData& node8 /* = AXNodeData() */,
    const AXNodeData& node9 /* = AXNodeData() */,
    const AXNodeData& node10 /* = AXNodeData() */,
    const AXNodeData& node11 /* = AXNodeData() */,
    const AXNodeData& node12 /* = AXNodeData() */) {}

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 {}

}  // namespace ui