diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-25 21:43:25 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-25 21:43:25 +0000 |
commit | e9210915326b600a7efc8aa6d1befba549347fe5 (patch) | |
tree | 93b86527830652c00a602d1c324b3078257c1372 /app/theme_provider.h | |
parent | f9fc33227ea65b9b199a1fc7cc1055d362e5594a (diff) | |
download | chromium_src-e9210915326b600a7efc8aa6d1befba549347fe5.zip chromium_src-e9210915326b600a7efc8aa6d1befba549347fe5.tar.gz chromium_src-e9210915326b600a7efc8aa6d1befba549347fe5.tar.bz2 |
Removal of GTMTheme gradient use. Unthemed incognito windows now are fully drawn as they should be.
BUG=http://crbug.com/35554 ; http://crbug.com/26983
TEST=no visible change in normal mode; themed incognito windows should look almost correct (missing theme header)
Review URL: http://codereview.chromium.org/661097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r-- | app/theme_provider.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h index 1db73e1..5659140 100644 --- a/app/theme_provider.h +++ b/app/theme_provider.h @@ -13,9 +13,11 @@ #if defined(OS_MACOSX) #ifdef __OBJC__ @class NSColor; +@class NSGradient; @class NSImage; #else class NSColor; +class NSGradient; class NSImage; #endif // __OBJC__ #elif !defined(OS_WIN) @@ -88,6 +90,9 @@ class ThemeProvider { // that id, if |allow_default| is true, then the default tint will be // returned, else this function will return nil. virtual NSColor* GetNSColorTint(int id, bool allow_default) const = 0; + + // Gets the NSGradient with the specified |id|. + virtual NSGradient* GetNSGradient(int id) const = 0; #elif defined(OS_POSIX) && !defined(TOOLKIT_VIEWS) // Gets the GdkPixbuf with the specified |id|. Returns a pointer to a shared // instance of the GdkPixbuf. This shared GdkPixbuf is owned by the theme |