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

Unified Diff: content/common/view_messages.h

Issue 692973005: Pass origin information for remote frame creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 426ac1faa1213af5657497bcc4901e15d81c1674..085f05a01ab7ab7ae2220618074833e55634ba88 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -15,6 +15,7 @@
#include "content/common/content_param_traits.h"
#include "content/common/cookie_data.h"
#include "content/common/date_time_suggestion.h"
+#include "content/common/frame_replication_state.h"
#include "content/common/navigation_gesture.h"
#include "content/common/view_message_enums.h"
#include "content/common/webplugin_geometry.h"
@@ -462,6 +463,11 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
// The properties of the screen associated with the view.
IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
+
+ // With OOPIF, if this view is swapped out, its main frame is going to become
Charlie Reis 2014/11/13 18:00:58 nit: With OOPIF -> In --site-per-process mode (I'm
alexmos 2014/11/18 18:25:32 Done.
+ // a remote frame. This structure is used to replicate informaiton such as
+ // security origin to that remote frame.
+ IPC_STRUCT_MEMBER(content::FrameReplicationState, remote_frame_state)
Charlie Reis 2014/11/13 18:00:58 Let's move this just under |swapped_out|, since th
alexmos 2014/11/18 18:25:32 Done. I also moved it to be in the same order in
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params)

Powered by Google App Engine
This is Rietveld 408576698