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

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: Tweaked a comment 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..c005d6f7d4bd84b275d73c917cd745aaa71d7132 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,9 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
RenderViewHostImpl* render_view_host() { return render_view_host_; }
RenderFrameHostDelegate* delegate() { return delegate_; }
+ void SetCrossProcessFrameConnector(
+ CrossProcessFrameConnector* cross_process_frame_connector);
+
protected:
friend class RenderFrameHostFactory;
@@ -77,6 +81,13 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost {
RenderFrameHostDelegate* delegate_;
+ // Object that handles messages destined to a child frame in another
+ // process from its parent. Non-NULL only when this RenderFrameHost is
+ // swapped out and corresponds to a direct child frame of a frame in its
Charlie Reis 2013/12/16 19:31:08 What does "corresponds to a direct child frame of
awong 2013/12/17 02:45:27 Fixed.
+ // renderer process.
+ // This will move to RenderFrameProxyHost when that class is created.
+ 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