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

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

Issue 2782753002: Ensure only one instance of AutomationInternalCustomBindings for background page extensions (Closed)
Patch Set: Rebase. Created 3 years, 8 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 base::hash_map<int, TreeCache*> tree_id_to_tree_cache_map_; 177 base::hash_map<int, TreeCache*> tree_id_to_tree_cache_map_;
178 base::hash_map<ui::AXTree*, TreeCache*> axtree_to_tree_cache_map_; 178 base::hash_map<ui::AXTree*, TreeCache*> axtree_to_tree_cache_map_;
179 scoped_refptr<AutomationMessageFilter> message_filter_; 179 scoped_refptr<AutomationMessageFilter> message_filter_;
180 bool is_active_profile_; 180 bool is_active_profile_;
181 std::vector<TreeChangeObserver> tree_change_observers_; 181 std::vector<TreeChangeObserver> tree_change_observers_;
182 // A bit-map of api::automation::TreeChangeObserverFilter. 182 // A bit-map of api::automation::TreeChangeObserverFilter.
183 int tree_change_observer_overall_filter_; 183 int tree_change_observer_overall_filter_;
184 std::vector<int> deleted_node_ids_; 184 std::vector<int> deleted_node_ids_;
185 std::vector<int> text_changed_node_ids_; 185 std::vector<int> text_changed_node_ids_;
186
187 ExtensionBindingsSystem* bindings_system_; 186 ExtensionBindingsSystem* bindings_system_;
187 bool should_ignore_context_;
188 188
189 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); 189 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
190 }; 190 };
191 191
192 } // namespace extensions 192 } // namespace extensions
193 193
194 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 194 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698