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

Unified Diff: chrome/browser/about_flags.cc

Issue 1108333002: Compile-time and run-time flags for top chrome material design. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing histograms.xml Created 5 years, 7 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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index f8e446ee4e35889a8643c6a3271ced92561ed173..f3cac807626058d34110a6d82d0ceccab56dd01d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -885,6 +885,17 @@ const Experiment kExperiments[] = {
kOsDesktop,
SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)
},
+#if defined(ENABLE_TOPCHROME_MD)
+ {
+ "top-chrome-md",
+ IDS_FLAGS_TOP_CHROME_MD,
+ IDS_FLAGS_TOP_CHROME_MD_DESCRIPTION,
+ kOsWin | kOsCrOS,
+ ENABLE_DISABLE_VALUE_TYPE(
+ switches::kTopChromeMDEnabled,
+ switches::kTopChromeMDDisabled)
+ },
+#endif
{
"touch-events",
IDS_TOUCH_EVENTS_NAME,

Powered by Google App Engine
This is Rietveld 408576698