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 |