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

Unified Diff: chrome/browser/themes/theme_properties.h

Issue 1492423003: Rejigger ThemeService: move exposure of ThemeProvider interface to a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: filed bug and comment Created 5 years 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: chrome/browser/themes/theme_properties.h
diff --git a/chrome/browser/themes/theme_properties.h b/chrome/browser/themes/theme_properties.h
index 4848cde20594fbb91df754b7ec6274cca89858b7..8bfc4e85fb7cfe75dfd8d8273eb4a1439dd86de0 100644
--- a/chrome/browser/themes/theme_properties.h
+++ b/chrome/browser/themes/theme_properties.h
@@ -154,6 +154,10 @@ class ThemeProperties {
// Returns gfx::kPlaceholderColor if |id| is invalid.
static SkColor GetDefaultColor(int id);
+ // As above, but takes incognito status into account.
+ // TODO(estade): remove the above in favor of this one.
+ static SkColor GetDefaultColor(int id, bool otr);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
};

Powered by Google App Engine
This is Rietveld 408576698