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

Unified Diff: chrome/browser/browser_theme_provider.h

Issue 165375: Merge 23023 - Allow theming of colors for the Mac.... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/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
« no previous file with comments | « app/theme_provider.h ('k') | chrome/browser/browser_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_theme_provider.h
===================================================================
--- chrome/browser/browser_theme_provider.h (revision 23163)
+++ chrome/browser/browser_theme_provider.h (working copy)
@@ -160,6 +160,7 @@
virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id);
#elif defined(OS_MACOSX)
virtual NSImage* GetNSImageNamed(int id);
+ virtual NSColor* GetNSColor(int id);
virtual NSColor* GetNSColorTint(int id);
#endif
@@ -242,6 +243,12 @@
// Returns the default tint for the given tint |id| TINT_* enum value.
skia::HSL GetDefaultTint(int id);
+ // Returns the string key for the given color |id| COLOR_* enum value.
+ const std::string GetColorKey(int id);
+
+ // Returns the default color for the given color |id| COLOR_* enum value.
+ SkColor GetDefaultColor(int id);
+
// Get the specified tint - |id| is one of the TINT_* enum values.
skia::HSL GetTint(int id);
@@ -283,8 +290,6 @@
// Save the id of the last theme installed.
void SaveThemeID(const std::string& id);
- SkColor FindColor(const char* id, SkColor default_color);
-
// Frees generated images and clears the image cache.
void ClearCaches();
Property changes on: chrome\browser\browser_theme_provider.h
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/browser_theme_provider.h:r23023
« no previous file with comments | « app/theme_provider.h ('k') | chrome/browser/browser_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698