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

Unified Diff: content/renderer/render_frame_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
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 4f6a23b07192ad1d31608bc4daf69b3081edf430..8ac38ba98d4180830db7b5789382c5208f66d12b 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -23,6 +23,7 @@
#include "base/process/process_handle.h"
#include "build/build_config.h"
#include "content/common/accessibility_mode_enums.h"
+#include "content/common/associated_interface_registry_impl.h"
#include "content/common/frame.mojom.h"
#include "content/common/frame_message_enums.h"
#include "content/public/common/console_message_level.h"
@@ -120,6 +121,7 @@ class Origin;
namespace content {
+class AssociatedInterfaceProviderImpl;
class ChildFrameCompositingHelper;
class CompositorDependencies;
class DevToolsAgent;
@@ -410,6 +412,8 @@ class CONTENT_EXPORT RenderFrameImpl
bool IsHidden() override;
shell::InterfaceRegistry* GetInterfaceRegistry() override;
shell::InterfaceProvider* GetRemoteInterfaces() override;
+ AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() override;
+ AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override;
#if defined(ENABLE_PLUGINS)
void RegisterPeripheralPlugin(
const url::Origin& content_origin,
@@ -1279,6 +1283,10 @@ class CONTENT_EXPORT RenderFrameImpl
// Indicates whether |didAccessInitialDocument| was called.
bool has_accessed_initial_document_;
+ AssociatedInterfaceRegistryImpl associated_interfaces_;
+ std::unique_ptr<AssociatedInterfaceProviderImpl>
+ remote_associated_interfaces_;
+
base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698