| 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-internet-page' is the settings page containing internet | 7 * 'settings-internet-page' is the settings page containing internet |
| 8 * settings. | 8 * settings. |
| 9 */ | 9 */ |
| 10 Polymer({ | 10 Polymer({ |
| 11 is: 'settings-internet-page', | 11 is: 'settings-internet-page', |
| 12 | 12 |
| 13 properties: { | 13 properties: { |
| 14 /** | 14 /** |
| 15 * The current active route. | |
| 16 */ | |
| 17 currentRoute: { | |
| 18 type: Object, | |
| 19 notify: true, | |
| 20 }, | |
| 21 | |
| 22 /** | |
| 23 * The network GUID for the detail subpage. | 15 * The network GUID for the detail subpage. |
| 24 */ | 16 */ |
| 25 detailGuid: { | 17 detailGuid: { |
| 26 type: String, | 18 type: String, |
| 27 }, | 19 }, |
| 28 | 20 |
| 29 /** | 21 /** |
| 30 * The network type for the known networks subpage. | 22 * The network type for the known networks subpage. |
| 31 */ | 23 */ |
| 32 knownNetworksType: { | 24 knownNetworksType: { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 55 /** | 47 /** |
| 56 * @param {!{detail: {type: string}}} event | 48 * @param {!{detail: {type: string}}} event |
| 57 * @private | 49 * @private |
| 58 */ | 50 */ |
| 59 onShowKnownNetworks_: function(event) { | 51 onShowKnownNetworks_: function(event) { |
| 60 this.knownNetworksType = event.detail.type; | 52 this.knownNetworksType = event.detail.type; |
| 61 settings.navigateTo(settings.Route.KNOWN_NETWORKS); | 53 settings.navigateTo(settings.Route.KNOWN_NETWORKS); |
| 62 }, | 54 }, |
| 63 | 55 |
| 64 }); | 56 }); |
| OLD | NEW |