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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 #if defined(OS_CHROMEOS) | 119 #if defined(OS_CHROMEOS) |
120 // TODO(jamescook): Remove this unused flag. It exists only to allow the | 120 // TODO(jamescook): Remove this unused flag. It exists only to allow the |
121 // "Enable new audio handler" about:flags item to have the tri-state | 121 // "Enable new audio handler" about:flags item to have the tri-state |
122 // default/enabled/disabled UI. | 122 // default/enabled/disabled UI. |
123 const char kAshEnableNewAudioHandler[] = "ash-enable-new-audio-handler"; | 123 const char kAshEnableNewAudioHandler[] = "ash-enable-new-audio-handler"; |
124 #endif | 124 #endif |
125 | 125 |
126 // Enables the Oak tree viewer. | 126 // Enables the Oak tree viewer. |
127 const char kAshEnableOak[] = "ash-enable-oak"; | 127 const char kAshEnableOak[] = "ash-enable-oak"; |
128 | 128 |
| 129 // Enables overview mode for window switching. |
| 130 const char kAshEnableOverviewMode[] = "ash-enable-overview-mode"; |
| 131 |
129 // Enables "sticky" edges instead of "snap-to-edge" | 132 // Enables "sticky" edges instead of "snap-to-edge" |
130 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; | 133 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; |
131 | 134 |
132 // Enables showing the tray bubble by dragging on the shelf. | 135 // Enables showing the tray bubble by dragging on the shelf. |
133 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; | 136 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; |
134 | 137 |
135 // Forces chrome to use mirror mode when an external display is connected. | 138 // Forces chrome to use mirror mode when an external display is connected. |
136 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; | 139 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; |
137 | 140 |
138 // Hides notifications that are irrelevant to Chrome OS device factory testing, | 141 // Hides notifications that are irrelevant to Chrome OS device factory testing, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } | 215 } |
213 | 216 |
214 bool UseUsbChargerNotification() { | 217 bool UseUsbChargerNotification() { |
215 return !CommandLine::ForCurrentProcess()-> | 218 return !CommandLine::ForCurrentProcess()-> |
216 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); | 219 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); |
217 } | 220 } |
218 #endif | 221 #endif |
219 | 222 |
220 } // namespace switches | 223 } // namespace switches |
221 } // namespace ash | 224 } // namespace ash |
OLD | NEW |