16 : tree_(
std::move(tree)) {
35 BASE_LOG() <<
"Did you forget to call SetTree?";
45 tree_ = std::move(tree);
51 return (tree_ &&
GetTreeID() == tree_id) ? tree_->GetFromId(node_id)
56 return tree_ ? tree_->GetFromId(node_id) :
nullptr;
68 return tree_ ? tree_->root() :
nullptr;
void AddTreeManager(AXTreeID tree_id, AXTreeManager *manager)
static AXTreeManagerMap & GetInstance()
void RemoveTreeManager(AXTreeID tree_id)
AXNode * GetParentNodeFromParentTreeAsAXNode() const override
AXNode * GetNodeFromTree(const AXTreeID tree_id, const AXNode::AXID node_id) const override
virtual ~TestAXTreeManager()
AXTreeID GetTreeID() const override
void SetTree(std::unique_ptr< AXTree > tree)
AXTreeID GetParentTreeID() const override
AXNode * GetRootAsAXNode() const override
const AXTreeID & AXTreeIDUnknown()
#define BASE_UNREACHABLE()