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

Unified Diff: content/public/renderer/render_frame.h

Issue 285333003: Support exposing Mojo services between render frames, render threads, and their respective hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 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 | « content/public/common/service_registry.h ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index c48acd801239e3396a743c76ae11248e2c28a93e..cbc1546bd582b2e598b23be5ad1d6c8aac96fb66 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -25,6 +25,7 @@ struct WebPluginParams;
namespace content {
class ContextMenuClient;
class RenderView;
+class ServiceRegistry;
struct ContextMenuParams;
struct WebPluginInfo;
@@ -88,6 +89,9 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// Return true if this frame is hidden.
virtual bool IsHidden() = 0;
+ // Returns the ServiceRegistry for this frame.
+ virtual ServiceRegistry* GetServiceRegistry() = 0;
+
protected:
virtual ~RenderFrame() {}
« no previous file with comments | « content/public/common/service_registry.h ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698