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 |