Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: chrome/browser/gtk/gtk_theme_provider.h

Issue 3173043: Move theme files in chrome/browser/ into a themes/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_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 #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/browser_theme_provider.h"
16 #include "chrome/browser/gtk/owned_widget_gtk.h" 15 #include "chrome/browser/gtk/owned_widget_gtk.h"
16 #include "chrome/browser/themes/browser_theme_provider.h"
17 #include "chrome/common/notification_observer.h" 17 #include "chrome/common/notification_observer.h"
18 #include "gfx/color_utils.h" 18 #include "gfx/color_utils.h"
19 19
20 class CairoCachedSurface; 20 class CairoCachedSurface;
21 class GtkSignalRegistrar; 21 class GtkSignalRegistrar;
22 class Profile; 22 class Profile;
23 23
24 typedef struct _GdkDisplay GdkDisplay; 24 typedef struct _GdkDisplay GdkDisplay;
25 typedef struct _GdkEventExpose GdkEventExpose; 25 typedef struct _GdkEventExpose GdkEventExpose;
26 typedef struct _GdkPixbuf GdkPixbuf; 26 typedef struct _GdkPixbuf GdkPixbuf;
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 // The default folder icon and default bookmark icon for the GTK theme. 282 // The default folder icon and default bookmark icon for the GTK theme.
283 // These are static because the system can only have one theme at a time. 283 // These are static because the system can only have one theme at a time.
284 // They are cached when they are requested the first time, and cleared when 284 // They are cached when they are requested the first time, and cleared when
285 // the system theme changes. 285 // the system theme changes.
286 static GdkPixbuf* default_folder_icon_; 286 static GdkPixbuf* default_folder_icon_;
287 static GdkPixbuf* default_bookmark_icon_; 287 static GdkPixbuf* default_bookmark_icon_;
288 }; 288 };
289 289
290 #endif // CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_ 290 #endif // CHROME_BROWSER_GTK_GTK_THEME_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698