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

Unified Diff: chrome/browser/resources/options/chromeos/system_options.js

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/chromeos/system_options.js
===================================================================
--- chrome/browser/resources/options/chromeos/system_options.js (revision 106949)
+++ chrome/browser/resources/options/chromeos/system_options.js (working copy)
@@ -136,7 +136,7 @@
*/
SystemOptions.showBluetoothSettings = function() {
$('bluetooth-devices').hidden = false;
- }
+ };
/**
* Adds an element to the list of available bluetooth devices.
@@ -148,21 +148,28 @@
*/
SystemOptions.addBluetoothDevice = function(device) {
$('bluetooth-device-list').appendDevice(device);
- }
+ };
/**
* Hides the scanning label and icon that are used to indicate that a device
* search is in progress.
*/
SystemOptions.notifyBluetoothSearchComplete = function() {
- // TDOO (kevers) - Reset state immediately once results are received
+ // TODO (kevers) - Reset state immediately once results are received
// asynchronously.
setTimeout(function() {
setVisibility_('bluetooth-scanning-label', false);
setVisibility_('bluetooth-scanning-icon', false);
}, 2000);
- }
+ };
+ /**
+ * Enables the Tap-To-Click radio button when we detect a touchpad.
+ */
+ SystemOptions.showTapToClick = function() {
+ $('tap-to-click').hidden = false;
+ };
+
// Export
return {
SystemOptions: SystemOptions

Powered by Google App Engine
This is Rietveld 408576698