| Index: chrome/browser/resources/settings/device_page/pointers.js
|
| diff --git a/chrome/browser/resources/settings/device_page/pointers.js b/chrome/browser/resources/settings/device_page/pointers.js
|
| index 7ee0a91704b3d5811cc2cb592d673ab3e7e95702..dda8bf02cc67229a128dc0edfe0e4890b2e6de42 100644
|
| --- a/chrome/browser/resources/settings/device_page/pointers.js
|
| +++ b/chrome/browser/resources/settings/device_page/pointers.js
|
| @@ -10,21 +10,14 @@ Polymer({
|
| is: 'settings-pointers',
|
|
|
| properties: {
|
| - /** Preferences state. */
|
| prefs: {
|
| type: Object,
|
| notify: true,
|
| },
|
|
|
| - hasMouse: {
|
| - type: Boolean,
|
| - value: false,
|
| - },
|
| + hasMouse: Boolean,
|
|
|
| - hasTouchpad: {
|
| - type: Boolean,
|
| - value: false,
|
| - },
|
| + hasTouchpad: Boolean,
|
|
|
| /**
|
| * TODO(michaelpg): cr-slider should optionally take a min and max so we
|
| @@ -48,7 +41,12 @@ Polymer({
|
| settings.DevicePageBrowserProxyImpl.getInstance().handleLinkEvent(e);
|
| },
|
|
|
| - // Mouse and touchpad sections are only subsections if they are both present.
|
| + /**
|
| + * Mouse and touchpad sections are only subsections if they are both present.
|
| + * @param {boolean} hasMouse
|
| + * @param {boolean} hasTouchpad
|
| + * @return {string}
|
| + */
|
| getSubsectionClass_: function(hasMouse, hasTouchpad) {
|
| return hasMouse && hasTouchpad ? 'subsection' : '';
|
| },
|
|
|