OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_TABS_TAB_RENDERER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ |
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ | 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ |
7 | 7 |
8 #include "app/animation.h" | 8 #include "app/animation.h" |
9 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 SkBitmap* image_l; | 266 SkBitmap* image_l; |
267 SkBitmap* image_c; | 267 SkBitmap* image_c; |
268 SkBitmap* image_r; | 268 SkBitmap* image_r; |
269 int l_width; | 269 int l_width; |
270 int r_width; | 270 int r_width; |
271 int y_offset; | 271 int y_offset; |
272 }; | 272 }; |
273 static TabImage tab_active; | 273 static TabImage tab_active; |
274 static TabImage tab_active_nano; | 274 static TabImage tab_active_nano; |
275 static TabImage tab_inactive; | 275 static TabImage tab_inactive; |
| 276 static TabImage tab_inactive_nano; |
276 static TabImage tab_alpha; | 277 static TabImage tab_alpha; |
277 static TabImage tab_alpha_nano; | 278 static TabImage tab_alpha_nano; |
278 | 279 |
279 // Whether we're showing the icon. It is cached so that we can detect when it | 280 // Whether we're showing the icon. It is cached so that we can detect when it |
280 // changes and layout appropriately. | 281 // changes and layout appropriately. |
281 bool showing_icon_; | 282 bool showing_icon_; |
282 | 283 |
283 // Whether we are showing the close button. It is cached so that we can | 284 // Whether we are showing the close button. It is cached so that we can |
284 // detect when it changes and layout appropriately. | 285 // detect when it changes and layout appropriately. |
285 bool showing_close_button_; | 286 bool showing_close_button_; |
(...skipping 14 matching lines...) Expand all Loading... |
300 | 301 |
301 scoped_refptr<AnimationContainer> container_; | 302 scoped_refptr<AnimationContainer> container_; |
302 | 303 |
303 static void InitClass(); | 304 static void InitClass(); |
304 static bool initialized_; | 305 static bool initialized_; |
305 | 306 |
306 DISALLOW_COPY_AND_ASSIGN(TabRenderer); | 307 DISALLOW_COPY_AND_ASSIGN(TabRenderer); |
307 }; | 308 }; |
308 | 309 |
309 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ | 310 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ |
OLD | NEW |