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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // Enables the multi user icons in the system tray. | 126 // Enables the multi user icons in the system tray. |
127 const char kAshEnableMultiUserTray[] = "ash-enable-multi-user-tray"; | 127 const char kAshEnableMultiUserTray[] = "ash-enable-multi-user-tray"; |
128 #endif | 128 #endif |
129 | 129 |
130 // Enables the Oak tree viewer. | 130 // Enables the Oak tree viewer. |
131 const char kAshEnableOak[] = "ash-enable-oak"; | 131 const char kAshEnableOak[] = "ash-enable-oak"; |
132 | 132 |
133 // Enables software based mirroring. | 133 // Enables software based mirroring. |
134 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; | 134 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; |
135 | 135 |
136 // Enables "sticky" edges instead of "snap-to-edge" | |
137 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; | |
138 | |
139 // When this flag is set, system sounds will be played whether the | 136 // When this flag is set, system sounds will be played whether the |
140 // ChromeVox is enabled or not. | 137 // ChromeVox is enabled or not. |
141 const char kAshEnableSystemSounds[] = "ash-enable-system-sounds"; | 138 const char kAshEnableSystemSounds[] = "ash-enable-system-sounds"; |
142 | 139 |
143 // Enables showing the tray bubble by dragging on the shelf. | 140 // Enables showing the tray bubble by dragging on the shelf. |
144 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; | 141 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; |
145 | 142 |
146 // Forces chrome to use mirror mode when an external display is connected. | 143 // Forces chrome to use mirror mode when an external display is connected. |
147 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; | 144 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; |
148 | 145 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 } | 260 } |
264 | 261 |
265 bool UseUsbChargerNotification() { | 262 bool UseUsbChargerNotification() { |
266 return !CommandLine::ForCurrentProcess()-> | 263 return !CommandLine::ForCurrentProcess()-> |
267 HasSwitch(kAshDisableUsbChargerNotification); | 264 HasSwitch(kAshDisableUsbChargerNotification); |
268 } | 265 } |
269 #endif | 266 #endif |
270 | 267 |
271 } // namespace switches | 268 } // namespace switches |
272 } // namespace ash | 269 } // namespace ash |
OLD | NEW |