| 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(); |
| 14 |
| 13 // Sets the touchpad sensitivity in range from 1 to 5. | 15 // Sets the touchpad sensitivity in range from 1 to 5. |
| 14 void SetSensitivity(int value); | 16 void SetSensitivity(int value); |
| 15 | 17 |
| 16 // Turns tap to click on / off. | 18 // Turns tap to click on / off. |
| 17 void SetTapToClick(bool enabled); | 19 void SetTapToClick(bool enabled); |
| 18 | 20 |
| 19 } // namespace touchpad_settings | 21 } // namespace touchpad_settings |
| 20 } // namespace system | 22 } // namespace system |
| 21 } // namespace chromeos | 23 } // namespace chromeos |
| 22 | 24 |
| 23 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TOUCHPAD_SETTINGS_H_ | 25 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TOUCHPAD_SETTINGS_H_ |
| OLD | NEW |