summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model.h')
-rw-r--r--chrome/browser/tabs/tab_strip_model.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h
index 24eb20e..305c562 100644
--- a/chrome/browser/tabs/tab_strip_model.h
+++ b/chrome/browser/tabs/tab_strip_model.h
@@ -592,6 +592,10 @@ class TabStripModel : public NotificationObserver {
// |ignore_index|.
int IndexOfNextNonPhantomTab(int index, int ignore_index);
+ // Returns true if the tab at the specified index should be made phantom when
+ // the tab is closing.
+ bool ShouldMakePhantomOnClose(int index);
+
// Makes the tab a phantom tab.
void MakePhantom(int index);