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

Unified Diff: chrome/browser/about_flags.cc

Issue 2804823002: Revamp the Incognito NTP on Desktop (Closed)
Patch Set: Created 3 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
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index cfb5e20bd19ef65b757fd2a05385995fe578e7b9..42053b9183e50e377743c462af8f5cbbc61bd1ea 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2497,6 +2497,11 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(chrome::android::kCustomContextMenu)},
#endif // OS_ANDROID
+ {"enable-md-incognito-ntp",
+ flag_descriptions::kEnableMaterialDesignIncognitoNTPName,
+ flag_descriptions::kEnableMaterialDesignIncognitoNTPDescription, kOsAll,
+ SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignIncognitoNTP)},
Dan Beam 2017/04/11 00:31:12 can we use a feature instead of a switch?
msramek 2017/04/11 19:04:26 Done. I also changed the OS to Desktop; I'll flip
+
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | chrome/browser/resources/ntp4/md_incognito_tab.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698