Index: content/browser/frame_host/navigation_handle_impl.h |
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h |
index 33e51ddab278cf281b89fe998d32159acc2210b0..9773c99595af0e5b6fff43614b6035132fc1b779 100644 |
--- a/content/browser/frame_host/navigation_handle_impl.h |
+++ b/content/browser/frame_host/navigation_handle_impl.h |
@@ -62,6 +62,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
const GURL& GetURL() const override; |
net::Error GetNetErrorCode() const override; |
bool IsInMainFrame() const override; |
+ bool IsSamePage() const override; |
bool HasCommittedDocument() const override; |
bool HasCommittedErrorPage() const override; |
@@ -84,7 +85,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
// Called when the navigation was committed. This will update the |state_| |
// and inform the delegate, |
- void DidCommitNavigation(); |
+ void DidCommitNavigation(bool same_page); |
private: |
// Used to track the state the navigation is currently in. |
@@ -104,6 +105,9 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
State state_; |
const bool is_main_frame_; |
+ // Whether the navigation happened in the same page. |
clamy
2015/09/11 11:52:32
nit: you can just group this parameter with the on
Charlie Harrison
2015/09/11 14:40:52
Done.
|
+ bool is_same_page_; |
+ |
// Whether the navigation is in the middle of a transfer. Set to false when |
// the DidStartProvisionalLoad is received from the new renderer. |
bool is_transferring_; |