Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 63f96b3392dffd134660d3b577326c1e26d962df..437f400ef4f57bf6abfa1bfaff49ab706a614a7b 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -57,8 +57,8 @@ class RenderWidgetHostImpl; |
class StreamHandle; |
class TimeoutMonitor; |
struct CommitNavigationParams; |
-struct ContextMenuParams; |
struct CommonNavigationParams; |
+struct ContextMenuParams; |
struct GlobalRequestID; |
struct Referrer; |
struct RequestNavigationParams; |
@@ -347,6 +347,13 @@ class CONTENT_EXPORT RenderFrameHostImpl |
void DidCancelPopupMenu(); |
#endif |
+ // PlzNavigate |
+ // Tells the renderer that there is a navigation request. The renderer should |
+ // execute its beforeunload event and confirm the navigation by sending a |
+ // FrameHostMsg_BeginNavigation to the browser. |
+ void RequestNavigation(const CommonNavigationParams& common_params, |
+ const RequestNavigationParams& request_params); |
+ |
// PlzNavigate: Indicates that a navigation is ready to commit and can be |
// handled by this RenderFrame. |
void CommitNavigation(ResourceResponse* response, |