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

Unified Diff: content/browser/frame_host/render_frame_host_impl.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
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index e16b0e49849dfe7d4bab19ffc82b3daa2d1f1325..8bc25628bdc22c306d2fd68e2f3a853cc58706cf 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -74,6 +74,7 @@ class WebBluetoothService;
namespace content {
+class AssociatedInterfaceProviderImpl;
class CrossProcessFrameConnector;
class CrossSiteTransferringRequest;
class FrameTree;
@@ -159,6 +160,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
RenderViewHost* GetRenderViewHost() override;
shell::InterfaceRegistry* GetInterfaceRegistry() override;
shell::InterfaceProvider* GetRemoteInterfaces() override;
+ AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override;
blink::WebPageVisibilityState GetVisibilityState() override;
bool IsRenderFrameLive() override;
int GetProxyCount() override;
@@ -177,6 +179,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
// IPC::Listener
bool OnMessageReceived(const IPC::Message& msg) override;
+ void OnAssociatedInterfaceRequest(
+ const std::string& interface_name,
+ mojo::ScopedInterfaceEndpointHandle handle) override;
// BrowserAccessibilityDelegate
void AccessibilitySetFocus(int acc_obj_id) override;
@@ -1055,6 +1060,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
std::vector<std::unique_ptr<shell::InterfaceRegistry>> media_registries_;
+ std::unique_ptr<AssociatedInterfaceProviderImpl>
+ remote_associated_interfaces_;
+
// NOTE: This must be the last member.
base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698