Home
last modified time | relevance | path

Searched refs:AXNode (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/ui/accessibility/
Dax_tree.h16 class AXNode; variable
42 virtual void OnNodeWillBeDeleted(AXNode* node) = 0;
46 virtual void OnNodeCreated(AXNode* node) = 0;
50 virtual void OnNodeChanged(AXNode* node) = 0;
54 virtual void OnNodeCreationFinished(AXNode* node) = 0;
58 virtual void OnNodeChangeFinished(AXNode* node) = 0;
61 virtual void OnRootChanged(AXNode* new_root) = 0;
77 virtual AXNode* GetRoot() const;
78 virtual AXNode* GetFromId(int32 id) const;
93 AXNode* CreateNode(AXNode* parent, int32 id, int32 index_in_parent);
[all …]
Dax_node.cc9 AXNode::AXNode(AXNode* parent, int32 id, int32 index_in_parent) in AXNode() function in ui::AXNode
15 AXNode::~AXNode() { in ~AXNode()
18 void AXNode::SetData(const AXNodeData& src) { in SetData()
22 void AXNode::SetLocation(const gfx::Rect& new_location) { in SetLocation()
26 void AXNode::SetIndexInParent(int index_in_parent) { in SetIndexInParent()
30 void AXNode::SwapChildren(std::vector<AXNode*>& children) { in SwapChildren()
34 void AXNode::Destroy() { in Destroy()
38 bool AXNode::IsDescendantOf(AXNode* ancestor) { in IsDescendantOf()
Dax_serializable_tree.cc17 class AX_EXPORT AXTreeSourceAdapter : public AXTreeSource<const AXNode*> {
23 virtual AXNode* GetRoot() const OVERRIDE { in GetRoot()
27 virtual AXNode* GetFromId(int32 id) const OVERRIDE { in GetFromId()
31 virtual int32 GetId(const AXNode* node) const OVERRIDE { in GetId()
36 const AXNode* node, in GetChildren()
37 std::vector<const AXNode*>* out_children) const OVERRIDE { in GetChildren()
42 virtual AXNode* GetParent(const AXNode* node) const OVERRIDE { in GetParent()
46 virtual bool IsValid(const AXNode* node) const OVERRIDE { in IsValid()
50 virtual bool IsEqual(const AXNode* node1, in IsEqual()
51 const AXNode* node2) const OVERRIDE { in IsEqual()
[all …]
Dax_node.h13 class AX_EXPORT AXNode {
18 AXNode(AXNode* parent, int32 id, int32 index_in_parent);
19 virtual ~AXNode();
23 AXNode* parent() const { return parent_; } in parent()
26 const std::vector<AXNode*>& children() const { return children_; } in children()
30 AXNode* ChildAtIndex(int index) const { return children_[index]; } in ChildAtIndex()
46 void SwapChildren(std::vector<AXNode*>& children);
56 bool IsDescendantOf(AXNode* ancestor);
60 AXNode* parent_;
61 std::vector<AXNode*> children_;
Dax_tree.cc17 std::string TreeToStringHelper(AXNode* node, int indent) { in TreeToStringHelper()
33 std::set<AXNode*> pending_nodes;
36 std::set<AXNode*> new_nodes;
70 AXNode* AXTree::GetRoot() const { in GetRoot()
74 AXNode* AXTree::GetFromId(int32 id) const { in GetFromId()
75 base::hash_map<int32, AXNode*>::const_iterator iter = id_map_.find(id); in GetFromId()
84 AXNode* node = GetFromId(update.node_id_to_clear); in Unserialize()
96 std::vector<AXNode*> children; in Unserialize()
109 for (std::set<AXNode*>::iterator iter = update_state.pending_nodes.begin(); in Unserialize()
118 AXNode* node = GetFromId(update.nodes[i].id); in Unserialize()
[all …]
Dax_tree_unittest.cc19 virtual void OnNodeWillBeDeleted(AXNode* node) OVERRIDE { in OnNodeWillBeDeleted()
23 virtual void OnNodeCreated(AXNode* node) OVERRIDE { in OnNodeCreated()
27 virtual void OnNodeChanged(AXNode* node) OVERRIDE { in OnNodeChanged()
31 virtual void OnNodeCreationFinished(AXNode* node) OVERRIDE { in OnNodeCreationFinished()
35 virtual void OnNodeChangeFinished(AXNode* node) OVERRIDE { in OnNodeChangeFinished()
39 virtual void OnRootChanged(AXNode* new_root) OVERRIDE { in OnRootChanged()
88 scoped_ptr<AXTreeSource<const AXNode*> > tree_source( in TEST()
90 AXTreeSerializer<const AXNode*> serializer(tree_source.get()); in TEST()
97 const AXNode* root_node = dst_tree.GetRoot(); in TEST()
104 const AXNode* button_node = root_node->ChildAtIndex(0); in TEST()
[all …]
Dax_generated_tree_unittest.cc28 void TreeToStringHelper(const AXNode* node, std::string* out_result) { in TreeToStringHelper()
210 scoped_ptr<AXTreeSource<const AXNode*> > tree0_source( in TEST()
212 AXTreeSerializer<const AXNode*> serializer(tree0_source.get()); in TEST()
224 scoped_ptr<AXTreeSource<const AXNode*> > tree1_source( in TEST()
Dax_tree_serializer_unittest.cc33 scoped_ptr<AXTreeSource<const AXNode*> > tree0_source_;
34 scoped_ptr<AXTreeSource<const AXNode*> > tree1_source_;
35 scoped_ptr<AXTreeSerializer<const AXNode*> > serializer_;
51 serializer_.reset(new AXTreeSerializer<const AXNode*>(tree0_source_.get())); in CreateTreeSerializer()
Dax_serializable_tree.h21 virtual AXTreeSource<const AXNode*>* CreateTreeSource();
/external/chromium_org/content/browser/accessibility/
Dcross_platform_accessibility_browsertest.cc52 const ui::AXNode* node, base::hash_set<int>* ids) { in RecursiveAssertUniqueIds()
64 std::string GetAttr(const ui::AXNode* node,
66 int GetIntAttr(const ui::AXNode* node,
68 bool GetBoolAttr(const ui::AXNode* node,
96 const ui::AXNode* node, in GetAttr()
109 const ui::AXNode* node, in GetIntAttr()
122 const ui::AXNode* node, in GetBoolAttr()
145 const ui::AXNode* root = tree.GetRoot(); in IN_PROC_BROWSER_TEST_F()
165 const ui::AXNode* body = root->ChildAtIndex(0); in IN_PROC_BROWSER_TEST_F()
175 const ui::AXNode* button = body->ChildAtIndex(0); in IN_PROC_BROWSER_TEST_F()
[all …]
Dbrowser_accessibility_manager.h98 BrowserAccessibility* GetFromAXNode(ui::AXNode* node);
119 void SetFocus(ui::AXNode* node, bool notify);
178 virtual void OnNodeWillBeDeleted(ui::AXNode* node) OVERRIDE;
179 virtual void OnNodeCreated(ui::AXNode* node) OVERRIDE;
180 virtual void OnNodeChanged(ui::AXNode* node) OVERRIDE;
181 virtual void OnNodeCreationFinished(ui::AXNode* node) OVERRIDE;
182 virtual void OnNodeChangeFinished(ui::AXNode* node) OVERRIDE;
183 virtual void OnRootChanged(ui::AXNode* new_root) OVERRIDE {} in OnRootChanged()
249 ui::AXNode* focus_;
Dbrowser_accessibility_manager.cc123 ui::AXNode* node) { in GetFromAXNode()
191 ui::AXNode* node = tree_->GetFromId(param.id); in OnAccessibilityEvents()
221 ui::AXNode* node = obj->node(); in OnLocationChanges()
252 void BrowserAccessibilityManager::SetFocus(ui::AXNode* node, bool notify) { in SetFocus()
334 void BrowserAccessibilityManager::OnNodeWillBeDeleted(ui::AXNode* node) { in OnNodeWillBeDeleted()
347 void BrowserAccessibilityManager::OnNodeCreated(ui::AXNode* node) { in OnNodeCreated()
354 void BrowserAccessibilityManager::OnNodeChanged(ui::AXNode* node) { in OnNodeChanged()
358 void BrowserAccessibilityManager::OnNodeCreationFinished(ui::AXNode* node) { in OnNodeCreationFinished()
362 void BrowserAccessibilityManager::OnNodeChangeFinished(ui::AXNode* node) { in OnNodeChangeFinished()
Dbrowser_accessibility_manager_win.h49 virtual void OnNodeWillBeDeleted(ui::AXNode* node) OVERRIDE;
50 virtual void OnNodeCreated(ui::AXNode* node) OVERRIDE;
71 virtual void OnRootChanged(ui::AXNode* new_root) OVERRIDE;
Dbrowser_accessibility.h53 virtual void Init(BrowserAccessibilityManager* manager, ui::AXNode* node);
140 ui::AXNode* node() const { return node_; } in node()
255 ui::AXNode* node_;
Dbrowser_accessibility_manager_win.cc102 void BrowserAccessibilityManagerWin::OnNodeCreated(ui::AXNode* node) { in OnNodeCreated()
109 void BrowserAccessibilityManagerWin::OnNodeWillBeDeleted(ui::AXNode* node) { in OnNodeWillBeDeleted()
279 void BrowserAccessibilityManagerWin::OnRootChanged(ui::AXNode* new_root) { in OnRootChanged()
Dbrowser_accessibility_manager_mac.h34 virtual void OnNodeCreationFinished(ui::AXNode* node) OVERRIDE;
Dbrowser_accessibility_manager_android.h70 virtual void OnRootChanged(ui::AXNode* new_root) OVERRIDE;
Dbrowser_accessibility.cc36 ui::AXNode* node) { in Init()
124 ui::AXNode* parent = node_->parent(); in GetParent()
Dbrowser_accessibility_manager_mac.mm159 void BrowserAccessibilityManagerMac::OnNodeCreationFinished(ui::AXNode* node) {
Dbrowser_accessibility_manager_android.cc487 void BrowserAccessibilityManagerAndroid::OnRootChanged(ui::AXNode* new_root) { in OnRootChanged()