| 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-advanced-page' is the settings page containing the advanced | 7 * 'settings-advanced-page' is the settings page containing the advanced |
| 8 * settings. | 8 * settings. |
| 9 */ | 9 */ |
| 10 Polymer({ | 10 Polymer({ |
| 11 is: 'settings-advanced-page', | 11 is: 'settings-advanced-page', |
| 12 | 12 |
| 13 behaviors: [SettingsPageVisibility, RoutableBehavior], | 13 behaviors: [SettingsPageVisibility, RoutableBehavior], |
| 14 | 14 |
| 15 properties: { | 15 properties: { |
| 16 /** | 16 /** |
| 17 * Preferences state. | 17 * Preferences state. |
| 18 */ | 18 */ |
| 19 prefs: { | 19 prefs: { |
| 20 type: Object, | 20 type: Object, |
| 21 notify: true, | 21 notify: true, |
| 22 }, | 22 }, |
| 23 | |
| 24 /** | |
| 25 * The current active route. | |
| 26 * @type {settings.Route} | |
| 27 */ | |
| 28 currentRoute: { | |
| 29 type: Object, | |
| 30 notify: true, | |
| 31 }, | |
| 32 }, | 23 }, |
| 33 }); | 24 }); |
| OLD | NEW |