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

Unified Diff: chrome/browser/chromeos/touchpad.h

Issue 227008: Add touchpad sensitivity setting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/settings_contents_view.cc ('k') | chrome/browser/chromeos/touchpad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/touchpad.h
===================================================================
--- chrome/browser/chromeos/touchpad.h (revision 26936)
+++ chrome/browser/chromeos/touchpad.h (working copy)
@@ -43,20 +43,24 @@
private:
// This methods makes a system call to synclient to change touchpad settings.
// The system call will be invoked on the file thread.
- void SetSynclientParam(const std::string& param, const std::string& value);
+ void SetSynclientParam(const std::string& param, double value);
- // Set tap-to-click to value stored in preference.
+ // Set tap-to-click to value stored in preferences.
void SetTapToClick();
- // Set vertical edge scrolling to value stored in preference.
+ // Set vertical edge scrolling to value stored in preferences.
void SetVertEdgeScroll();
- // Set touchpad speed factor to value stored in preference.
+ // Set touchpad speed factor to value stored in preferences.
void SetSpeedFactor();
+ // Set tap sensitivity to value stored in preferences.
+ void SetSensitivity();
+
BooleanPrefMember tap_to_click_enabled_;
BooleanPrefMember vert_edge_scroll_enabled_;
- RealPrefMember speed_factor_;
+ IntegerPrefMember speed_factor_;
+ IntegerPrefMember sensitivity_;
DISALLOW_COPY_AND_ASSIGN(Touchpad);
};
« no previous file with comments | « chrome/browser/chromeos/settings_contents_view.cc ('k') | chrome/browser/chromeos/touchpad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698