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

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: Removed typedef in unittest. 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 483ad1b35345242c31ec4ab78f095e109122ee8c..e45b73b2b9bd410300485707ed6fe4fb7dab8acb 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -54,6 +54,21 @@ const char kEnableTouchEditing[] = "enable-touch-editing";
// language[-country] where language is the 2 letter code from ISO-639.
const char kLang[] = "lang";
+#if defined(ENABLE_TOPCHROME_MD)
+// Enables top Chrome material design elements.
+const char kTopChromeMD[] = "top-chrome-md";
+
+// Material design mode for the |kTopChromeMD| switch.
+const char kTopChromeMDMaterial[] = "material";
+
+// Material design hybrid mode for the |kTopChromeMD| switch. Targeted for
+// mouse/touch hybrid devices.
+const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
+
+// Classic, non-material, mode for the |kTopChromeMD| switch.
+const char kTopChromeMDNonMaterial[] = "";
+#endif // defined(ENABLE_TOPCHROME_MD)
+
// 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