| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 * 'all-sites' is the polymer element for showing the list of all sites under | 7 * 'all-sites' is the polymer element for showing the list of all sites under |
| 8 * Site Settings. | 8 * Site Settings. |
| 9 */ | 9 */ |
| 10 Polymer({ | 10 Polymer({ |
| 11 is: 'all-sites', | 11 is: 'all-sites', |
| 12 | 12 |
| 13 behaviors: [SiteSettingsBehavior], | 13 behaviors: [SiteSettingsBehavior], |
| 14 | 14 |
| 15 properties: { | 15 properties: { |
| 16 /** | 16 /** |
| 17 * The current active route. | |
| 18 */ | |
| 19 currentRoute: { | |
| 20 type: Object, | |
| 21 notify: true, | |
| 22 }, | |
| 23 | |
| 24 /** | |
| 25 * The site that was selected by the user in the dropdown list. | 17 * The site that was selected by the user in the dropdown list. |
| 26 * @type {SiteException} | 18 * @type {SiteException} |
| 27 */ | 19 */ |
| 28 selectedSite: { | 20 selectedSite: { |
| 29 type: Object, | 21 type: Object, |
| 30 notify: true, | 22 notify: true, |
| 31 }, | 23 }, |
| 32 }, | 24 }, |
| 33 }); | 25 }); |
| OLD | NEW |