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

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: respond to comments 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..84c2bf34db49cda4509f99895e13df266205b0d6 100644
--- a/chrome/browser/themes/theme_properties.h
+++ b/chrome/browser/themes/theme_properties.h
@@ -126,6 +126,14 @@ class ThemeProperties {
#endif // OS_MACOSX
};
+ // The int value has no special meaning, but should not conflict with
+ // the other property enums above.
+ enum IncognitoThemeProperty {
+ COLOR_TOOLBAR_INCOGNITO = 2000,
+ };
+
+ static int PropertyToIncognitoProperty(int id);
Peter Kasting 2015/12/09 01:31:59 I thought you were going to eliminate this functio
Evan Stade 2015/12/09 01:57:06 ah, ok, I guess we can do that. I thought you just
+
// Used by the browser theme pack to parse alignments from something like
// "top left" into a bitmask of Alignment.
static int StringToAlignment(const std::string& alignment);

Powered by Google App Engine
This is Rietveld 408576698