Chromium Code Reviews| Index: chrome/browser/views/tabs/tab.h |
| =================================================================== |
| --- chrome/browser/views/tabs/tab.h (revision 9942) |
| +++ chrome/browser/views/tabs/tab.h (working copy) |
| @@ -69,6 +69,9 @@ |
| // 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); |