| Index: ash/common/ash_switches.cc
|
| diff --git a/ash/common/ash_switches.cc b/ash/common/ash_switches.cc
|
| index e9eb255ddae2d24c172b000b2d2b7c5c91c202c9..d912f1494084bf67939be4b7b0db627931e08be3 100644
|
| --- a/ash/common/ash_switches.cc
|
| +++ b/ash/common/ash_switches.cc
|
| @@ -58,6 +58,10 @@ const char kAshEnablePalette[] = "ash-enable-palette";
|
| const char kAshEnablePaletteOnAllDisplays[] =
|
| "ash-enable-palette-on-all-displays";
|
|
|
| +// Enables docking windows to the right or left (not to be confused with snapped
|
| +// windows).
|
| +const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
|
| +
|
| // Enables the observation of accelerometer events to enter touch-view mode.
|
| const char kAshEnableTouchView[] = "enable-touchview";
|
|
|
| @@ -99,5 +103,10 @@ bool ConstrainPointerToRoot() {
|
| kAshConstrainPointerToRoot);
|
| }
|
|
|
| +bool DockedWindowsEnabled() {
|
| + return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + ash::switches::kAshEnableDockedWindows);
|
| +}
|
| +
|
| } // namespace switches
|
| } // namespace ash
|
|
|