diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-02 20:28:44 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-02 20:28:44 +0000 |
commit | 14392a5ec9b1c2679f6f58193ef6736123d4c442 (patch) | |
tree | 85eb33b09622b1ffa629e6ab361f6be861bf10de /content/common | |
parent | adcf0f0434f7af0e399bb0a034ba706ce12f746c (diff) | |
download | chromium_src-14392a5ec9b1c2679f6f58193ef6736123d4c442.zip chromium_src-14392a5ec9b1c2679f6f58193ef6736123d4c442.tar.gz chromium_src-14392a5ec9b1c2679f6f58193ef6736123d4c442.tar.bz2 |
Create swapped-out opener RVHs after a process swap.
This is required to support cross-process JavaScript calls, like postMessage.
BUG=99202
TEST=window.opener present after a cross-process navigation.
Review URL: https://chromiumcodereview.appspot.com/10171018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/view_messages.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 8edcf91..0c7bd54 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -632,6 +632,13 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params) // The name of the frame associated with this view (or empty if none). IPC_STRUCT_MEMBER(string16, frame_name) + // The route ID of the opener RenderView if we need to set one + // (MSG_ROUTING_NONE otherwise). + IPC_STRUCT_MEMBER(int, opener_route_id) + + // Whether the RenderView should initially be swapped out. + IPC_STRUCT_MEMBER(bool, swapped_out) + // The initial page ID to use for this view, which must be larger than any // existing navigation that might be loaded in the view. Page IDs are unique // to a view and are only updated by the renderer after this initial value. |