| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |