| Index: content/public/browser/navigation_handle.h
|
| diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
|
| index 49d0884de43256e204ad3159903db42e889d1af6..c60babaa9939a4f0861eb1c0f2b7d9d7597c755f 100644
|
| --- a/content/public/browser/navigation_handle.h
|
| +++ b/content/public/browser/navigation_handle.h
|
| @@ -28,6 +28,11 @@ class CONTENT_EXPORT NavigationHandle {
|
| // Whether the navigation is taking place in the main frame or in a subframe.
|
| virtual bool IsInMainFrame() const = 0;
|
|
|
| + // Whether the navigation happened in the same page. This is only known
|
| + // after the navigation has committed. It is an error to call this method
|
| + // before the navigation has committed.
|
| + virtual bool IsSamePage() = 0;
|
| +
|
| // Whether the navigation has successfully committed a document.
|
| virtual bool HasCommittedDocument() const = 0;
|
|
|
|
|