diff options
Diffstat (limited to 'chrome/browser/views/tabs/side_tab.h')
-rw-r--r-- | chrome/browser/views/tabs/side_tab.h | 37 |
1 files changed, 3 insertions, 34 deletions
diff --git a/chrome/browser/views/tabs/side_tab.h b/chrome/browser/views/tabs/side_tab.h index 6cff764..5d27ce3 100644 --- a/chrome/browser/views/tabs/side_tab.h +++ b/chrome/browser/views/tabs/side_tab.h @@ -6,39 +6,8 @@ #define CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_H_ #pragma once -#include "chrome/browser/views/tabs/base_tab.h" -#include "gfx/font.h" - -class SideTab; -class TabStripController; - -class SideTab : public BaseTab { - public: - explicit SideTab(TabController* controller); - virtual ~SideTab(); - - // Returns the preferred height of side tabs. - static int GetPreferredHeight(); - - // views::View Overrides: - virtual void Layout(); - virtual void Paint(gfx::Canvas* canvas); - virtual gfx::Size GetPreferredSize(); - - protected: - virtual const gfx::Rect& title_bounds() const { return title_bounds_; } - - // Returns true if the selected highlight should be rendered. - virtual bool ShouldPaintHighlight() const; - - private: - // Returns true if the icon should be shown. - bool ShouldShowIcon() const; - - gfx::Rect icon_bounds_; - gfx::Rect title_bounds_; - - DISALLOW_COPY_AND_ASSIGN(SideTab); -}; +#include "chrome/browser/ui/views/tabs/side_tab.h" +// TODO(beng): remove this file once all includes have been updated. #endif // CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_H_ + |