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

Unified Diff: extensions/renderer/js_extension_bindings_system.h

Issue 2909673003: [Extensions Bindings] Request JS execution from messaging bindings (Closed)
Patch Set: lazyboy's 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 side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/js_extension_bindings_system.h
diff --git a/extensions/renderer/js_extension_bindings_system.h b/extensions/renderer/js_extension_bindings_system.h
index 0278e74ed9f0fe21b404e58f0d011482b9f4dab9..6fe6f6a57c6247c93db0f68e20a37f9faf4eba7f 100644
--- a/extensions/renderer/js_extension_bindings_system.h
+++ b/extensions/renderer/js_extension_bindings_system.h
@@ -30,6 +30,8 @@ class JsExtensionBindingsSystem : public ExtensionBindingsSystem {
const base::ListValue* event_args,
const base::DictionaryValue* filtering_info,
ScriptContext* context) override;
+ bool HasEventListenerInContext(const std::string& event_name,
+ ScriptContext* context) override;
void HandleResponse(int request_id,
bool success,
const base::ListValue& response,
« no previous file with comments | « extensions/renderer/extensions_renderer_client.h ('k') | extensions/renderer/js_extension_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698