OLD | NEW |
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_TOUCHPAD_SETTINGS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_TOUCHPAD_SETTINGS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_TOUCHPAD_SETTINGS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_TOUCHPAD_SETTINGS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace chromeos { | 9 namespace chromeos { |
10 namespace system { | 10 namespace system { |
11 namespace touchpad_settings { | 11 namespace touchpad_settings { |
12 | 12 |
13 bool TouchpadExists(); | 13 bool TouchpadExists(); |
14 | 14 |
15 // Sets the touchpad sensitivity in range from 1 to 5. | 15 // Sets the touchpad sensitivity in range from 1 to 5. |
16 void SetSensitivity(int value); | 16 void SetSensitivity(int value); |
17 | 17 |
18 // Turns tap to click on / off. | 18 // Turns tap to click on / off. |
19 void SetTapToClick(bool enabled); | 19 void SetTapToClick(bool enabled); |
20 | 20 |
21 } // namespace touchpad_settings | 21 } // namespace touchpad_settings |
| 22 |
| 23 namespace mouse_settings { |
| 24 |
| 25 void SetPrimaryButtonRight(bool right); |
| 26 |
| 27 } // namespace mouse_settings |
| 28 |
22 } // namespace system | 29 } // namespace system |
23 } // namespace chromeos | 30 } // namespace chromeos |
24 | 31 |
25 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TOUCHPAD_SETTINGS_H_ | 32 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TOUCHPAD_SETTINGS_H_ |
OLD | NEW |