Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: ash/ash_switches.cc

Issue 17502005: Revert r207560 and r207566 to reland r207511. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); 184 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu);
174 } 185 }
175 186
176 bool UseAlternateShelfLayout() { 187 bool UseAlternateShelfLayout() {
177 return CommandLine::ForCurrentProcess()-> 188 return CommandLine::ForCurrentProcess()->
178 HasSwitch(ash::switches::kAshUseAlternateShelfLayout); 189 HasSwitch(ash::switches::kAshUseAlternateShelfLayout);
179 } 190 }
180 191
181 } // namespace switches 192 } // namespace switches
182 } // namespace ash 193 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698