| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * @fileoverview 'settings-device-page' is the settings page for device and |
| 7 * peripheral settings. |
| 8 * |
| 9 * @group Chrome Settings Elements |
| 10 * @element settings-device-page |
| 11 */ |
| 12 Polymer({ |
| 13 is: 'settings-device-page', |
| 14 |
| 15 behaviors: [ |
| 16 I18nBehavior, |
| 17 ], |
| 18 |
| 19 properties: { |
| 20 /** The current active route. */ |
| 21 currentRoute: { |
| 22 type: Object, |
| 23 notify: true, |
| 24 }, |
| 25 |
| 26 /** Preferences state. */ |
| 27 prefs: { |
| 28 type: Object, |
| 29 notify: true, |
| 30 }, |
| 31 }, |
| 32 |
| 33 /** |
| 34 * Handler for tapping the Touchpad settings menu item. |
| 35 * @private |
| 36 */ |
| 37 onTouchpadTap_: function() { |
| 38 this.$.pages.setSubpageChain(['touchpad']); |
| 39 }, |
| 40 }); |
| OLD | NEW |