| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 const char kAshEnableAudioDeviceMenu[] = | 78 const char kAshEnableAudioDeviceMenu[] = |
| 79 "ash-enable-audio-device-menu"; | 79 "ash-enable-audio-device-menu"; |
| 80 | 80 |
| 81 // Enable advanced gestures (e.g. for window management). | 81 // Enable advanced gestures (e.g. for window management). |
| 82 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; | 82 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; |
| 83 | 83 |
| 84 // Always enable brightness control. Used by machines that don't report their | 84 // Always enable brightness control. Used by machines that don't report their |
| 85 // main monitor as internal. | 85 // main monitor as internal. |
| 86 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; | 86 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
| 87 | 87 |
| 88 // Enable the gutter area on a desktop. |
| 89 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; |
| 90 |
| 88 // Enable immersive fullscreen mode, regardless of default setting. | 91 // Enable immersive fullscreen mode, regardless of default setting. |
| 89 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; | 92 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; |
| 90 | 93 |
| 91 #if defined(OS_LINUX) | 94 #if defined(OS_LINUX) |
| 92 // Enable memory monitoring. | 95 // Enable memory monitoring. |
| 93 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; | 96 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; |
| 94 #endif | 97 #endif |
| 95 | 98 |
| 96 // Enables the Oak tree viewer. | 99 // Enables the Oak tree viewer. |
| 97 const char kAshEnableOak[] = "ash-enable-oak"; | 100 const char kAshEnableOak[] = "ash-enable-oak"; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 } | 160 } |
| 158 | 161 |
| 159 bool ShowAudioDeviceMenu() { | 162 bool ShowAudioDeviceMenu() { |
| 160 return ash::switches::UseNewAudioHandler() && | 163 return ash::switches::UseNewAudioHandler() && |
| 161 CommandLine::ForCurrentProcess()-> | 164 CommandLine::ForCurrentProcess()-> |
| 162 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); | 165 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); |
| 163 } | 166 } |
| 164 | 167 |
| 165 } // namespace switches | 168 } // namespace switches |
| 166 } // namespace ash | 169 } // namespace ash |
| OLD | NEW |