diff options
Diffstat (limited to 'chrome/browser/cocoa/tab_window_controller.h')
-rw-r--r-- | chrome/browser/cocoa/tab_window_controller.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/tab_window_controller.h b/chrome/browser/cocoa/tab_window_controller.h index 011915a..64fe78a 100644 --- a/chrome/browser/cocoa/tab_window_controller.h +++ b/chrome/browser/cocoa/tab_window_controller.h @@ -108,9 +108,15 @@ fromController:(TabWindowController*)controller; // Number of tabs in the tab strip. Useful, for example, to know if we're -// dragging the only tab in the window. +// dragging the only tab in the window. This includes pinned tabs (both live +// and not). - (NSInteger)numberOfTabs; +// YES if there are tabs in the tab strip which have content, allowing for +// the notion of tabs in the tab strip that are placeholders, or phantoms, but +// currently have no content. +- (BOOL)hasLiveTabs; + // Return the view of the selected tab. - (NSView *)selectedTabView; |