#include "ui/accessibility/ax_tree_manager_base.h"
#include <set>
#include <utility>
#include "base/check_op.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "ui/accessibility/ax_node.h"
namespace ui {
AXTreeManagerBase* AXTreeManagerBase::GetManager(const AXTreeID& tree_id) { … }
std::unordered_map<AXTreeID, AXTreeManagerBase*, AXTreeIDHash>&
AXTreeManagerBase::GetTreeManagerMapInstance() { … }
AXTreeManagerBase::AXTreeManagerBase() = default;
AXTreeManagerBase::AXTreeManagerBase(std::unique_ptr<AXTree> tree) { … }
AXTreeManagerBase::AXTreeManagerBase(const AXTreeUpdate& initial_state)
: … { … }
AXTreeManagerBase::~AXTreeManagerBase() { … }
AXTreeManagerBase::AXTreeManagerBase(AXTreeManagerBase&& manager) { … }
AXTreeManagerBase& AXTreeManagerBase::operator=(AXTreeManagerBase&& manager) { … }
AXTree* AXTreeManagerBase::GetTree() const { … }
std::unique_ptr<AXTree> AXTreeManagerBase::SetTree(
std::unique_ptr<AXTree> tree) { … }
std::unique_ptr<AXTree> AXTreeManagerBase::SetTree(
const AXTreeUpdate& initial_state) { … }
std::unique_ptr<AXTree> AXTreeManagerBase::ReleaseTree() { … }
AXTreeUpdate AXTreeManagerBase::SnapshotTree() const { … }
bool AXTreeManagerBase::ApplyTreeUpdate(const AXTreeUpdate& update) { … }
const AXTreeID& AXTreeManagerBase::GetTreeID() const { … }
const AXTreeID& AXTreeManagerBase::GetParentTreeID() const { … }
const AXTreeData& AXTreeManagerBase::GetTreeData() const { … }
AXNode* AXTreeManagerBase::GetNodeFromTree(const AXTreeID& tree_id,
const AXNodeID& node_id) { … }
AXNode* AXTreeManagerBase::GetNode(const AXNodeID& node_id) const { … }
AXNode* AXTreeManagerBase::GetRoot() const { … }
AXNode* AXTreeManagerBase::GetRootOfChildTree(
const AXNodeID& host_node_id) const { … }
AXNode* AXTreeManagerBase::GetRootOfChildTree(const AXNode& host_node) const { … }
AXNode* AXTreeManagerBase::GetHostNode() const { … }
bool AXTreeManagerBase::AttachChildTree(const AXNodeID& host_node_id,
AXTreeManagerBase& child_manager) { … }
bool AXTreeManagerBase::AttachChildTree(AXNode& host_node,
AXTreeManagerBase& child_manager) { … }
std::optional<AXTreeManagerBase> AXTreeManagerBase::AttachChildTree(
const AXNodeID& host_node_id,
const AXTreeUpdate& initial_state) { … }
std::optional<AXTreeManagerBase> AXTreeManagerBase::AttachChildTree(
AXNode& host_node,
const AXTreeUpdate& initial_state) { … }
AXTreeManagerBase* AXTreeManagerBase::DetachChildTree(
const AXNodeID& host_node_id) { … }
AXTreeManagerBase* AXTreeManagerBase::DetachChildTree(AXNode& host_node) { … }
}