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

Unified Diff: ui/base/ui_base_switches.cc

Issue 1926943002: Introduce new flag to control usage of MD in secondary (not top-chrome) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improve docs Created 4 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: ui/base/ui_base_switches.cc
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index 7ec3c6bf649407b9872d4f12974a9601f40c8a16..4fbeb252d4513b2d19d160d0521adcffc7d78299 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -80,6 +80,10 @@ const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
// Classic, non-material, mode for the |kTopChromeMD| switch.
const char kTopChromeMDNonMaterial[] = "non-material";
+
+// Applies the material design mode passed via --top-chrome-md to elements
+// throughout Chrome (not just top Chrome).
+const char kExtendMdToSecondaryUi[] = "secondary-ui-md";
#endif // defined(ENABLE_TOPCHROME_MD)
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698