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 "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "chrome/browser/prefs/pref_change_registrar.h" | 13 #include "chrome/browser/prefs/pref_change_registrar.h" |
14 #include "chrome/browser/themes/browser_theme_provider.h" | 14 #include "chrome/browser/themes/browser_theme_provider.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 "gfx/color_utils.h" | |
18 #include "ui/base/gtk/gtk_integers.h" | 17 #include "ui/base/gtk/gtk_integers.h" |
19 #include "ui/base/gtk/gtk_signal.h" | 18 #include "ui/base/gtk/gtk_signal.h" |
| 19 #include "ui/gfx/color_utils.h" |
20 | 20 |
21 class CairoCachedSurface; | 21 class CairoCachedSurface; |
22 class Profile; | 22 class Profile; |
23 | 23 |
24 namespace ui { | 24 namespace ui { |
25 class GtkSignalRegistrar; | 25 class GtkSignalRegistrar; |
26 } | 26 } |
27 | 27 |
28 typedef struct _GdkDisplay GdkDisplay; | 28 typedef struct _GdkDisplay GdkDisplay; |
29 typedef struct _GdkEventExpose GdkEventExpose; | 29 typedef struct _GdkEventExpose GdkEventExpose; |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 // The default folder icon and default bookmark icon for the GTK theme. | 304 // The default folder icon and default bookmark icon for the GTK theme. |
305 // These are static because the system can only have one theme at a time. | 305 // These are static because the system can only have one theme at a time. |
306 // They are cached when they are requested the first time, and cleared when | 306 // They are cached when they are requested the first time, and cleared when |
307 // the system theme changes. | 307 // the system theme changes. |
308 static GdkPixbuf* default_folder_icon_; | 308 static GdkPixbuf* default_folder_icon_; |
309 static GdkPixbuf* default_bookmark_icon_; | 309 static GdkPixbuf* default_bookmark_icon_; |
310 }; | 310 }; |
311 | 311 |
312 #endif // CHROME_BROWSER_UI_GTK_GTK_THEME_PROVIDER_H_ | 312 #endif // CHROME_BROWSER_UI_GTK_GTK_THEME_PROVIDER_H_ |
OLD | NEW |