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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 100473010: Adding RenderWidgetHostViewChildFrame for OOPIF view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken unit test Created 7 years 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 127d96adfb5e711eddb12371708a01316fbd4e1b..223030975b8bf2496ded72c06d693704e054c22e 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -19,6 +19,7 @@ class FilePath;
namespace content {
+class CrossProcessFrameConnector;
class FrameTree;
class RenderFrameHostDelegate;
class RenderProcessHost;
@@ -50,6 +51,8 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
RenderViewHostImpl* render_view_host() { return render_view_host_; }
RenderFrameHostDelegate* delegate() { return delegate_; }
+ void SetCrossProcessFrameConnector(CrossProcessFrameConnector*);
Charlie Reis 2013/12/12 02:42:05 style: Please name parameters in .h files.
kenrb 2013/12/13 18:41:17 Done.
+
protected:
friend class RenderFrameHostFactory;
@@ -77,6 +80,11 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
RenderFrameHostDelegate* delegate_;
+ // Object that handles messages destined to a child frame in another
+ // process from its parent.
+ // This will move to RenderFrameProxyHost when that class is created.
Charlie Reis 2013/12/12 02:42:05 Does that mean it's only used (i.e., non-NULL) whe
kenrb 2013/12/13 18:41:17 Yes, although it will also be NULL on swapped out
+ CrossProcessFrameConnector* cross_process_frame_connector_;
+
// Reference to the whole frame tree that this RenderFrameHost belongs too.
// Allows this RenderFrameHost to add and remove nodes in response to
// messages from the renderer requesting DOM manipulation.

Powered by Google App Engine
This is Rietveld 408576698