| Index: ash/ash_switches.cc
|
| diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
|
| index acb106f17712cd2b8604a87aee2865eb81b098eb..14a9b841ddef045165e64887960ceecc32a0ed44 100644
|
| --- a/ash/ash_switches.cc
|
| +++ b/ash/ash_switches.cc
|
| @@ -44,6 +44,10 @@ const char kAshDefaultGuestWallpaperSmall[] =
|
| const char kAshDefaultWallpaperLarge[] = "ash-default-wallpaper-large";
|
| const char kAshDefaultWallpaperSmall[] = "ash-default-wallpaper-small";
|
|
|
| +// Disable the alternate shelf layout.
|
| +const char kAshDisableAlternateShelfLayout[] =
|
| + "ash-disable-alternate-shelf-layout";
|
| +
|
| #if defined(OS_CHROMEOS)
|
| // Disable the status tray volume menu for allowing the user to choose an audio
|
| // input and output device.
|
| @@ -184,13 +188,13 @@ const char kAshDisableDragAndDropAppListToLauncher[] =
|
| const char kForcedMaximizeMode[] = "forced-maximize-mode";
|
|
|
| bool UseAlternateShelfLayout() {
|
| - return CommandLine::ForCurrentProcess()->
|
| - HasSwitch(ash::switches::kAshUseAlternateShelfLayout);
|
| + return !CommandLine::ForCurrentProcess()->
|
| + HasSwitch(ash::switches::kAshDisableAlternateShelfLayout);
|
| }
|
|
|
| bool ShowShelfAlignmentMenu() {
|
| - return CommandLine::ForCurrentProcess()->
|
| - HasSwitch(switches::kShowShelfAlignmentMenu);
|
| + return !CommandLine::ForCurrentProcess()->
|
| + HasSwitch(switches::kHideShelfAlignmentMenu);
|
| }
|
|
|
| #if defined(OS_CHROMEOS)
|
|
|