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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // Enable memory monitoring. | 118 // Enable memory monitoring. |
119 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 119 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
120 #endif | 120 #endif |
121 | 121 |
122 // Enables the Oak tree viewer. | 122 // Enables the Oak tree viewer. |
123 const char kAshEnableOak[] = "ash-enable-oak"; | 123 const char kAshEnableOak[] = "ash-enable-oak"; |
124 | 124 |
125 // Disables overview mode for window switching. | 125 // Disables overview mode for window switching. |
126 const char kAshDisableOverviewMode[] = "ash-disable-overview-mode"; | 126 const char kAshDisableOverviewMode[] = "ash-disable-overview-mode"; |
127 | 127 |
| 128 // Enables software based mirroring. |
| 129 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; |
| 130 |
128 // Enables "sticky" edges instead of "snap-to-edge" | 131 // Enables "sticky" edges instead of "snap-to-edge" |
129 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; | 132 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; |
130 | 133 |
131 // Enables showing the tray bubble by dragging on the shelf. | 134 // Enables showing the tray bubble by dragging on the shelf. |
132 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; | 135 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; |
133 | 136 |
134 // Forces chrome to use mirror mode when an external display is connected. | 137 // Forces chrome to use mirror mode when an external display is connected. |
135 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; | 138 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; |
136 | 139 |
137 // Hides notifications that are irrelevant to Chrome OS device factory testing, | 140 // Hides notifications that are irrelevant to Chrome OS device factory testing, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 } | 227 } |
225 | 228 |
226 bool UseUsbChargerNotification() { | 229 bool UseUsbChargerNotification() { |
227 return !CommandLine::ForCurrentProcess()-> | 230 return !CommandLine::ForCurrentProcess()-> |
228 HasSwitch(kAshDisableUsbChargerNotification); | 231 HasSwitch(kAshDisableUsbChargerNotification); |
229 } | 232 } |
230 #endif | 233 #endif |
231 | 234 |
232 } // namespace switches | 235 } // namespace switches |
233 } // namespace ash | 236 } // namespace ash |
OLD | NEW |