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

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

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: nit Created 4 years, 3 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/associated_interface_registry.h ('k') | content/renderer/render_frame_impl.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 0ac29c8eecdab5aaa8ebc77b1f0e2422197520f6..a49a2c4e1516450fd2a3997444ae44da9164e9db 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -50,6 +50,8 @@ class Isolate;
}
namespace content {
+class AssociatedInterfaceProvider;
+class AssociatedInterfaceRegistry;
class ContextMenuClient;
class PluginInstanceThrottler;
class RenderAccessibility;
@@ -155,6 +157,15 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// interfaces exposed to it by the application running in this frame.
virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0;
+ // Returns the AssociatedInterfaceRegistry this frame can use to expose
+ // frame-specific Channel-associated interfaces to the remote RenderFrameHost.
+ virtual AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() = 0;
+
+ // Returns the AssociatedInterfaceProvider this frame can use to access
+ // frame-specific Channel-assocaited interfaces from the remote
+ // RenderFrameHost.
+ virtual AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() = 0;
+
#if defined(ENABLE_PLUGINS)
// Registers a plugin that has been marked peripheral. If the origin
// whitelist is later updated and includes |content_origin|, then
« no previous file with comments | « content/public/common/associated_interface_registry.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698