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

Unified Diff: app/theme_provider.h

Issue 162010: Allow theming of colors for the Mac. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
Index: app/theme_provider.h
===================================================================
--- app/theme_provider.h (revision 22474)
+++ app/theme_provider.h (working copy)
@@ -82,8 +82,14 @@
//
// 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;
- 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
« no previous file with comments | « no previous file | chrome/browser/browser_theme_provider.h » ('j') | chrome/browser/browser_theme_provider_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698