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

Side by Side Diff: ash/common/ash_switches.cc

Issue 2745953002: ash: Add basic prediction code to the laser pointer. (Closed)
Patch Set: missing include and minor cleanup Created 3 years, 9 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
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/common/ash_switches.h" 5 #include "ash/common/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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Enables docking windows to the right or left (not to be confused with snapped 58 // Enables docking windows to the right or left (not to be confused with snapped
59 // windows). 59 // windows).
60 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; 60 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
61 61
62 // Enables the observation of accelerometer events to enter touch-view mode. 62 // Enables the observation of accelerometer events to enter touch-view mode.
63 const char kAshEnableTouchView[] = "enable-touchview"; 63 const char kAshEnableTouchView[] = "enable-touchview";
64 64
65 // Enables mirrored screen. 65 // Enables mirrored screen.
66 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; 66 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen";
67 67
68 // Specifies the estimated time (in milliseconds) from VSYNC event until when
69 // visible light can be noticed by the user.
70 const char kAshEstimatedPresentationDelay[] = "estimated-presentation-delay";
Daniel Erat 2017/03/16 16:50:55 should this start with "ash-" like (most of) the e
reveman 2017/03/16 18:00:24 Done.
71
68 // Enables the palette next to the status area. 72 // Enables the palette next to the status area.
69 const char kAshForceEnablePalette[] = "ash-force-enable-palette"; 73 const char kAshForceEnablePalette[] = "ash-force-enable-palette";
70 74
71 // Hides notifications that are irrelevant to Chrome OS device factory testing, 75 // Hides notifications that are irrelevant to Chrome OS device factory testing,
72 // such as battery level updates. 76 // such as battery level updates.
73 const char kAshHideNotificationsForFactory[] = 77 const char kAshHideNotificationsForFactory[] =
74 "ash-hide-notifications-for-factory"; 78 "ash-hide-notifications-for-factory";
75 79
76 // Enables the shelf color to be derived from the wallpaper. 80 // Enables the shelf color to be derived from the wallpaper.
77 const char kAshShelfColor[] = "ash-shelf-color"; 81 const char kAshShelfColor[] = "ash-shelf-color";
(...skipping 22 matching lines...) Expand all
100 kAshConstrainPointerToRoot); 104 kAshConstrainPointerToRoot);
101 } 105 }
102 106
103 bool DockedWindowsEnabled() { 107 bool DockedWindowsEnabled() {
104 return base::CommandLine::ForCurrentProcess()->HasSwitch( 108 return base::CommandLine::ForCurrentProcess()->HasSwitch(
105 ash::switches::kAshEnableDockedWindows); 109 ash::switches::kAshEnableDockedWindows);
106 } 110 }
107 111
108 } // namespace switches 112 } // namespace switches
109 } // namespace ash 113 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698