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_GTK_THEME_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_GTK_THEME_PROVIDER_H_ |
6 #define CHROME_BROWSER_UI_GTK_GTK_THEME_PROVIDER_H_ | 6 #define CHROME_BROWSER_UI_GTK_GTK_THEME_PROVIDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "app/gtk_integers.h" | 12 #include "app/gtk_integers.h" |
13 #include "app/gtk_signal.h" | 13 #include "app/gtk_signal.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "chrome/browser/prefs/pref_change_registrar.h" | 15 #include "chrome/browser/prefs/pref_change_registrar.h" |
16 #include "chrome/browser/gtk/owned_widget_gtk.h" | |
17 #include "chrome/browser/themes/browser_theme_provider.h" | 16 #include "chrome/browser/themes/browser_theme_provider.h" |
| 17 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
18 #include "chrome/common/notification_observer.h" | 18 #include "chrome/common/notification_observer.h" |
19 #include "gfx/color_utils.h" | 19 #include "gfx/color_utils.h" |
20 | 20 |
21 class CairoCachedSurface; | 21 class CairoCachedSurface; |
22 class GtkSignalRegistrar; | 22 class GtkSignalRegistrar; |
23 class Profile; | 23 class Profile; |
24 | 24 |
25 typedef struct _GdkDisplay GdkDisplay; | 25 typedef struct _GdkDisplay GdkDisplay; |
26 typedef struct _GdkEventExpose GdkEventExpose; | 26 typedef struct _GdkEventExpose GdkEventExpose; |
27 typedef struct _GdkPixbuf GdkPixbuf; | 27 typedef struct _GdkPixbuf GdkPixbuf; |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 // The default folder icon and default bookmark icon for the GTK theme. | 301 // The default folder icon and default bookmark icon for the GTK theme. |
302 // These are static because the system can only have one theme at a time. | 302 // These are static because the system can only have one theme at a time. |
303 // They are cached when they are requested the first time, and cleared when | 303 // They are cached when they are requested the first time, and cleared when |
304 // the system theme changes. | 304 // the system theme changes. |
305 static GdkPixbuf* default_folder_icon_; | 305 static GdkPixbuf* default_folder_icon_; |
306 static GdkPixbuf* default_bookmark_icon_; | 306 static GdkPixbuf* default_bookmark_icon_; |
307 }; | 307 }; |
308 | 308 |
309 #endif // CHROME_BROWSER_UI_GTK_GTK_THEME_PROVIDER_H_ | 309 #endif // CHROME_BROWSER_UI_GTK_GTK_THEME_PROVIDER_H_ |
OLD | NEW |