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

Unified Diff: content/common/frame_messages.h

Issue 109653014: Allow RenderFrames to swap out for subframe navigations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor cleanup. Created 7 years 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/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 87f769b5fd0455b106a38bd6d9a7a4c54869ce94..5e634a50a6597f019ce6872a5af9866937d8ee68 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -85,3 +85,11 @@ IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin,
std::string /* mime_type */,
IPC::ChannelHandle /* channel_handle */,
content::WebPluginInfo /* info */)
+
+// Indicates that the current frame has swapped out, after a SwapOut message.
+IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK)
+
+// Instructs the frame to swap out for a cross-site transition, including
+// running the unload event handler. Expects a SwapOut_ACK message when
+// finished.
+IPC_MESSAGE_ROUTED0(FrameMsg_SwapOut)

Powered by Google App Engine
This is Rietveld 408576698