summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tabs/tab.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/tabs/tab.h')
-rw-r--r--chrome/browser/views/tabs/tab.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/views/tabs/tab.h b/chrome/browser/views/tabs/tab.h
index de3c981..40577cf 100644
--- a/chrome/browser/views/tabs/tab.h
+++ b/chrome/browser/views/tabs/tab.h
@@ -69,6 +69,9 @@ class Tab : public TabRenderer,
// other than the user releasing the mouse. Returns whether the tab has been
// destroyed.
virtual bool EndDrag(bool canceled) = 0;
+
+ // Returns true if only one tab exists.
+ virtual bool ContainsExactlyOneTab() const = 0;
};
explicit Tab(TabDelegate* delegate);