| 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 "app/gtk_signal.h" | |
| 13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 15 #include "base/string16.h" | 14 #include "base/string16.h" |
| 16 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 15 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
| 17 #include "chrome/common/notification_observer.h" | 16 #include "chrome/common/notification_observer.h" |
| 18 #include "chrome/common/notification_registrar.h" | 17 #include "chrome/common/notification_registrar.h" |
| 19 #include "gfx/canvas.h" | 18 #include "gfx/canvas.h" |
| 20 #include "gfx/font.h" | 19 #include "gfx/font.h" |
| 21 #include "gfx/rect.h" | 20 #include "gfx/rect.h" |
| 22 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
| 23 #include "ui/base/animation/animation_delegate.h" | 22 #include "ui/base/animation/animation_delegate.h" |
| 23 #include "ui/base/gtk/gtk_signal.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 class ThemeProvider; | 32 class ThemeProvider; |
| 33 | 33 |
| (...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 |