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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; | 97 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; |
98 | 98 |
99 #if defined(OS_LINUX) | 99 #if defined(OS_LINUX) |
100 // Enable memory monitoring. | 100 // Enable memory monitoring. |
101 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 101 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
102 #endif | 102 #endif |
103 | 103 |
104 // Enables the Oak tree viewer. | 104 // Enables the Oak tree viewer. |
105 const char kAshEnableOak[] = "ash-enable-oak"; | 105 const char kAshEnableOak[] = "ash-enable-oak"; |
106 | 106 |
107 // Enables overview mode for window switching. | 107 // Disables overview mode for window switching. |
108 const char kAshEnableOverviewMode[] = "ash-enable-overview-mode"; | 108 const char kAshDisableOverviewMode[] = "ash-disable-overview-mode"; |
109 | 109 |
110 // Enables "sticky" edges instead of "snap-to-edge" | 110 // Enables "sticky" edges instead of "snap-to-edge" |
111 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; | 111 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; |
112 | 112 |
113 // Enables showing the tray bubble by dragging on the shelf. | 113 // Enables showing the tray bubble by dragging on the shelf. |
114 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; | 114 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; |
115 | 115 |
116 // Forces chrome to use mirror mode when an external display is connected. | 116 // Forces chrome to use mirror mode when an external display is connected. |
117 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; | 117 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; |
118 | 118 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 } | 201 } |
202 | 202 |
203 bool UseUsbChargerNotification() { | 203 bool UseUsbChargerNotification() { |
204 return !CommandLine::ForCurrentProcess()-> | 204 return !CommandLine::ForCurrentProcess()-> |
205 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); | 205 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); |
206 } | 206 } |
207 #endif | 207 #endif |
208 | 208 |
209 } // namespace switches | 209 } // namespace switches |
210 } // namespace ash | 210 } // namespace ash |
OLD | NEW |