diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 14:36:52 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 14:36:52 +0000 |
commit | 7cd83d1caff7fa1090d9fc8eadb7474cb3b811f2 (patch) | |
tree | 7150d07291e245bdbefe440675f3f7243e1d4e1a /app/theme_provider.h | |
parent | 9b7d65f37d3392c5f69e44e053e9b3a3184b431d (diff) | |
download | chromium_src-7cd83d1caff7fa1090d9fc8eadb7474cb3b811f2.zip chromium_src-7cd83d1caff7fa1090d9fc8eadb7474cb3b811f2.tar.gz chromium_src-7cd83d1caff7fa1090d9fc8eadb7474cb3b811f2.tar.bz2 |
Allow theming of colors for the Mac.
BUG=http://crbug.com/18438
TEST=none
Review URL: http://codereview.chromium.org/162010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23023 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r-- | app/theme_provider.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h index 073247c..f9a9bb5 100644 --- a/app/theme_provider.h +++ b/app/theme_provider.h @@ -82,8 +82,14 @@ class ThemeProvider { // // The bitmap is not assumed to exist. If a theme does not provide an image, // this function will return nil. - virtual NSImage* GetNSImageNamed(int id) = 0; + + // Gets the NSColor with the specified |id|. + // + // The color is not assumed to exist. If a theme does not provide an color, + // this function will return nil. + virtual NSColor* GetNSColor(int id) = 0; + // Gets the NSColor for tinting with the specified |id|. // // The tint is not assumed to exist. If a theme does not provide a tint with |