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

Unified Diff: content/common/frame_messages.h

Issue 958083002: PlzNavigate: Show error pages when the navigation failed before commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@support-data-urls
Patch Set: Updated test Created 5 years, 8 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
« no previous file with comments | « content/child/web_url_request_util.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index d60982205b7db773e2ae97053b87add2db235725..8b195e26357a4d76f7e7e0bccf28c9e6ef5a2b5d 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -568,6 +568,15 @@ IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation,
content::CommonNavigationParams, /* common_params */
content::RequestNavigationParams /* request_params */)
+// 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,
+ content::CommonNavigationParams, /* common_params */
+ content::RequestNavigationParams, /* request_params */
+ bool, /* stale_copy_in_cache */
+ int /* error_code */)
+
#if defined(ENABLE_PLUGINS)
// Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
« no previous file with comments | « content/child/web_url_request_util.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698