| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/ash_switches.h" | 5 #include "ash/ash_switches.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 // Use alternate visual style for the caption buttons (minimize, maximize, | 85 // Use alternate visual style for the caption buttons (minimize, maximize, |
| 86 // restore, close). The alternate style: | 86 // restore, close). The alternate style: |
| 87 // - Adds a dedicated button for minimize. | 87 // - Adds a dedicated button for minimize. |
| 88 // - Increases the height of the maximized header. | 88 // - Increases the height of the maximized header. |
| 89 // - Removes the maximize button's help bubble. | 89 // - Removes the maximize button's help bubble. |
| 90 // - Switches snapping a window left/right to be always 50%. | 90 // - Switches snapping a window left/right to be always 50%. |
| 91 const char kAshEnableAlternateFrameCaptionButtonStyle[] = | 91 const char kAshEnableAlternateFrameCaptionButtonStyle[] = |
| 92 "ash-enable-alternate-caption-button"; | 92 "ash-enable-alternate-caption-button"; |
| 93 | 93 |
| 94 // Enables settings ui to control the autoclick accessibility feature. |
| 95 const char kAshEnableAutoclick[] = "ash-enable-autoclick"; |
| 96 |
| 94 // Always enable brightness control. Used by machines that don't report their | 97 // Always enable brightness control. Used by machines that don't report their |
| 95 // main monitor as internal. | 98 // main monitor as internal. |
| 96 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; | 99 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
| 97 | 100 |
| 98 // Enable the dock area on a desktop. | 101 // Enable the dock area on a desktop. |
| 99 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; | 102 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; |
| 100 | 103 |
| 101 // Disable dragging items off the shelf to unpin them. | 104 // Disable dragging items off the shelf to unpin them. |
| 102 const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; | 105 const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; |
| 103 | 106 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 } | 244 } |
| 242 | 245 |
| 243 bool UseUsbChargerNotification() { | 246 bool UseUsbChargerNotification() { |
| 244 return !CommandLine::ForCurrentProcess()-> | 247 return !CommandLine::ForCurrentProcess()-> |
| 245 HasSwitch(kAshDisableUsbChargerNotification); | 248 HasSwitch(kAshDisableUsbChargerNotification); |
| 246 } | 249 } |
| 247 #endif | 250 #endif |
| 248 | 251 |
| 249 } // namespace switches | 252 } // namespace switches |
| 250 } // namespace ash | 253 } // namespace ash |
| OLD | NEW |