Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: chrome/renderer/extensions/automation_internal_custom_bindings.h

Issue 2917363002: Automatically fire AX events on Mac based on tree changes (Closed)
Patch Set: Fix accidental shadowing of BrowserAccessibilityManager::OnAtomicUpdateFinished, caught by browser … Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/renderer/extensions/automation_internal_custom_bindings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
6 #define CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 6 #define CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/common/extensions/api/automation.h" 10 #include "chrome/common/extensions/api/automation.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 bool is_active_profile); 152 bool is_active_profile);
153 void OnAccessibilityLocationChange( 153 void OnAccessibilityLocationChange(
154 const ExtensionMsg_AccessibilityLocationChangeParams& params); 154 const ExtensionMsg_AccessibilityLocationChangeParams& params);
155 155
156 void UpdateOverallTreeChangeObserverFilter(); 156 void UpdateOverallTreeChangeObserverFilter();
157 157
158 // AXTreeDelegate implementation. 158 // AXTreeDelegate implementation.
159 void OnNodeDataWillChange(ui::AXTree* tree, 159 void OnNodeDataWillChange(ui::AXTree* tree,
160 const ui::AXNodeData& old_node_data, 160 const ui::AXNodeData& old_node_data,
161 const ui::AXNodeData& new_node_data) override; 161 const ui::AXNodeData& new_node_data) override;
162 void OnTreeDataChanged(ui::AXTree* tree) override; 162 void OnTreeDataChanged(ui::AXTree* tree,
163 const ui::AXTreeData& old_tree_data,
164 const ui::AXTreeData& new_tree_data) override;
163 void OnNodeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override; 165 void OnNodeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override;
164 void OnSubtreeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override; 166 void OnSubtreeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override;
165 void OnNodeWillBeReparented(ui::AXTree* tree, ui::AXNode* node) override; 167 void OnNodeWillBeReparented(ui::AXTree* tree, ui::AXNode* node) override;
166 void OnSubtreeWillBeReparented(ui::AXTree* tree, ui::AXNode* node) override; 168 void OnSubtreeWillBeReparented(ui::AXTree* tree, ui::AXNode* node) override;
167 void OnNodeCreated(ui::AXTree* tree, ui::AXNode* node) override; 169 void OnNodeCreated(ui::AXTree* tree, ui::AXNode* node) override;
168 void OnNodeReparented(ui::AXTree* tree, ui::AXNode* node) override; 170 void OnNodeReparented(ui::AXTree* tree, ui::AXNode* node) override;
169 void OnNodeChanged(ui::AXTree* tree, ui::AXNode* node) override; 171 void OnNodeChanged(ui::AXTree* tree, ui::AXNode* node) override;
170 void OnAtomicUpdateFinished(ui::AXTree* tree, 172 void OnAtomicUpdateFinished(ui::AXTree* tree,
171 bool root_changed, 173 bool root_changed,
172 const std::vector<Change>& changes) override; 174 const std::vector<Change>& changes) override;
(...skipping 14 matching lines...) Expand all
187 std::vector<int> text_changed_node_ids_; 189 std::vector<int> text_changed_node_ids_;
188 ExtensionBindingsSystem* bindings_system_; 190 ExtensionBindingsSystem* bindings_system_;
189 bool should_ignore_context_; 191 bool should_ignore_context_;
190 192
191 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); 193 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
192 }; 194 };
193 195
194 } // namespace extensions 196 } // namespace extensions
195 197
196 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 198 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/extensions/automation_internal_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698