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

Unified Diff: content/common/view_messages.h

Issue 6915019: Changes to not use the prerendered contents when window.opener needs to be set. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressing Sreeram's comments. Created 9 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 9ed984cc09829dbbee1bcd7fdb8586ef88cedb96..fd0335728e210abc05418ad593a197e52a3e7549 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1386,9 +1386,10 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent,
GURL /* target URL */)
// Sent when the renderer starts a provisional load for a frame.
-IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame,
+IPC_MESSAGE_ROUTED4(ViewHostMsg_DidStartProvisionalLoadForFrame,
int64 /* frame_id */,
bool /* true if it is the main frame */,
+ bool /* true if the frame has an opener set */,
GURL /* url */)
// Sent when the renderer fails a provisional load with an error.
@@ -1743,8 +1744,9 @@ IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS,
FilePath /* path */)
// Sent when a provisional load on the main frame redirects.
-IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad,
+IPC_MESSAGE_ROUTED4(ViewHostMsg_DidRedirectProvisionalLoad,
int /* page_id */,
+ bool /* true if the frame has an opener set */,
cbentzel 2011/05/12 11:17:08 Why do we need to specify an opener here? This wou
Shishir 2011/05/12 22:05:18 Yes that is correct. But suppose that the initial
GURL /* last url */,
GURL /* url redirected to */)

Powered by Google App Engine
This is Rietveld 408576698