| 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 // UI to show preferred networks in the status area (for testing). | |
| 33 const char kAshDebugShowPreferredNetworks[] = | |
| 34 "ash-debug-show-preferred-networks"; | |
| 35 | |
| 36 // Indicates that the wallpaper images specified by | 32 // Indicates that the wallpaper images specified by |
| 37 // kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not | 33 // kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not |
| 38 // downloadable from Google). | 34 // downloadable from Google). |
| 39 const char kAshDefaultWallpaperIsOem[] = "ash-default-wallpaper-is-oem"; | 35 const char kAshDefaultWallpaperIsOem[] = "ash-default-wallpaper-is-oem"; |
| 40 | 36 |
| 41 // Default wallpaper to use (as paths to trusted, non-user-writable JPEG files). | 37 // Default wallpaper to use (as paths to trusted, non-user-writable JPEG files). |
| 42 const char kAshDefaultWallpaperLarge[] = "ash-default-wallpaper-large"; | 38 const char kAshDefaultWallpaperLarge[] = "ash-default-wallpaper-large"; |
| 43 const char kAshDefaultWallpaperSmall[] = "ash-default-wallpaper-small"; | 39 const char kAshDefaultWallpaperSmall[] = "ash-default-wallpaper-small"; |
| 44 | 40 |
| 45 // Use the normal visual style for the caption buttons (minimize, maximize, | 41 // Use the normal visual style for the caption buttons (minimize, maximize, |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 bool UseOverviewMode() { | 172 bool UseOverviewMode() { |
| 177 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableOverviewMode); | 173 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableOverviewMode); |
| 178 } | 174 } |
| 179 | 175 |
| 180 bool UseDockedWindows() { | 176 bool UseDockedWindows() { |
| 181 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); | 177 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); |
| 182 } | 178 } |
| 183 | 179 |
| 184 } // namespace switches | 180 } // namespace switches |
| 185 } // namespace ash | 181 } // namespace ash |
| OLD | NEW |