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

Side by Side Diff: ash/ash_switches.cc

Issue 2825383003: Fix stylus tools palette. (Closed)
Patch Set: Fix nits. Created 3 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/system/palette/palette_tray.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 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // Disables a smoother animation for screen rotation. 61 // Disables a smoother animation for screen rotation.
62 const char kAshDisableSmoothScreenRotation[] = 62 const char kAshDisableSmoothScreenRotation[] =
63 "ash-disable-smooth-screen-rotation"; 63 "ash-disable-smooth-screen-rotation";
64 64
65 // Specifies the estimated time (in milliseconds) from VSYNC event until when 65 // Specifies the estimated time (in milliseconds) from VSYNC event until when
66 // visible light can be noticed by the user. 66 // visible light can be noticed by the user.
67 const char kAshEstimatedPresentationDelay[] = 67 const char kAshEstimatedPresentationDelay[] =
68 "ash-estimated-presentation-delay"; 68 "ash-estimated-presentation-delay";
69 69
70 // Enables the palette next to the status area. 70 // Enables the stylus tools next to the status area.
71 const char kAshForceEnablePalette[] = "ash-force-enable-palette"; 71 const char kAshForceEnableStylusTools[] = "force-enable-stylus-tools";
72 72
73 // Enables required things for the selected UI mode, regardless of whether the 73 // Enables required things for the selected UI mode, regardless of whether the
74 // Chromebook is currently in the selected UI mode. 74 // Chromebook is currently in the selected UI mode.
75 const char kAshForceTabletMode[] = "force-tablet-mode"; 75 const char kAshForceTabletMode[] = "force-tablet-mode";
76 76
77 // Values for the kAshForceTabletMode flag. 77 // Values for the kAshForceTabletMode flag.
78 const char kAshForceTabletModeAuto[] = "auto"; 78 const char kAshForceTabletModeAuto[] = "auto";
79 const char kAshForceTabletModeClamshell[] = "clamshell"; 79 const char kAshForceTabletModeClamshell[] = "clamshell";
80 const char kAshForceTabletModeTouchView[] = "touch_view"; 80 const char kAshForceTabletModeTouchView[] = "touch_view";
81 81
(...skipping 29 matching lines...) Expand all
111 bool ConstrainPointerToRoot() { 111 bool ConstrainPointerToRoot() {
112 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root"; 112 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root";
113 113
114 return base::SysInfo::IsRunningOnChromeOS() || 114 return base::SysInfo::IsRunningOnChromeOS() ||
115 base::CommandLine::ForCurrentProcess()->HasSwitch( 115 base::CommandLine::ForCurrentProcess()->HasSwitch(
116 kAshConstrainPointerToRoot); 116 kAshConstrainPointerToRoot);
117 } 117 }
118 118
119 } // namespace switches 119 } // namespace switches
120 } // namespace ash 120 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/system/palette/palette_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698