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

Side by Side Diff: chrome/browser/chromeos/system/input_device_settings.h

Issue 9250023: Support for mousecontrol script (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_
7 #pragma once 7 #pragma once
8 8
9 namespace chromeos { 9 namespace chromeos {
10 namespace system { 10 namespace system {
11 11
12 namespace pointer_settings {
13
14 // Sets the pointer sensitivity in the range [1, 5].
15 void SetSensitivity(int value);
16
17 } // namespace pointer_settings
18
12 namespace touchpad_settings { 19 namespace touchpad_settings {
13 20
14 bool TouchpadExists(); 21 bool TouchpadExists();
15 22
16 // Sets the touchpad sensitivity in range from 1 to 5.
17 void SetSensitivity(int value);
18
19 // Turns tap to click on / off. 23 // Turns tap to click on / off.
20 void SetTapToClick(bool enabled); 24 void SetTapToClick(bool enabled);
21 25
22 } // namespace touchpad_settings 26 } // namespace touchpad_settings
23 27
24 namespace mouse_settings { 28 namespace mouse_settings {
25 29
26 bool MouseExists(); 30 bool MouseExists();
27 31
28 void SetPrimaryButtonRight(bool right); 32 void SetPrimaryButtonRight(bool right);
29 33
30 } // namespace mouse_settings 34 } // namespace mouse_settings
31 35
32 } // namespace system 36 } // namespace system
33 } // namespace chromeos 37 } // namespace chromeos
34 38
35 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ 39 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698