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_TAB_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/ui/views/tabs/base_tab.h" | 12 #include "chrome/browser/ui/views/tabs/base_tab.h" |
13 #include "ui/gfx/point.h" | 13 #include "ui/gfx/point.h" |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 class MultiAnimation; | 16 class MultiAnimation; |
17 class SlideAnimation; | |
18 } | 17 } |
19 | 18 |
20 /////////////////////////////////////////////////////////////////////////////// | 19 /////////////////////////////////////////////////////////////////////////////// |
21 // | 20 // |
22 // TabRenderer | 21 // TabRenderer |
23 // | 22 // |
24 // A View that renders a Tab, either in a TabStrip or in a DraggedTabView. | 23 // A View that renders a Tab, either in a TabStrip or in a DraggedTabView. |
25 // | 24 // |
26 /////////////////////////////////////////////////////////////////////////////// | 25 /////////////////////////////////////////////////////////////////////////////// |
27 class Tab : public BaseTab { | 26 class Tab : public BaseTab { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 135 |
137 // The current color of the close button. | 136 // The current color of the close button. |
138 SkColor close_button_color_; | 137 SkColor close_button_color_; |
139 | 138 |
140 static bool initialized_; | 139 static bool initialized_; |
141 | 140 |
142 DISALLOW_COPY_AND_ASSIGN(Tab); | 141 DISALLOW_COPY_AND_ASSIGN(Tab); |
143 }; | 142 }; |
144 | 143 |
145 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ | 144 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ |
OLD | NEW |