OLD | NEW |
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 #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 touchpad_settings { | 12 namespace touchpad_settings { |
13 | 13 |
14 bool TouchpadExists(); | 14 bool TouchpadExists(); |
15 | 15 |
16 // Sets the touchpad sensitivity in the range [1, 5]. | 16 // Sets the touchpad sensitivity in the range [1, 5]. |
17 void SetSensitivity(int value); | 17 void SetSensitivity(int value); |
18 | 18 |
19 // Turns tap to click on / off. | 19 // Turns tap to click on / off. |
20 void SetTapToClick(bool enabled); | 20 void SetTapToClick(bool enabled); |
21 | 21 |
| 22 // Switch for three-finger click. |
| 23 void SetThreeFingerClick(bool enabled); |
| 24 |
22 } // namespace touchpad_settings | 25 } // namespace touchpad_settings |
23 | 26 |
24 namespace mouse_settings { | 27 namespace mouse_settings { |
25 | 28 |
26 bool MouseExists(); | 29 bool MouseExists(); |
27 | 30 |
28 // Sets the mouse sensitivity in the range [1, 5]. | 31 // Sets the mouse sensitivity in the range [1, 5]. |
29 void SetSensitivity(int value); | 32 void SetSensitivity(int value); |
30 | 33 |
31 void SetPrimaryButtonRight(bool right); | 34 void SetPrimaryButtonRight(bool right); |
32 | 35 |
33 } // namespace mouse_settings | 36 } // namespace mouse_settings |
34 | 37 |
35 } // namespace system | 38 } // namespace system |
36 } // namespace chromeos | 39 } // namespace chromeos |
37 | 40 |
38 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ | 41 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ |
OLD | NEW |