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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "ash-enable-auto-window-placement"; | 59 "ash-enable-auto-window-placement"; |
60 | 60 |
61 // Disables the limitter to throttle how quickly a user | 61 // Disables the limitter to throttle how quickly a user |
62 // can change display settings. | 62 // can change display settings. |
63 const char kAshDisableDisplayChangeLimiter[] = | 63 const char kAshDisableDisplayChangeLimiter[] = |
64 "ash-disable-display-change-limiter"; | 64 "ash-disable-display-change-limiter"; |
65 | 65 |
66 // If present new lock animations are enabled. | 66 // If present new lock animations are enabled. |
67 const char kAshDisableNewLockAnimations[] = "ash-disable-new-lock-animations"; | 67 const char kAshDisableNewLockAnimations[] = "ash-disable-new-lock-animations"; |
68 | 68 |
69 // Disable the per application grouping version of the launcher. | |
70 const char kAshDisablePerAppLauncher[] = "ash-disable-per-app-launcher"; | |
71 | |
72 // Disable immersive fullscreen mode, regardless of default setting. | 69 // Disable immersive fullscreen mode, regardless of default setting. |
73 const char kAshDisableImmersiveFullscreen[] = | 70 const char kAshDisableImmersiveFullscreen[] = |
74 "ash-disable-immersive-fullscreen"; | 71 "ash-disable-immersive-fullscreen"; |
75 | 72 |
76 #if defined(OS_CHROMEOS) | 73 #if defined(OS_CHROMEOS) |
77 // Disable compositor based mirroring. | 74 // Disable compositor based mirroring. |
78 const char kAshDisableSoftwareMirroring[] = "ash-disable-software-mirroring"; | 75 const char kAshDisableSoftwareMirroring[] = "ash-disable-software-mirroring"; |
79 | 76 |
80 // Disable the notification when a low-power USB charger is connected. | 77 // Disable the notification when a low-power USB charger is connected. |
81 const char kAshDisableUsbChargerNotification[] = | 78 const char kAshDisableUsbChargerNotification[] = |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 } | 197 } |
201 | 198 |
202 bool UseUsbChargerNotification() { | 199 bool UseUsbChargerNotification() { |
203 return !CommandLine::ForCurrentProcess()-> | 200 return !CommandLine::ForCurrentProcess()-> |
204 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); | 201 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); |
205 } | 202 } |
206 #endif | 203 #endif |
207 | 204 |
208 } // namespace switches | 205 } // namespace switches |
209 } // namespace ash | 206 } // namespace ash |
OLD | NEW |