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_GTK_TABS_TAB_RENDERER_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ | 6 #define CHROME_BROWSER_UI_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 "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 15 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
16 #include "chrome/common/notification_observer.h" | 16 #include "chrome/common/notification_observer.h" |
17 #include "chrome/common/notification_registrar.h" | 17 #include "chrome/common/notification_registrar.h" |
18 #include "gfx/canvas.h" | |
19 #include "gfx/font.h" | |
20 #include "gfx/rect.h" | |
21 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
22 #include "ui/base/animation/animation_delegate.h" | 19 #include "ui/base/animation/animation_delegate.h" |
23 #include "ui/base/gtk/gtk_signal.h" | 20 #include "ui/base/gtk/gtk_signal.h" |
| 21 #include "ui/gfx/canvas.h" |
| 22 #include "ui/gfx/font.h" |
| 23 #include "ui/gfx/rect.h" |
24 | 24 |
25 namespace gfx { | 25 namespace gfx { |
26 class Size; | 26 class Size; |
27 } // namespace gfx | 27 } // namespace gfx |
28 | 28 |
29 class CustomDrawButton; | 29 class CustomDrawButton; |
30 class GtkThemeProvider; | 30 class GtkThemeProvider; |
31 class TabContents; | 31 class TabContents; |
32 | 32 |
33 namespace ui { | 33 namespace ui { |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 // The current color of the close button. | 447 // The current color of the close button. |
448 SkColor close_button_color_; | 448 SkColor close_button_color_; |
449 | 449 |
450 // Used to listen for theme change notifications. | 450 // Used to listen for theme change notifications. |
451 NotificationRegistrar registrar_; | 451 NotificationRegistrar registrar_; |
452 | 452 |
453 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); | 453 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); |
454 }; | 454 }; |
455 | 455 |
456 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ | 456 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ |
OLD | NEW |