summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 51470f7..801f3cd 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -821,6 +821,9 @@ class Browser : public TabStripModelDelegate,
// Shared code between Reload() and ReloadAll().
void ReloadInternal(bool ignore_cache);
+ // Return true if the window dispositions means opening a new tab.
+ bool ShouldOpenNewTabForWindowDisposition(WindowOpenDisposition disposition);
+
// Depending on the disposition, return the |NavigationController| for the
// current tab or clone the current tab and return its |NavigationController|.
NavigationController& GetOrCloneNavigationControllerForDisposition(