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

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

Issue 8249011: Remove 'Enable tap-to-click' checkbox for non-touchpad devices. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: cleanup TouchpadSettings interface Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/system/touchpad_settings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/system/touchpad_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698