Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: chrome/browser/views/tabs/tab.h

Issue 21268: Solved 2 bugs which caused Chrome to maximize itself when... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/views/tabs/tab.cc » ('j') | chrome/browser/views/tabs/tab.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/browser/views/tabs/tab.cc » ('j') | chrome/browser/views/tabs/tab.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698