#include "ui/accessibility/ax_tree_manager.h"
#include "base/lazy_instance.h"
#include "base/no_destructor.h"
#include "ui/accessibility/ax_common.h"
#include "ui/accessibility/ax_export.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_tree_id.h"
#include "ui/accessibility/ax_tree_manager_map.h"
#include "ui/accessibility/ax_tree_observer.h"
namespace ui {
bool AXTreeManager::is_fail_fast_mode_ = …;
AXTreeManagerMap& AXTreeManager::GetMap() { … }
AXTreeManager* AXTreeManager::FromID(const AXTreeID& ax_tree_id) { … }
AXTreeManager* AXTreeManager::ForChildTree(const AXNode& parent_node) { … }
base::RepeatingClosure& AXTreeManager::GetFocusChangeCallbackForTesting() { … }
void AXTreeManager::SetFocusChangeCallbackForTesting(
base::RepeatingClosure callback) { … }
AXTreeManager::AXTreeManager()
: … { … }
AXTreeManager::AXTreeManager(std::unique_ptr<AXTree> tree)
: … { … }
void AXTreeManager::FireFocusEvent(AXNode* node) { … }
AXNode* AXTreeManager::RetargetForEvents(AXNode* node,
RetargetEventType type) const { … }
bool AXTreeManager::CanFireEvents() const { … }
bool AXTreeManager::IsView() const { … }
AXNode* AXTreeManager::GetNodeFromTree(const AXTreeID& tree_id,
const AXNodeID node_id) const { … }
void AXTreeManager::Initialize(const AXTreeUpdate& initial_tree) { … }
AXNode* AXTreeManager::GetNode(const AXNodeID node_id) const { … }
const AXTreeData& AXTreeManager::GetTreeData() const { … }
AXTreeID AXTreeManager::GetParentTreeID() const { … }
bool AXTreeManager::IsPlatformTreeManager() const { … }
AXNode* AXTreeManager::GetRoot() const { … }
void AXTreeManager::WillBeRemovedFromMap() { … }
std::optional<AXNodeID> AXTreeManager::last_focused_node_id_ = …;
std::optional<AXTreeID> AXTreeManager::last_focused_node_tree_id_ = …;
void AXTreeManager::SetLastFocusedNode(AXNode* node) { … }
AXNode* AXTreeManager::GetLastFocusedNode() { … }
AXTreeManager::~AXTreeManager() { … }
std::unique_ptr<AXTree> AXTreeManager::SetTree(std::unique_ptr<AXTree> tree) { … }
std::unique_ptr<AXTree> AXTreeManager::SetTree(
const AXTreeUpdate& initial_state) { … }
void AXTreeManager::OnTreeDataChanged(AXTree* tree,
const AXTreeData& old_data,
const AXTreeData& new_data) { … }
void AXTreeManager::OnNodeWillBeDeleted(AXTree* tree, AXNode* node) { … }
void AXTreeManager::OnAtomicUpdateFinished(
AXTree* tree,
bool root_changed,
const std::vector<AXTreeObserver::Change>& changes) { … }
AXTreeManager* AXTreeManager::GetParentManager() const { … }
bool AXTreeManager::IsRoot() const { … }
AXTreeManager* AXTreeManager::GetRootManager() const { … }
AXNode* AXTreeManager::GetParentNodeFromParentTree() const { … }
void AXTreeManager::ParentConnectionChanged(AXNode* parent) { … }
void AXTreeManager::EnsureParentConnectionIfNotRootManager() { … }
}