| Index: chrome/browser/ui/views/tabs/tab_strip.h
|
| diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
|
| index 25f3610e3d2f1c594908d2b35845f93023100889..d2d66096667391c183efebfff41a578894cd3f60 100644
|
| --- a/chrome/browser/ui/views/tabs/tab_strip.h
|
| +++ b/chrome/browser/ui/views/tabs/tab_strip.h
|
| @@ -66,6 +66,13 @@ class TabStrip : public views::View,
|
| // restored windows.
|
| static const int kNewTabButtonVerticalOffset;
|
|
|
| + // The size of the new tab button must be hardcoded because we need to be
|
| + // able to lay it out before we are able to get its image from the
|
| + // ui::ThemeProvider. It also makes sense to do this, because the size of the
|
| + // new tab button should not need to be calculated dynamically.
|
| + static const int kNewTabButtonAssetWidth;
|
| + static const int kNewTabButtonAssetHeight;
|
| +
|
| explicit TabStrip(TabStripController* controller);
|
| virtual ~TabStrip();
|
|
|
| @@ -310,13 +317,6 @@ class TabStrip : public views::View,
|
| // Horizontal gap between mini and non-mini-tabs.
|
| static const int kMiniToNonMiniGap;
|
|
|
| - // The size of the new tab button must be hardcoded because we need to be
|
| - // able to lay it out before we are able to get its image from the
|
| - // ui::ThemeProvider. It also makes sense to do this, because the size of the
|
| - // new tab button should not need to be calculated dynamically.
|
| - static const int kNewTabButtonAssetWidth;
|
| - static const int kNewTabButtonAssetHeight;
|
| -
|
| void Init();
|
|
|
| // Creates and returns a new tab. The caller owners the returned tab.
|
|
|