OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_SIDE_TAB_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_SIDE_TAB_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_SIDE_TAB_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_SIDE_TAB_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/views/tabs/base_tab.h" | 9 #include "chrome/browser/ui/views/tabs/base_tab.h" |
10 #include "gfx/font.h" | 10 #include "ui/gfx/font.h" |
11 | 11 |
12 class SideTab; | 12 class SideTab; |
13 class TabStripController; | 13 class TabStripController; |
14 | 14 |
15 class SideTab : public BaseTab { | 15 class SideTab : public BaseTab { |
16 public: | 16 public: |
17 explicit SideTab(TabController* controller); | 17 explicit SideTab(TabController* controller); |
18 virtual ~SideTab(); | 18 virtual ~SideTab(); |
19 | 19 |
20 // Returns the preferred height of side tabs. | 20 // Returns the preferred height of side tabs. |
(...skipping 14 matching lines...) Expand all Loading... |
35 // Returns true if the icon should be shown. | 35 // Returns true if the icon should be shown. |
36 bool ShouldShowIcon() const; | 36 bool ShouldShowIcon() const; |
37 | 37 |
38 gfx::Rect icon_bounds_; | 38 gfx::Rect icon_bounds_; |
39 gfx::Rect title_bounds_; | 39 gfx::Rect title_bounds_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(SideTab); | 41 DISALLOW_COPY_AND_ASSIGN(SideTab); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_UI_VIEWS_TABS_SIDE_TAB_H_ | 44 #endif // CHROME_BROWSER_UI_VIEWS_TABS_SIDE_TAB_H_ |
OLD | NEW |