OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_GTK_TABS_TAB_RENDERER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
6 #define CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 static bool initialized_; | 377 static bool initialized_; |
378 | 378 |
379 // The bounds of various sections of the display. | 379 // The bounds of various sections of the display. |
380 gfx::Rect favicon_bounds_; | 380 gfx::Rect favicon_bounds_; |
381 gfx::Rect title_bounds_; | 381 gfx::Rect title_bounds_; |
382 gfx::Rect close_button_bounds_; | 382 gfx::Rect close_button_bounds_; |
383 | 383 |
384 TabData data_; | 384 TabData data_; |
385 | 385 |
386 static TabImage tab_active_; | 386 static TabImage tab_active_; |
387 static TabImage tab_active_nano_; | |
388 static TabImage tab_inactive_; | 387 static TabImage tab_inactive_; |
389 static TabImage tab_inactive_nano_; | |
390 static TabImage tab_alpha_; | 388 static TabImage tab_alpha_; |
391 static TabImage tab_alpha_nano_; | |
392 | 389 |
393 static gfx::Font* title_font_; | 390 static gfx::Font* title_font_; |
394 static int title_font_height_; | 391 static int title_font_height_; |
395 | 392 |
396 static int close_button_width_; | 393 static int close_button_width_; |
397 static int close_button_height_; | 394 static int close_button_height_; |
398 | 395 |
399 static SkColor selected_title_color_; | 396 static SkColor selected_title_color_; |
400 static SkColor unselected_title_color_; | 397 static SkColor unselected_title_color_; |
401 | 398 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 // The current color of the close button. | 448 // The current color of the close button. |
452 SkColor close_button_color_; | 449 SkColor close_button_color_; |
453 | 450 |
454 // Used to listen for theme change notifications. | 451 // Used to listen for theme change notifications. |
455 NotificationRegistrar registrar_; | 452 NotificationRegistrar registrar_; |
456 | 453 |
457 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); | 454 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); |
458 }; | 455 }; |
459 | 456 |
460 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ | 457 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
OLD | NEW |