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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "app/animation.h" | 12 #include "app/animation.h" |
13 #include "app/gtk_signal.h" | 13 #include "app/gtk_signal.h" |
14 #include "app/slide_animation.h" | 14 #include "app/slide_animation.h" |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/scoped_ptr.h" |
16 #include "base/string16.h" | 17 #include "base/string16.h" |
17 #include "chrome/browser/gtk/owned_widget_gtk.h" | 18 #include "chrome/browser/gtk/owned_widget_gtk.h" |
18 #include "chrome/common/notification_observer.h" | 19 #include "chrome/common/notification_observer.h" |
19 #include "chrome/common/notification_registrar.h" | 20 #include "chrome/common/notification_registrar.h" |
20 #include "gfx/canvas.h" | 21 #include "gfx/canvas.h" |
21 #include "gfx/font.h" | 22 #include "gfx/font.h" |
22 #include "gfx/rect.h" | 23 #include "gfx/rect.h" |
23 #include "third_party/skia/include/core/SkBitmap.h" | 24 #include "third_party/skia/include/core/SkBitmap.h" |
24 | 25 |
25 namespace gfx { | 26 namespace gfx { |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 // The current color of the close button. | 450 // The current color of the close button. |
450 SkColor close_button_color_; | 451 SkColor close_button_color_; |
451 | 452 |
452 // Used to listen for theme change notifications. | 453 // Used to listen for theme change notifications. |
453 NotificationRegistrar registrar_; | 454 NotificationRegistrar registrar_; |
454 | 455 |
455 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); | 456 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); |
456 }; | 457 }; |
457 | 458 |
458 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ | 459 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
OLD | NEW |