Index: ash/ash_switches.cc |
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc |
index 934cbac7debf95f1904567f1cb1a1022c8262c2d..9e7ab46ee8ca4008ac0b6452519a0830682d6c4a 100644 |
--- a/ash/ash_switches.cc |
+++ b/ash/ash_switches.cc |
@@ -88,8 +88,8 @@ const char kAshEnableAlternateFrameCaptionButtonStyle[] = |
// main monitor as internal. |
const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
-// Enable the dock area on a desktop. |
-const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; |
+// Disable ability to dock windows at the desktop edge. |
+const char kAshDisableDockedWindows[] = "ash-disable-docked-windows"; |
// Disable dragging items off the shelf to unpin them. |
const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; |
@@ -223,6 +223,10 @@ bool UseOverviewMode() { |
return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableOverviewMode); |
} |
+bool UseDockedWindows() { |
+ return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); |
+} |
+ |
#if defined(OS_CHROMEOS) |
bool ShowAudioDeviceMenu() { |
return !CommandLine::ForCurrentProcess()-> |