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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // can change display settings. | 49 // can change display settings. |
50 const char kAshDisableDisplayChangeLimiter[] = | 50 const char kAshDisableDisplayChangeLimiter[] = |
51 "ash-disable-display-change-limiter"; | 51 "ash-disable-display-change-limiter"; |
52 | 52 |
53 // Disable the new cras audio handler. | 53 // Disable the new cras audio handler. |
54 const char kAshDisableNewAudioHandler[] = "ash-disable-new-audio-handler"; | 54 const char kAshDisableNewAudioHandler[] = "ash-disable-new-audio-handler"; |
55 | 55 |
56 // If present new lock animations are enabled. | 56 // If present new lock animations are enabled. |
57 const char kAshDisableNewLockAnimations[] = "ash-disable-new-lock-animations"; | 57 const char kAshDisableNewLockAnimations[] = "ash-disable-new-lock-animations"; |
58 | 58 |
59 // Disable new network handlers in the status area. | |
60 const char kAshDisableNewNetworkStatusArea[] = | |
61 "ash-disable-new-network-status-area"; | |
62 | |
63 // Disable the per application grouping version of the launcher. | 59 // Disable the per application grouping version of the launcher. |
64 const char kAshDisablePerAppLauncher[] = "ash-disable-per-app-launcher"; | 60 const char kAshDisablePerAppLauncher[] = "ash-disable-per-app-launcher"; |
65 | 61 |
66 // Disables display rotation. | 62 // Disables display rotation. |
67 const char kAshDisableDisplayRotation[] = "ash-disable-display-rotation"; | 63 const char kAshDisableDisplayRotation[] = "ash-disable-display-rotation"; |
68 | 64 |
69 // Disable immersive fullscreen mode, regardless of default setting. | 65 // Disable immersive fullscreen mode, regardless of default setting. |
70 const char kAshDisableImmersiveFullscreen[] = | 66 const char kAshDisableImmersiveFullscreen[] = |
71 "ash-disable-immersive-fullscreen"; | 67 "ash-disable-immersive-fullscreen"; |
72 | 68 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 } | 153 } |
158 | 154 |
159 bool ShowAudioDeviceMenu() { | 155 bool ShowAudioDeviceMenu() { |
160 return ash::switches::UseNewAudioHandler() && | 156 return ash::switches::UseNewAudioHandler() && |
161 CommandLine::ForCurrentProcess()-> | 157 CommandLine::ForCurrentProcess()-> |
162 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); | 158 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); |
163 } | 159 } |
164 | 160 |
165 } // namespace switches | 161 } // namespace switches |
166 } // namespace ash | 162 } // namespace ash |
OLD | NEW |