OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_GTK_THEME_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ |
6 #define CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ | 6 #define CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/gfx/gtk_util.h" |
| 13 |
12 #include "chrome/browser/browser_theme_provider.h" | 14 #include "chrome/browser/browser_theme_provider.h" |
13 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
14 #include "chrome/common/owned_widget_gtk.h" | 16 #include "chrome/common/owned_widget_gtk.h" |
15 | 17 |
16 #include "skia/ext/skia_utils.h" | 18 #include "skia/ext/skia_utils.h" |
17 | 19 |
18 class CairoCachedSurface; | 20 class CairoCachedSurface; |
19 class Profile; | 21 class Profile; |
20 | 22 |
21 typedef struct _GdkDisplay GdkDisplay; | 23 typedef struct _GdkDisplay GdkDisplay; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 150 |
149 // The default folder icon and default bookmark icon for the GTK theme. | 151 // The default folder icon and default bookmark icon for the GTK theme. |
150 // These are static because the system can only have one theme at a time. | 152 // These are static because the system can only have one theme at a time. |
151 // They are cached when they are requested the first time, and cleared when | 153 // They are cached when they are requested the first time, and cleared when |
152 // the system theme changes. | 154 // the system theme changes. |
153 static GdkPixbuf* default_folder_icon_; | 155 static GdkPixbuf* default_folder_icon_; |
154 static GdkPixbuf* default_bookmark_icon_; | 156 static GdkPixbuf* default_bookmark_icon_; |
155 }; | 157 }; |
156 | 158 |
157 #endif // CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ | 159 #endif // CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ |
OLD | NEW |