| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; | 107 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; |
| 108 | 108 |
| 109 #if defined(OS_LINUX) | 109 #if defined(OS_LINUX) |
| 110 // Enable memory monitoring. | 110 // Enable memory monitoring. |
| 111 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 111 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
| 112 #endif | 112 #endif |
| 113 | 113 |
| 114 // Enables the Oak tree viewer. | 114 // Enables the Oak tree viewer. |
| 115 const char kAshEnableOak[] = "ash-enable-oak"; | 115 const char kAshEnableOak[] = "ash-enable-oak"; |
| 116 | 116 |
| 117 // Enables overview mode for window switching. |
| 118 const char kAshEnableOverviewMode[] = "ash-enable-overview-mode"; |
| 119 |
| 117 // Enables "sticky" edges instead of "snap-to-edge" | 120 // Enables "sticky" edges instead of "snap-to-edge" |
| 118 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; | 121 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; |
| 119 | 122 |
| 120 // Enables showing the tray bubble by dragging on the shelf. | 123 // Enables showing the tray bubble by dragging on the shelf. |
| 121 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; | 124 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; |
| 122 | 125 |
| 123 // Enable workspace switching via a three finger vertical scroll. | 126 // Enable workspace switching via a three finger vertical scroll. |
| 124 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing"; | 127 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing"; |
| 125 | 128 |
| 126 // Forces chrome to use mirror mode when an external display is connected. | 129 // Forces chrome to use mirror mode when an external display is connected. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 } | 206 } |
| 204 | 207 |
| 205 bool UseUsbChargerNotification() { | 208 bool UseUsbChargerNotification() { |
| 206 return !CommandLine::ForCurrentProcess()-> | 209 return !CommandLine::ForCurrentProcess()-> |
| 207 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); | 210 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); |
| 208 } | 211 } |
| 209 #endif | 212 #endif |
| 210 | 213 |
| 211 } // namespace switches | 214 } // namespace switches |
| 212 } // namespace ash | 215 } // namespace ash |
| OLD | NEW |