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

Side by Side Diff: ash/ash_switches.cc

Issue 1116313002: Layout login/lock screen, shelf and app list inside the first display in Unified Desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « ash/ash_switches.h ('k') | ash/display/display_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 9
10 namespace ash { 10 namespace ash {
11 namespace switches { 11 namespace switches {
12 12
13 // Enables an animated transition from the boot splash screen (Chrome logo on a 13 // Enables an animated transition from the boot splash screen (Chrome logo on a
14 // white background) to the login screen. Implies 14 // white background) to the login screen. Implies
15 // |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in 15 // |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in
16 // conjunction with |kDisableBootAnimation| (since the transition begins at the 16 // conjunction with |kDisableBootAnimation| (since the transition begins at the
17 // same time as the white/grayscale login screen animation). 17 // same time as the white/grayscale login screen animation).
18 const char kAshAnimateFromBootSplashScreen[] = 18 const char kAshAnimateFromBootSplashScreen[] =
19 "ash-animate-from-boot-splash-screen"; 19 "ash-animate-from-boot-splash-screen";
20 20
21 // Copies the host window's content to the system background layer at startup. 21 // Copies the host window's content to the system background layer at startup.
22 // Can make boot slightly slower, but also hides an even-longer awkward period 22 // Can make boot slightly slower, but also hides an even-longer awkward period
23 // where we display a white background if the login wallpaper takes a long time 23 // where we display a white background if the login wallpaper takes a long time
24 // to load. 24 // to load.
25 const char kAshCopyHostBackgroundAtBoot[] = "ash-copy-host-background-at-boot"; 25 const char kAshCopyHostBackgroundAtBoot[] = "ash-copy-host-background-at-boot";
26 26
27 // Enable keyboard shortcuts useful for debugging. 27 // Enable keyboard shortcuts useful for debugging.
28 const char kAshDebugShortcuts[] = "ash-debug-shortcuts"; 28 const char kAshDebugShortcuts[] = "ash-debug-shortcuts";
29 29
30 // Disables LockLayoutManager used for LockScreenContainer, return back to
31 // WorkspaceLayoutManager.
32 const char kAshDisableLockLayoutManager[] = "ash-disable-lock-layout-manager";
33
34 // Disables the window backdrops normally used in maximize mode (TouchView). 30 // Disables the window backdrops normally used in maximize mode (TouchView).
35 const char kAshDisableMaximizeModeWindowBackdrop[] = 31 const char kAshDisableMaximizeModeWindowBackdrop[] =
36 "ash-disable-maximize-mode-window-backdrop"; 32 "ash-disable-maximize-mode-window-backdrop";
37 33
38 #if defined(OS_CHROMEOS) 34 #if defined(OS_CHROMEOS)
39 // Disable the support for WebContents to lock the screen orientation. 35 // Disable the support for WebContents to lock the screen orientation.
40 const char kAshDisableScreenOrientationLock[] = 36 const char kAshDisableScreenOrientationLock[] =
41 "ash-disable-screen-orientation-lock"; 37 "ash-disable-screen-orientation-lock";
42 #endif 38 #endif
43 39
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool UnifiedDesktopEnabled() { 131 bool UnifiedDesktopEnabled() {
136 const char kAshEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; 132 const char kAshEnableUnifiedDesktop[] = "ash-enable-unified-desktop";
137 return base::CommandLine::ForCurrentProcess()->HasSwitch( 133 return base::CommandLine::ForCurrentProcess()->HasSwitch(
138 kAshEnableUnifiedDesktop); 134 kAshEnableUnifiedDesktop);
139 } 135 }
140 136
141 #endif 137 #endif
142 138
143 } // namespace switches 139 } // namespace switches
144 } // namespace ash 140 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698