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

Unified Diff: chrome/renderer/extensions/automation_internal_custom_bindings.h

Issue 2770403002: [Extensions Bindings] Remove ScriptContext::DispatchEvent (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/extensions/automation_internal_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/automation_internal_custom_bindings.h
diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h
index 8adb5fae148308b9273d92ae19672f8bde3163a4..3835f944eec263710db34d06318ca109e51431c1 100644
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
@@ -20,6 +20,7 @@ namespace extensions {
class AutomationInternalCustomBindings;
class AutomationMessageFilter;
+class ExtensionBindingsSystem;
struct TreeCache {
TreeCache();
@@ -44,7 +45,8 @@ struct TreeChangeObserver {
class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
public ui::AXTreeDelegate {
public:
- explicit AutomationInternalCustomBindings(ScriptContext* context);
+ AutomationInternalCustomBindings(ScriptContext* context,
+ ExtensionBindingsSystem* bindings_system);
~AutomationInternalCustomBindings() override;
@@ -183,6 +185,8 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
std::vector<int> deleted_node_ids_;
std::vector<int> text_changed_node_ids_;
+ ExtensionBindingsSystem* bindings_system_;
+
DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
};
« 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