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

Unified Diff: chrome/browser/resources/options2/chromeos/pointer_overlay.js

Issue 9232010: [uber page] Migrate all elements in the 'System' (cros) page to new locations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/options2/chromeos/pointer_overlay.js
===================================================================
--- chrome/browser/resources/options2/chromeos/pointer_overlay.js (revision 117867)
+++ 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

Powered by Google App Engine
This is Rietveld 408576698