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

Unified Diff: content/renderer/render_frame_proxy.h

Issue 1312643002: Plumb opener information when creating RenderFrames and RenderFrameProxies for subframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-CreateOpenerProxiesIfNeeded
Patch Set: Add NewFrameProxy plumbing and test Created 5 years, 4 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_frame_proxy.h
diff --git a/content/renderer/render_frame_proxy.h b/content/renderer/render_frame_proxy.h
index 2ab747ba2a616af10416c72444344a538d006303..42f53702d343eae069e9c402db84d86ba4259392 100644
--- a/content/renderer/render_frame_proxy.h
+++ b/content/renderer/render_frame_proxy.h
@@ -76,8 +76,9 @@ class CONTENT_EXPORT RenderFrameProxy
// new frame local to some other process. |routing_id| will be the ID of the
// newly created RenderFrameProxy. |parent_routing_id| is the routing ID of
// the RenderFrameProxy to which the new frame is parented.
- // |render_view_routing_id| identifies the RenderView to be associated with
- // this frame.
+ // |opener_routing_id|, if valid, is the routing ID of the new frame's
+ // opener. |render_view_routing_id| identifies the RenderView to be
+ // associated with this frame.
//
// |parent_routing_id| always identifies a RenderFrameProxy (never a
// RenderFrame) because a new child of a local frame should always start out
@@ -85,6 +86,7 @@ class CONTENT_EXPORT RenderFrameProxy
static RenderFrameProxy* CreateFrameProxy(
int routing_id,
int parent_routing_id,
+ int opener_routing_id,
int render_view_routing_id,
const FrameReplicationState& replicated_state);

Powered by Google App Engine
This is Rietveld 408576698