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

Unified Diff: extensions/renderer/extensions_renderer_client.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
« no previous file with comments | « extensions/renderer/extension_bindings_system.h ('k') | extensions/renderer/js_extension_bindings_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/extensions_renderer_client.h
diff --git a/extensions/renderer/extensions_renderer_client.h b/extensions/renderer/extensions_renderer_client.h
index b8f5255b44531b206e0fa86ad4aa1b61bf3380d7..8ead04cf2016c92c9a1855983698f1c084d77836 100644
--- a/extensions/renderer/extensions_renderer_client.h
+++ b/extensions/renderer/extensions_renderer_client.h
@@ -6,6 +6,7 @@
#define EXTENSIONS_RENDERER_EXTENSIONS_RENDERER_CLIENT_H_
namespace extensions {
+class Dispatcher;
// Interface to allow the extensions module to make render-process-specific
// queries of the embedder. Should be Set() once in the render process.
@@ -25,6 +26,9 @@ class ExtensionsRendererClient {
// (third_party/WebKit/public/web/WebFrame.h) for additional context.
virtual int GetLowestIsolatedWorldId() const = 0;
+ // Returns the associated Dispatcher.
+ virtual Dispatcher* GetDispatcher() = 0;
+
// Returns the single instance of |this|.
static ExtensionsRendererClient* Get();
« no previous file with comments | « extensions/renderer/extension_bindings_system.h ('k') | extensions/renderer/js_extension_bindings_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698