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

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: add missing system_options.html file 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 104953)
+++ chrome/browser/resources/options/chromeos/system_options.js (working copy)
@@ -116,7 +116,7 @@
*/
SystemOptions.showBluetoothSettings = function() {
$('bluetooth-devices').hidden = false;
- }
+ };
/**
* Adds an element to the list of available bluetooth devices.
@@ -128,21 +128,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);
- }
+ };
+ /**
+ * Disables the Tap-To-Click radio button when we don't have a touchpad.
+ */
+ SystemOptions.hideTapToClick = function() {
+ $('tap-to-click').hidden = true;
+ };
+
// Export
return {
SystemOptions: SystemOptions

Powered by Google App Engine
This is Rietveld 408576698