#include "ui/views/accessibility/ax_tree_source_views.h"
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/ax_tree_data.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/gfx/geometry/transform.h"
#include "ui/views/accessibility/ax_aura_obj_cache.h"
#include "ui/views/accessibility/ax_aura_obj_wrapper.h"
#include "ui/views/accessibility/ax_virtual_view.h"
namespace views {
AXTreeSourceViews::AXTreeSourceViews(ui::AXNodeID root_id,
const ui::AXTreeID& tree_id,
views::AXAuraObjCache* cache)
: … { … }
AXTreeSourceViews::~AXTreeSourceViews() = default;
void AXTreeSourceViews::HandleAccessibleAction(const ui::AXActionData& action) { … }
bool AXTreeSourceViews::GetTreeData(ui::AXTreeData* tree_data) const { … }
AXAuraObjWrapper* AXTreeSourceViews::GetRoot() const { … }
AXAuraObjWrapper* AXTreeSourceViews::GetFromId(int32_t id) const { … }
int32_t AXTreeSourceViews::GetId(AXAuraObjWrapper* node) const { … }
void AXTreeSourceViews::CacheChildrenIfNeeded(AXAuraObjWrapper* node) { … }
size_t AXTreeSourceViews::GetChildCount(AXAuraObjWrapper* node) const { … }
AXAuraObjWrapper* AXTreeSourceViews::ChildAt(AXAuraObjWrapper* node,
size_t index) const { … }
void AXTreeSourceViews::ClearChildCache(AXAuraObjWrapper* node) { … }
AXAuraObjWrapper* AXTreeSourceViews::GetParent(AXAuraObjWrapper* node) const { … }
bool AXTreeSourceViews::IsIgnored(AXAuraObjWrapper* node) const { … }
bool AXTreeSourceViews::IsEqual(AXAuraObjWrapper* node1,
AXAuraObjWrapper* node2) const { … }
AXAuraObjWrapper* AXTreeSourceViews::GetNull() const { … }
std::string AXTreeSourceViews::GetDebugString(AXAuraObjWrapper* node) const { … }
void AXTreeSourceViews::SerializeNode(AXAuraObjWrapper* node,
ui::AXNodeData* out_data) const { … }
std::string AXTreeSourceViews::ToString(AXAuraObjWrapper* root,
std::string prefix) { … }
}