| Index: chrome/browser/resources/options2/chromeos/pointer_overlay.js
|
| ===================================================================
|
| --- chrome/browser/resources/options2/chromeos/pointer_overlay.js (revision 117915)
|
| +++ chrome/browser/resources/options2/chromeos/pointer_overlay.js (working copy)
|
| @@ -31,6 +31,20 @@
|
| },
|
| };
|
|
|
| + /**
|
| + * Sets the visibility state of the touchpad group.
|
| + */
|
| + PointerOverlay.showTouchpadControls = function(show) {
|
| + $('pointer-section-touchpad').hidden = !show;
|
| + };
|
| +
|
| + /**
|
| + * Sets the visibility state of the mouse group.
|
| + */
|
| + PointerOverlay.showMouseControls = function(show) {
|
| + $('pointer-section-mouse').hidden = !show;
|
| + };
|
| +
|
| // Export
|
| return {
|
| PointerOverlay: PointerOverlay
|
|
|