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

Unified Diff: ash/ash_switches.cc

Issue 16900002: Added flag for alternate launcher settings (remaining changes to come). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated description and string Created 7 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
« no previous file with comments | « ash/ash_switches.h ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_switches.cc
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index ab46df475b15ae03e376d25714905d856a5b1407..d6b9a53b3b794726e3f3d291c7af530a1098ce0f 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
« no previous file with comments | « ash/ash_switches.h ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698