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