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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #endif | 61 #endif |
62 | 62 |
63 // Disable auto window maximization logic. | 63 // Disable auto window maximization logic. |
64 const char kAshDisableAutoMaximizing[] = "ash-disable-auto-maximizing"; | 64 const char kAshDisableAutoMaximizing[] = "ash-disable-auto-maximizing"; |
65 | 65 |
66 // Disables the limitter to throttle how quickly a user | 66 // Disables the limitter to throttle how quickly a user |
67 // can change display settings. | 67 // can change display settings. |
68 const char kAshDisableDisplayChangeLimiter[] = | 68 const char kAshDisableDisplayChangeLimiter[] = |
69 "ash-disable-display-change-limiter"; | 69 "ash-disable-display-change-limiter"; |
70 | 70 |
71 // If present new lock animations are enabled. | |
72 const char kAshDisableNewLockAnimations[] = "ash-disable-new-lock-animations"; | |
73 | |
74 // Disable immersive fullscreen mode, regardless of default setting. | 71 // Disable immersive fullscreen mode, regardless of default setting. |
75 const char kAshDisableImmersiveFullscreen[] = | 72 const char kAshDisableImmersiveFullscreen[] = |
76 "ash-disable-immersive-fullscreen"; | 73 "ash-disable-immersive-fullscreen"; |
77 | 74 |
78 #if defined(OS_CHROMEOS) | 75 #if defined(OS_CHROMEOS) |
79 // Disable compositor based mirroring. | 76 // Disable compositor based mirroring. |
80 const char kAshDisableSoftwareMirroring[] = "ash-disable-software-mirroring"; | 77 const char kAshDisableSoftwareMirroring[] = "ash-disable-software-mirroring"; |
81 | 78 |
82 // Disable the notification when a low-power USB charger is connected. | 79 // Disable the notification when a low-power USB charger is connected. |
83 const char kAshDisableUsbChargerNotification[] = | 80 const char kAshDisableUsbChargerNotification[] = |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 } | 237 } |
241 | 238 |
242 bool UseUsbChargerNotification() { | 239 bool UseUsbChargerNotification() { |
243 return !CommandLine::ForCurrentProcess()-> | 240 return !CommandLine::ForCurrentProcess()-> |
244 HasSwitch(kAshDisableUsbChargerNotification); | 241 HasSwitch(kAshDisableUsbChargerNotification); |
245 } | 242 } |
246 #endif | 243 #endif |
247 | 244 |
248 } // namespace switches | 245 } // namespace switches |
249 } // namespace ash | 246 } // namespace ash |
OLD | NEW |