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

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

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 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/renderer/content_renderer_client.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 25ffdf7be7f49b7d48c8bf62b6d096449fdefea0..052510464907847cb0dd62e1bbeff39774c3af24 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -33,6 +33,11 @@ class Range;
class Size;
}
+namespace shell {
+class InterfaceRegistry;
+class InterfaceProvider;
+}
+
namespace url {
class Origin;
}
@@ -47,7 +52,6 @@ namespace content {
class ContextMenuClient;
class PluginInstanceThrottler;
class RenderView;
-class ServiceRegistry;
struct ContextMenuParams;
struct WebPluginInfo;
struct WebPreferences;
@@ -133,8 +137,13 @@ 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;
+ // Returns the InterfaceRegistry that this process uses to expose interfaces
+ // to the application running in this frame.
+ virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0;
+
+ // Returns the InterfaceProvider that this process can use to bind
+ // interfaces exposed to it by the application running in this frame.
+ virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0;
#if defined(ENABLE_PLUGINS)
// Registers a plugin that has been marked peripheral. If the origin
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698