| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // Disable ability to dock windows at the desktop edge. | 50 // Disable ability to dock windows at the desktop edge. |
| 51 const char kAshDisableDockedWindows[] = "ash-disable-docked-windows"; | 51 const char kAshDisableDockedWindows[] = "ash-disable-docked-windows"; |
| 52 | 52 |
| 53 // Use alternate visual style for the caption buttons (minimize, maximize, | 53 // Use alternate visual style for the caption buttons (minimize, maximize, |
| 54 // restore, close). The alternate style: | 54 // restore, close). The alternate style: |
| 55 // - Adds a dedicated button for minimize. | 55 // - Adds a dedicated button for minimize. |
| 56 // - Removes the maximize button's help bubble. | 56 // - Removes the maximize button's help bubble. |
| 57 const char kAshEnableAlternateFrameCaptionButtonStyle[] = | 57 const char kAshEnableAlternateFrameCaptionButtonStyle[] = |
| 58 "ash-enable-alternate-caption-button"; | 58 "ash-enable-alternate-caption-button"; |
| 59 | 59 |
| 60 // Always enable brightness control. Used by machines that don't report their | |
| 61 // main monitor as internal. | |
| 62 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; | |
| 63 | |
| 64 #if defined(OS_CHROMEOS) | 60 #if defined(OS_CHROMEOS) |
| 65 // Enables key bindings to scroll magnified screen. | 61 // Enables key bindings to scroll magnified screen. |
| 66 const char kAshEnableMagnifierKeyScroller[] = | 62 const char kAshEnableMagnifierKeyScroller[] = |
| 67 "ash-enable-magnifier-key-scroller"; | 63 "ash-enable-magnifier-key-scroller"; |
| 68 #endif | 64 #endif |
| 69 | 65 |
| 70 // Enables software based mirroring. | 66 // Enables software based mirroring. |
| 71 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; | 67 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; |
| 72 | 68 |
| 73 // Enables touch view testing. | 69 // Enables touch view testing. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 return !CommandLine::ForCurrentProcess()-> | 136 return !CommandLine::ForCurrentProcess()-> |
| 141 HasSwitch(kAshDisableAlternateShelfLayout); | 137 HasSwitch(kAshDisableAlternateShelfLayout); |
| 142 } | 138 } |
| 143 | 139 |
| 144 bool UseDockedWindows() { | 140 bool UseDockedWindows() { |
| 145 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); | 141 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); |
| 146 } | 142 } |
| 147 | 143 |
| 148 } // namespace switches | 144 } // namespace switches |
| 149 } // namespace ash | 145 } // namespace ash |
| OLD | NEW |