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

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

Issue 2238613002: Support output for Chrome's native find in ChromeVox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@text_markers
Patch Set: Don't forget to bit shift in SendTreeChanges (checking against cached overall tree filter). Created 4 years, 4 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
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 ui::AXTree* tree, 165 ui::AXTree* tree,
166 ui::AXNode* node); 166 ui::AXNode* node);
167 void SendChildTreeIDEvent(ui::AXTree* tree, ui::AXNode* node); 167 void SendChildTreeIDEvent(ui::AXTree* tree, ui::AXNode* node);
168 void SendNodesRemovedEvent(ui::AXTree* tree, const std::vector<int>& ids); 168 void SendNodesRemovedEvent(ui::AXTree* tree, const std::vector<int>& ids);
169 169
170 base::hash_map<int, TreeCache*> tree_id_to_tree_cache_map_; 170 base::hash_map<int, TreeCache*> tree_id_to_tree_cache_map_;
171 base::hash_map<ui::AXTree*, TreeCache*> axtree_to_tree_cache_map_; 171 base::hash_map<ui::AXTree*, TreeCache*> axtree_to_tree_cache_map_;
172 scoped_refptr<AutomationMessageFilter> message_filter_; 172 scoped_refptr<AutomationMessageFilter> message_filter_;
173 bool is_active_profile_; 173 bool is_active_profile_;
174 std::vector<TreeChangeObserver> tree_change_observers_; 174 std::vector<TreeChangeObserver> tree_change_observers_;
175 api::automation::TreeChangeObserverFilter 175 // A bit-map of api::automation::TreeChangeObserverFilter.
176 tree_change_observer_overall_filter_; 176 int tree_change_observer_overall_filter_;
177 std::vector<int> deleted_node_ids_; 177 std::vector<int> deleted_node_ids_;
178 std::vector<int> text_changed_node_ids_; 178 std::vector<int> text_changed_node_ids_;
179 179
180 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); 180 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
181 }; 181 };
182 182
183 } // namespace extensions 183 } // namespace extensions
184 184
185 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 185 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/renderer/extensions/automation_internal_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698