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

Unified Diff: content/renderer/render_view_impl.h

Issue 281663002: Create RenderFrameProxyHost at time of swap-out instead of commit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: All comments addressed. Created 6 years, 7 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 86c8a12152edf6c1f6783b3a00031462c5f9a22d..622f60ffa0c54e8f741ce01715e243702f100de2 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -174,7 +174,9 @@ class CONTENT_EXPORT RenderViewImpl
// Creates a new RenderView. |opener_id| is the routing ID of the RenderView
// responsible for creating this RenderView. Note that if the original opener
// has been closed, |window_was_created_with_opener| will be true and
- // |opener_id| will be MSG_ROUTING_NONE.
+ // |opener_id| will be MSG_ROUTING_NONE. When |swapped_out| is true, the
+ // |proxy_routing_id| is specified, so a RenderFrameProxy can be created for
+ // this RenderView's main RenderFrame.
static RenderViewImpl* Create(int32 opener_id,
bool window_was_created_with_opener,
const RendererPreferences& renderer_prefs,
@@ -186,6 +188,7 @@ class CONTENT_EXPORT RenderViewImpl
const base::string16& frame_name,
bool is_renderer_created,
bool swapped_out,
+ int32 proxy_routing_id,
bool hidden,
bool never_visible,
int32 next_page_id,

Powered by Google App Engine
This is Rietveld 408576698