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

Unified Diff: content/common/frame_messages.h

Issue 435833002: Navigation transitions: Plumb data from the outgoing renderer to the incoming renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Testfix Created 6 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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index b66858dcf49f51a7336f38e0f3c0e7cc1b34aca3..586264cacdd37ebe6b409220245720e377872a47 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -382,6 +382,16 @@ IPC_MESSAGE_ROUTED2(FrameMsg_SetEditableSelectionOffsets,
int /* start */,
int /* end */)
+// Requests a navigation to the supplied markup, in an iframe with sandbox
+// attributes.
+IPC_MESSAGE_ROUTED1(FrameMsg_SetupTransitionView,
+ std::string /* markup */)
+
+// Tells the renderer to hide the elements specified by the supplied CSS
+// selector, and activates any exiting-transition stylesheets.
+IPC_MESSAGE_ROUTED1(FrameMsg_BeginExitTransition,
+ std::string /* css_selector */)
+
// Tells the renderer to reload the frame, optionally ignoring the cache while
// doing so.
IPC_MESSAGE_ROUTED1(FrameMsg_Reload,
@@ -675,9 +685,12 @@ IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
size_t /* endOffset */)
// Notifies the browser that the renderer has a pending navigation transition.
-IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest,
+// The string parameters are all UTF8.
+IPC_MESSAGE_CONTROL4(FrameHostMsg_AddNavigationTransitionData,
int /* render_frame_id */,
- bool /* is_transition */)
+ std::string /* allowed_destination_host_pattern */,
+ std::string /* selector */,
+ std::string /* markup */)
// Tells the browser to perform a navigation.
IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation,

Powered by Google App Engine
This is Rietveld 408576698