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