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

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: Code clean-up Created 5 years, 8 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 | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
bruthig 2015/05/11 17:12:20 How come you aren't using a tri-state flag with a
girard 2015/05/11 20:15:44 This _is_ a tri-state flag. It appears in the UI w
+ switches::kTopChromeMDEnabled,
+ switches::kTopChromeMDDisabled)
+ },
+#endif
{
"touch-events",
IDS_TOUCH_EVENTS_NAME,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698