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

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: add a test 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..90f42f86d3d061f071f0e60fa9437d3888fede20 100644
--- a/chrome/browser/themes/theme_properties.h
+++ b/chrome/browser/themes/theme_properties.h
@@ -126,6 +126,13 @@ class ThemeProperties {
#endif // OS_MACOSX
};
+ enum IncognitoThemeProperty {
pkotwicz 2015/12/04 23:16:49 Nit: Please add a comment that the int value of th
Evan Stade 2015/12/09 00:57:10 Done.
+ COLOR_TOOLBAR_INCOGNITO = 2000,
+ };
+
+ static int IncognitoPropertyToProperty(int id);
+ static int PropertyToIncognitoProperty(int id);
Peter Kasting 2015/12/08 22:52:58 If you follow my suggestion in theme_service.cc, I
Evan Stade 2015/12/09 00:57:10 Done.
+
// 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