| Index: content/browser/frame_host/navigator.h
|
| diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
|
| index 39345f47e4950110ca947a5c911ab90c6ffbec41..b47654839f0f9d70b0729f2c6284d931e1a4ed7b 100644
|
| --- a/content/browser/frame_host/navigator.h
|
| +++ b/content/browser/frame_host/navigator.h
|
| @@ -11,6 +11,7 @@
|
| #include "ui/base/window_open_disposition.h"
|
|
|
| class GURL;
|
| +struct FrameHostMsg_BeginNavigation_Params;
|
| struct FrameHostMsg_DidCommitProvisionalLoad_Params;
|
| struct FrameHostMsg_DidFailProvisionalLoadWithError_Params;
|
|
|
| @@ -24,6 +25,7 @@ class NavigationControllerImpl;
|
| class NavigationEntryImpl;
|
| class NavigatorDelegate;
|
| class RenderFrameHostImpl;
|
| +struct NavigationBeforeCommitInfo;
|
|
|
| // Implementations of this interface are responsible for performing navigations
|
| // in a node of the FrameTree. Its lifetime is bound to all FrameTreeNode
|
| @@ -37,7 +39,6 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
|
| // Returns the NavigationController associated with this Navigator.
|
| virtual NavigationController* GetController();
|
|
|
| -
|
| // Notifications coming from the RenderFrameHosts ----------------------------
|
|
|
| // The RenderFrameHostImpl started a provisional load.
|
| @@ -119,6 +120,12 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
|
| bool should_replace_current_entry,
|
| bool user_gesture) {}
|
|
|
| + // PlzNavigate
|
| + // Signal |render_frame_host| that a navigation is ready to commit (the
|
| + // response to the navigation request has been received).
|
| + virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host,
|
| + const NavigationBeforeCommitInfo& info) {};
|
| +
|
| protected:
|
| friend class base::RefCounted<Navigator>;
|
| virtual ~Navigator() {}
|
|
|