| 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-basic-page' is the settings page containing the basic settings. | 7 * 'settings-basic-page' is the settings page containing the basic settings. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-basic-page', | 10 is: 'settings-basic-page', |
| 11 | 11 |
| 12 behaviors: [SettingsPageVisibility, RoutableBehavior], | 12 behaviors: [SettingsPageVisibility, RoutableBehavior], |
| 13 | 13 |
| 14 properties: { | 14 properties: { |
| 15 /** | 15 /** |
| 16 * Preferences state. | 16 * Preferences state. |
| 17 */ | 17 */ |
| 18 prefs: { | 18 prefs: { |
| 19 type: Object, | 19 type: Object, |
| 20 notify: true, | 20 notify: true, |
| 21 }, | 21 }, |
| 22 | 22 |
| 23 /** | 23 /** |
| 24 * The current active route. | 24 * The current active route. |
| 25 * @type {SettingsRoute} | 25 * @type {settings.Route} |
| 26 */ | 26 */ |
| 27 currentRoute: { | 27 currentRoute: { |
| 28 type: Object, | 28 type: Object, |
| 29 notify: true, | 29 notify: true, |
| 30 }, | 30 }, |
| 31 | 31 |
| 32 /** | 32 /** |
| 33 * True if the basic page should currently display the reset profile banner. | 33 * True if the basic page should currently display the reset profile banner. |
| 34 * @private {boolean} | 34 * @private {boolean} |
| 35 */ | 35 */ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 46 * @type {string} Selector to get the sections. | 46 * @type {string} Selector to get the sections. |
| 47 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 | 47 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 |
| 48 * is fixed. | 48 * is fixed. |
| 49 */ | 49 */ |
| 50 sectionSelector: 'settings-section', | 50 sectionSelector: 'settings-section', |
| 51 | 51 |
| 52 onResetDone_: function() { | 52 onResetDone_: function() { |
| 53 this.showResetProfileBanner_ = false; | 53 this.showResetProfileBanner_ = false; |
| 54 }, | 54 }, |
| 55 }); | 55 }); |
| OLD | NEW |