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

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

Issue 2745953002: ash: Add basic prediction code to the laser pointer. (Closed)
Patch Set: more tests and nits 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
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/laser/laser_pointer_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/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[] =
71 "ash-estimated-presentation-delay";
72
68 // Enables the palette next to the status area. 73 // Enables the palette next to the status area.
69 const char kAshForceEnablePalette[] = "ash-force-enable-palette"; 74 const char kAshForceEnablePalette[] = "ash-force-enable-palette";
70 75
71 // Hides notifications that are irrelevant to Chrome OS device factory testing, 76 // Hides notifications that are irrelevant to Chrome OS device factory testing,
72 // such as battery level updates. 77 // such as battery level updates.
73 const char kAshHideNotificationsForFactory[] = 78 const char kAshHideNotificationsForFactory[] =
74 "ash-hide-notifications-for-factory"; 79 "ash-hide-notifications-for-factory";
75 80
76 // Enables the shelf color to be derived from the wallpaper. 81 // Enables the shelf color to be derived from the wallpaper.
77 const char kAshShelfColor[] = "ash-shelf-color"; 82 const char kAshShelfColor[] = "ash-shelf-color";
(...skipping 22 matching lines...) Expand all
100 kAshConstrainPointerToRoot); 105 kAshConstrainPointerToRoot);
101 } 106 }
102 107
103 bool DockedWindowsEnabled() { 108 bool DockedWindowsEnabled() {
104 return base::CommandLine::ForCurrentProcess()->HasSwitch( 109 return base::CommandLine::ForCurrentProcess()->HasSwitch(
105 ash::switches::kAshEnableDockedWindows); 110 ash::switches::kAshEnableDockedWindows);
106 } 111 }
107 112
108 } // namespace switches 113 } // namespace switches
109 } // namespace ash 114 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/laser/laser_pointer_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698