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

Unified Diff: ui/base/ui_base_switches.cc

Issue 1188713007: Moved --top-chrome-md command line switch from chrome_switches to ui_base_switches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 fd6e23f0a2ebef04fcada4687abec2dc0f0f3af1..bb50cf26887246102fbe8349878e43d37c70bf1c 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -54,6 +54,24 @@ const char kEnableTouchEditing[] = "enable-touch-editing";
// language[-country] where language is the 2 letter code from ISO-639.
const char kLang[] = "lang";
+#ifdef ENABLE_TOPCHROME_MD
+// Enables top Chrome material design look and feel changes.
+const char kTopChromeMD[] = "top-chrome-md";
+
+// The default look and feel value for the |kTopChromeMD| switch.
+const char kTopChromeMDDefault[] = "";
+
+// Material design look and feel value for the |kTopChromeMD| switch.
+const char kTopChromeMDEnabled[] = "enabled";
+
+// Material design look and feel value for the |kTopChromeMD| switch. Targeted
+// for convertible devices.
+const char kTopChromeMDHybridEnabled[] = "enabled-hybrid";
+
+// Classic, non-material, look and feel value for the |kTopChromeMD| switch.
+const char kTopChromeMDDisabled[] = "disabled";
+#endif
+
// On Windows only: requests that Chrome connect to the running Metro viewer
// process.
const char kViewerConnect[] = "connect-to-metro-viewer";

Powered by Google App Engine
This is Rietveld 408576698