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

Unified Diff: content/public/browser/render_frame_host.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/browser/gpu_service_registry.h ('k') | content/public/gpu/content_gpu_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index c49cf6bed53b6509da639b6c0e7ba66dc8cb38d1..2fcb9cf15140032fcea2101bb9787b5248542fac 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -24,11 +24,15 @@ namespace base {
class Value;
}
+namespace shell {
+class InterfaceRegistry;
+class InterfaceProvider;
+}
+
namespace content {
class RenderProcessHost;
class RenderViewHost;
class RenderWidgetHostView;
-class ServiceRegistry;
class SiteInstance;
struct FileChooserFileInfo;
@@ -179,8 +183,13 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// RenderViewHost for this frame.
virtual RenderViewHost* GetRenderViewHost() = 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;
// Returns the visibility state of the frame. The different visibility states
// of a frame are defined in Blink.
« no previous file with comments | « content/public/browser/gpu_service_registry.h ('k') | content/public/gpu/content_gpu_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698