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

Unified Diff: content/common/frame_messages.h

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Rebase Created 3 years, 9 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 d5c33482d88e38ac0213b843c570a1be040a4e26..e3caa3fb129aaf9c739101f871d9022a553ae2de 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -371,6 +371,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding)
IPC_STRUCT_TRAITS_MEMBER(initiator_origin)
IPC_STRUCT_TRAITS_MEMBER(client_side_redirect_url)
+ IPC_STRUCT_TRAITS_MEMBER(renderer_navigation_id)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
@@ -905,6 +906,12 @@ IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation,
content::RequestNavigationParams /* request_params */)
// PlzNavigate
+// Informs the renderer that the browser stopped processing a renderer-initiated
+// navigation.
+IPC_MESSAGE_ROUTED1(FrameMsg_DroppedNavigation,
Charlie Reis 2017/03/20 06:34:44 We seem to be a bit inconsistent with calling this
+ int /* renderer_navigation_id */)
+
+// PlzNavigate
// Tells the renderer that a navigation failed with the error code |error_code|
// and that the renderer should display an appropriate error page.
IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
@@ -1505,6 +1512,11 @@ IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation,
content::CommonNavigationParams,
content::BeginNavigationParams)
+// PlzNavigate
+// Tells the browser to abort an ongoing renderer-initiated navigation. This is
+// used when the page calls document.open.
+IPC_MESSAGE_ROUTED0(FrameHostMsg_AbortNavigation)
+
// Sent as a response to FrameMsg_VisualStateRequest.
// The message is delivered using RenderWidget::QueueMessage.
IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64_t /* id */)

Powered by Google App Engine
This is Rietveld 408576698