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/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | |
16 #include "content/common/notification_observer.h" | 15 #include "content/common/notification_observer.h" |
17 #include "content/common/notification_registrar.h" | 16 #include "content/common/notification_registrar.h" |
18 #include "third_party/skia/include/core/SkBitmap.h" | 17 #include "third_party/skia/include/core/SkBitmap.h" |
19 #include "ui/base/animation/animation_delegate.h" | 18 #include "ui/base/animation/animation_delegate.h" |
20 #include "ui/base/gtk/gtk_signal.h" | 19 #include "ui/base/gtk/gtk_signal.h" |
| 20 #include "ui/base/gtk/owned_widget_gtk.h" |
21 #include "ui/gfx/canvas.h" | 21 #include "ui/gfx/canvas.h" |
22 #include "ui/gfx/font.h" | 22 #include "ui/gfx/font.h" |
23 #include "ui/gfx/rect.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 TabContents; | 30 class TabContents; |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 // The current color of the close button. | 446 // The current color of the close button. |
447 SkColor close_button_color_; | 447 SkColor close_button_color_; |
448 | 448 |
449 // Used to listen for theme change notifications. | 449 // Used to listen for theme change notifications. |
450 NotificationRegistrar registrar_; | 450 NotificationRegistrar registrar_; |
451 | 451 |
452 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); | 452 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); |
453 }; | 453 }; |
454 | 454 |
455 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ | 455 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ |
OLD | NEW |