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', |
(...skipping 24 matching lines...) Expand all Loading... |
35 */ | 35 */ |
36 showResetProfileBanner_: { | 36 showResetProfileBanner_: { |
37 type: Boolean, | 37 type: Boolean, |
38 value: function() { | 38 value: function() { |
39 return loadTimeData.getBoolean('showResetProfileBanner'); | 39 return loadTimeData.getBoolean('showResetProfileBanner'); |
40 }, | 40 }, |
41 }, | 41 }, |
42 | 42 |
43 }, | 43 }, |
44 | 44 |
45 /** | |
46 * @type {string} Selector to get the sections. | |
47 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 | |
48 * is fixed. | |
49 */ | |
50 sectionSelector: 'settings-section', | |
51 | |
52 onResetDone_: function() { | 45 onResetDone_: function() { |
53 this.showResetProfileBanner_ = false; | 46 this.showResetProfileBanner_ = false; |
54 }, | 47 }, |
55 }); | 48 }); |
OLD | NEW |