| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * 'settings-advanced-page' is the settings page containing the advanced | 7 * 'settings-advanced-page' is the settings page containing the advanced |
| 8 * settings. | 8 * settings. |
| 9 */ | 9 */ |
| 10 Polymer({ | 10 Polymer({ |
| 11 is: 'settings-advanced-page', | 11 is: 'settings-advanced-page', |
| 12 | 12 |
| 13 behaviors: [SettingsPageVisibility, RoutableBehavior], | 13 behaviors: [SettingsPageVisibility, RoutableBehavior], |
| 14 | 14 |
| 15 properties: { | 15 properties: { |
| 16 /** | 16 /** |
| 17 * Preferences state. | 17 * Preferences state. |
| 18 */ | 18 */ |
| 19 prefs: { | 19 prefs: { |
| 20 type: Object, | 20 type: Object, |
| 21 notify: true, | 21 notify: true, |
| 22 }, | 22 }, |
| 23 | 23 |
| 24 /** | 24 /** |
| 25 * The current active route. | 25 * The current active route. |
| 26 * @type {SettingsRoute} | 26 * @type {settings.Route} |
| 27 */ | 27 */ |
| 28 currentRoute: { | 28 currentRoute: { |
| 29 type: Object, | 29 type: Object, |
| 30 notify: true, | 30 notify: true, |
| 31 }, | 31 }, |
| 32 }, | 32 }, |
| 33 | 33 |
| 34 /** | 34 /** |
| 35 * @type {string} Selector to get the sections. | 35 * @type {string} Selector to get the sections. |
| 36 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 | 36 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 |
| 37 * is fixed. | 37 * is fixed. |
| 38 */ | 38 */ |
| 39 sectionSelector: 'settings-section', | 39 sectionSelector: 'settings-section', |
| 40 }); | 40 }); |
| OLD | NEW |