| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 const char kAshEnableAudioDeviceMenu[] = | 70 const char kAshEnableAudioDeviceMenu[] = |
| 71 "ash-enable-audio-device-menu"; | 71 "ash-enable-audio-device-menu"; |
| 72 | 72 |
| 73 // Enable advanced gestures (e.g. for window management). | 73 // Enable advanced gestures (e.g. for window management). |
| 74 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; | 74 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; |
| 75 | 75 |
| 76 // Always enable brightness control. Used by machines that don't report their | 76 // Always enable brightness control. Used by machines that don't report their |
| 77 // main monitor as internal. | 77 // main monitor as internal. |
| 78 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; | 78 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
| 79 | 79 |
| 80 // Enable the dock area on a desktop. |
| 81 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; |
| 82 |
| 80 // Enable immersive fullscreen mode, regardless of default setting. | 83 // Enable immersive fullscreen mode, regardless of default setting. |
| 81 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; | 84 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; |
| 82 | 85 |
| 83 #if defined(OS_LINUX) | 86 #if defined(OS_LINUX) |
| 84 // Enable memory monitoring. | 87 // Enable memory monitoring. |
| 85 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 88 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
| 86 #endif | 89 #endif |
| 87 | 90 |
| 88 // Enables the Oak tree viewer. | 91 // Enables the Oak tree viewer. |
| 89 const char kAshEnableOak[] = "ash-enable-oak"; | 92 const char kAshEnableOak[] = "ash-enable-oak"; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); | 173 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); |
| 171 } | 174 } |
| 172 | 175 |
| 173 bool UseAlternateShelfLayout() { | 176 bool UseAlternateShelfLayout() { |
| 174 return CommandLine::ForCurrentProcess()-> | 177 return CommandLine::ForCurrentProcess()-> |
| 175 HasSwitch(ash::switches::kAshUseAlternateShelfLayout); | 178 HasSwitch(ash::switches::kAshUseAlternateShelfLayout); |
| 176 } | 179 } |
| 177 | 180 |
| 178 } // namespace switches | 181 } // namespace switches |
| 179 } // namespace ash | 182 } // namespace ash |
| OLD | NEW |