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

Side by Side Diff: ash/ash_switches.cc

Issue 2814743009: Make adjustable large cursor enabled by default (Closed)
Patch Set: Rebase. Created 3 years, 8 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/cursor_window_controller.h » ('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 adjustable large cursor.
14 const char kAshAdjustableLargeCursor[] = "ash-adjustable-large-cursor";
15
16 // 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
17 // white background) to the login screen. Implies 14 // white background) to the login screen. Implies
18 // |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in 15 // |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in
19 // conjunction with |kDisableBootAnimation| (since the transition begins at the 16 // conjunction with |kDisableBootAnimation| (since the transition begins at the
20 // same time as the white/grayscale login screen animation). 17 // same time as the white/grayscale login screen animation).
21 const char kAshAnimateFromBootSplashScreen[] = 18 const char kAshAnimateFromBootSplashScreen[] =
22 "ash-animate-from-boot-splash-screen"; 19 "ash-animate-from-boot-splash-screen";
23 20
24 // 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.
25 // 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
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 bool ConstrainPointerToRoot() { 111 bool ConstrainPointerToRoot() {
115 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root"; 112 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root";
116 113
117 return base::SysInfo::IsRunningOnChromeOS() || 114 return base::SysInfo::IsRunningOnChromeOS() ||
118 base::CommandLine::ForCurrentProcess()->HasSwitch( 115 base::CommandLine::ForCurrentProcess()->HasSwitch(
119 kAshConstrainPointerToRoot); 116 kAshConstrainPointerToRoot);
120 } 117 }
121 118
122 } // namespace switches 119 } // namespace switches
123 } // namespace ash 120 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/display/cursor_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698