| 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 * Example: | 9 * Example: |
| 10 * | 10 * |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 */ | 42 */ |
| 43 showResetProfileBanner_: { | 43 showResetProfileBanner_: { |
| 44 type: Boolean, | 44 type: Boolean, |
| 45 value: function() { | 45 value: function() { |
| 46 return loadTimeData.getBoolean('showResetProfileBanner'); | 46 return loadTimeData.getBoolean('showResetProfileBanner'); |
| 47 }, | 47 }, |
| 48 }, | 48 }, |
| 49 | 49 |
| 50 }, | 50 }, |
| 51 | 51 |
| 52 behaviors: [I18nBehavior, SettingsPageVisibility], | 52 /** |
| 53 * @type {string} Selector to get the sections. |
| 54 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 |
| 55 * is fixed. |
| 56 */ |
| 57 sectionSelector: 'settings-section', |
| 58 |
| 59 /** @override */ |
| 60 attached: function() { |
| 61 /** @override */ |
| 62 this.scroller = this.parentElement; |
| 63 }, |
| 64 |
| 65 behaviors: [I18nBehavior, SettingsPageVisibility, RoutableBehavior], |
| 53 | 66 |
| 54 onResetDone_: function() { | 67 onResetDone_: function() { |
| 55 this.showResetProfileBanner_ = false; | 68 this.showResetProfileBanner_ = false; |
| 56 }, | 69 }, |
| 57 }); | 70 }); |
| OLD | NEW |