summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
authorharrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 07:08:31 +0000
committerharrym@chromium.org <harrym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 07:08:31 +0000
commit1dd46bd04667e2deecbada10e28b6957742af56d (patch)
treeaa8a60f366557708e8736bbfaf3da5bda6ba418c /ash/ash_switches.cc
parent40dade3275c3bf84f1a646a9643fdabed19094ad (diff)
downloadchromium_src-1dd46bd04667e2deecbada10e28b6957742af56d.zip
chromium_src-1dd46bd04667e2deecbada10e28b6957742af56d.tar.gz
chromium_src-1dd46bd04667e2deecbada10e28b6957742af56d.tar.bz2
Added flag for alternate launcher settings (remaining changes to come).
Alter height of shelf when flag is set. BUG=244983 Review URL: https://chromiumcodereview.appspot.com/16900002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r--ash/ash_switches.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index ab46df4..d6b9a53 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -120,6 +120,14 @@ const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout";
// Enables the heads-up display for tracking touch points.
const char kAshTouchHud[] = "ash-touch-hud";
+// Use alternate layout of the shelf for testing a new look and feel:
+// Slightly smaller profile, only 2 states for the "bar highlight" on
+// launcher buttons, app list icon with more visible state indication,
+// app list icon repositionable and defaulting as 1st item in shelf,
+// more visible state indication for background on status area.
+// crbug's [244983, 244990, 244994, 245005, 245012]
+const char kAshUseAlternateShelfLayout[] = "ash-use-alternate-shelf";
+
// Uses the 1st display in --ash-host-window-bounds as internal display.
// This is for debugging on linux desktop.
const char kAshUseFirstDisplayAsInternal[] =
@@ -157,5 +165,10 @@ bool ShowAudioDeviceMenu() {
HasSwitch(ash::switches::kAshEnableAudioDeviceMenu);
}
+bool UseAlternateShelfLayout() {
+ return CommandLine::ForCurrentProcess()->
+ HasSwitch(ash::switches::kAshUseAlternateShelfLayout);
+}
+
} // namespace switches
} // namespace ash