Index: chrome/browser/ui/views/tabs/base_tab_strip.h |
=================================================================== |
--- chrome/browser/ui/views/tabs/base_tab_strip.h (revision 75998) |
+++ chrome/browser/ui/views/tabs/base_tab_strip.h (working copy) |
@@ -194,6 +194,10 @@ |
tab_data_[index].ideal_bounds = bounds; |
} |
+ // Update the lengths of common title prefixes for all tabs. This needs |
+ // to be done every time tabs are added/removed or when titles change. |
+ virtual void UpdateCommonTitlePrefix(); |
sky
2011/02/25 17:02:07
Why is this virtual?
Also, this class is only use
sky
2011/02/25 17:03:03
One additional comment. Don't take my comment to m
MAD
2011/02/25 20:09:13
Good point... I looked for a test infrastructure f
|
+ |
// Returns the index into |tab_data_| corresponding to the specified tab, or |
// -1 if the tab isn't in |tab_data_|. |
int TabIndexOfTab(BaseTab* tab) const; |