| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // Copies the host window's content to the system background layer at startup. | 23 // Copies the host window's content to the system background layer at startup. |
| 24 // Can make boot slightly slower, but also hides an even-longer awkward period | 24 // Can make boot slightly slower, but also hides an even-longer awkward period |
| 25 // where we display a white background if the login wallpaper takes a long time | 25 // where we display a white background if the login wallpaper takes a long time |
| 26 // to load. | 26 // to load. |
| 27 const char kAshCopyHostBackgroundAtBoot[] = "ash-copy-host-background-at-boot"; | 27 const char kAshCopyHostBackgroundAtBoot[] = "ash-copy-host-background-at-boot"; |
| 28 | 28 |
| 29 // Enable keyboard shortcuts useful for debugging. | 29 // Enable keyboard shortcuts useful for debugging. |
| 30 const char kAshDebugShortcuts[] = "ash-debug-shortcuts"; | 30 const char kAshDebugShortcuts[] = "ash-debug-shortcuts"; |
| 31 | 31 |
| 32 // Default wallpaper to use in guest mode (as paths to trusted, |
| 33 // non-user-writable JPEG files). |
| 34 const char kAshDefaultGuestWallpaperLarge[] = |
| 35 "ash-default-guest-wallpaper-large"; |
| 36 const char kAshDefaultGuestWallpaperSmall[] = |
| 37 "ash-default-guest-wallpaper-small"; |
| 38 |
| 39 // Default wallpaper to use (as paths to trusted, non-user-writable JPEG files). |
| 40 const char kAshDefaultWallpaperLarge[] = "ash-default-wallpaper-large"; |
| 41 const char kAshDefaultWallpaperSmall[] = "ash-default-wallpaper-small"; |
| 42 |
| 32 // Disable auto window maximization logic. | 43 // Disable auto window maximization logic. |
| 33 const char kAshDisableAutoMaximizing[] = "ash-disable-auto-maximizing"; | 44 const char kAshDisableAutoMaximizing[] = "ash-disable-auto-maximizing"; |
| 34 | 45 |
| 35 // Disable support for auto window placement. | 46 // Disable support for auto window placement. |
| 36 const char kAshDisableAutoWindowPlacement[] = | 47 const char kAshDisableAutoWindowPlacement[] = |
| 37 "ash-enable-auto-window-placement"; | 48 "ash-enable-auto-window-placement"; |
| 38 | 49 |
| 39 // Disables the limitter to throttle how quickly a user | 50 // Disables the limitter to throttle how quickly a user |
| 40 // can change display settings. | 51 // can change display settings. |
| 41 const char kAshDisableDisplayChangeLimiter[] = | 52 const char kAshDisableDisplayChangeLimiter[] = |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 195 |
| 185 #if defined(OS_CHROMEOS) | 196 #if defined(OS_CHROMEOS) |
| 186 bool UseUsbChargerNotification() { | 197 bool UseUsbChargerNotification() { |
| 187 return !CommandLine::ForCurrentProcess()-> | 198 return !CommandLine::ForCurrentProcess()-> |
| 188 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); | 199 HasSwitch(ash::switches::kAshDisableUsbChargerNotification); |
| 189 } | 200 } |
| 190 #endif | 201 #endif |
| 191 | 202 |
| 192 } // namespace switches | 203 } // namespace switches |
| 193 } // namespace ash | 204 } // namespace ash |
| OLD | NEW |