| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CUSTOM_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_GTK_CUSTOM_BUTTON_H_ |
| 6 #define CHROME_BROWSER_GTK_CUSTOM_BUTTON_H_ | 6 #define CHROME_BROWSER_GTK_CUSTOM_BUTTON_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include <string> | |
| 12 | |
| 13 #include "app/gtk_signal.h" | 11 #include "app/gtk_signal.h" |
| 14 #include "app/slide_animation.h" | 12 #include "app/slide_animation.h" |
| 15 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 16 #include "chrome/browser/gtk/owned_widget_gtk.h" | 14 #include "chrome/browser/gtk/owned_widget_gtk.h" |
| 17 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
| 18 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
| 19 #include "gfx/rect.h" | 17 #include "gfx/rect.h" |
| 20 #include "third_party/skia/include/core/SkColor.h" | 18 #include "third_party/skia/include/core/SkColor.h" |
| 21 | 19 |
| 22 class CairoCachedSurface; | 20 class CairoCachedSurface; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 // Our theme provider. | 217 // Our theme provider. |
| 220 GtkThemeProvider* theme_provider_; | 218 GtkThemeProvider* theme_provider_; |
| 221 | 219 |
| 222 // Used to listen for theme change notifications. | 220 // Used to listen for theme change notifications. |
| 223 NotificationRegistrar registrar_; | 221 NotificationRegistrar registrar_; |
| 224 | 222 |
| 225 DISALLOW_COPY_AND_ASSIGN(CustomDrawButton); | 223 DISALLOW_COPY_AND_ASSIGN(CustomDrawButton); |
| 226 }; | 224 }; |
| 227 | 225 |
| 228 #endif // CHROME_BROWSER_GTK_CUSTOM_BUTTON_H_ | 226 #endif // CHROME_BROWSER_GTK_CUSTOM_BUTTON_H_ |
| OLD | NEW |