Index: content/public/browser/navigation_controller.h |
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h |
index c0c18994ad652ca1859c92e10c2cd5d33a5bbf13..3ad7e03a6936c7d3840ee23607de4b7440fa7454 100644 |
--- a/content/public/browser/navigation_controller.h |
+++ b/content/public/browser/navigation_controller.h |
@@ -410,10 +410,15 @@ class NavigationController { |
// Continues a repost that brought up a warning. |
virtual void ContinuePendingReload() = 0; |
- // Returns true if we are navigating to the URL the tab is opened with. |
- // Returns false after the initial navigation has committed. |
+ // Returns true if this is a newly created tab or a cloned tab, which has not |
+ // yet committed a real page. Returns false after the initial navigation has |
+ // committed. |
virtual bool IsInitialNavigation() const = 0; |
+ // Returns true if this is a newly created tab (not a clone) that has not yet |
+ // committed a real page. |
+ virtual bool IsInitialBlankNavigation() const = 0; |
+ |
// Broadcasts the NOTIFICATION_NAV_ENTRY_CHANGED notification for the given |
// entry. This will keep things in sync like the saved session. |
virtual void NotifyEntryChanged(const NavigationEntry* entry) = 0; |