Index: ash/ash_switches.cc |
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc |
index a2fc9c98757b6aee8ad4c05bb3a57ea99938bfb0..4f6ebd9ccd1ccbe1e1222d282a79e676ce4e8903 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"; |
@@ -228,6 +228,10 @@ bool UseOverviewMode() { |
return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableOverviewMode); |
} |
+bool UseDockedWindows() { |
+ return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); |
+} |
+ |
#if defined(OS_CHROMEOS) |
bool ShowAudioDeviceMenu() { |
return !CommandLine::ForCurrentProcess()-> |