Chromium Code Reviews| Index: ash/ash_switches.cc |
| diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc |
| index ab46df475b15ae03e376d25714905d856a5b1407..4ff6d253b02f606699e0fa012b209e857d00f52d 100644 |
| --- a/ash/ash_switches.cc |
| +++ b/ash/ash_switches.cc |
| @@ -120,6 +120,10 @@ 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: |
| +// crbug's [244983, 244990, 244994, 245005, 245012] |
|
James Cook
2013/06/13 15:55:30
I would explain briefly the changes here, rather t
Harry McCleave
2013/06/13 22:30:42
Done.
|
| +const char kAshUseAlternateShelfLayout[] = "ash-use-alt-shelf"; |
|
James Cook
2013/06/13 15:55:30
Should this be ash-use-alternate-shelf to be more
Harry McCleave
2013/06/13 22:30:42
Done.
|
| + |
| // Uses the 1st display in --ash-host-window-bounds as internal display. |
| // This is for debugging on linux desktop. |
| const char kAshUseFirstDisplayAsInternal[] = |
| @@ -157,5 +161,10 @@ bool ShowAudioDeviceMenu() { |
| HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); |
| } |
| +bool UseAlternateShelfLayout() { |
|
James Cook
2013/06/13 15:55:30
I like this pattern of a UseFoo() function.
|
| + return CommandLine::ForCurrentProcess()-> |
| + HasSwitch(ash::switches::kAshUseAlternateShelfLayout); |
| +} |
| + |
| } // namespace switches |
| } // namespace ash |