Commit 45969253 authored by achuith@chromium.org's avatar achuith@chromium.org

Hide tap dragging a11y control in the absence of a touchpad.

BUG=168909
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/11783062

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176011 0039d316-1c4b-4281-b951-d872f2087c98
parent a8fea93f
......@@ -639,7 +639,7 @@
</label>
</div>
</div>
<div class="option-name">
<div class="option-name" id="accessibility-tap-dragging">
<div class="checkbox">
<label>
<input id="accessibility-tap-dragging-check"
......
......@@ -1197,11 +1197,12 @@ cr.define('options', function() {
},
/**
* Show/hide touchpad settings slider.
* Show/hide touchpad-related settings.
* @private
*/
showTouchpadControls_: function(show) {
$('touchpad-settings').hidden = !show;
$('accessibility-tap-dragging').hidden = !show;
},
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment