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({ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 value: chrome.networkingPrivate, | 42 value: chrome.networkingPrivate, |
43 }, | 43 }, |
44 }, | 44 }, |
45 | 45 |
46 /** | 46 /** |
47 * @param {!{detail: !CrOnc.NetworkStateProperties}} event | 47 * @param {!{detail: !CrOnc.NetworkStateProperties}} event |
48 * @private | 48 * @private |
49 */ | 49 */ |
50 onShowDetail_: function(event) { | 50 onShowDetail_: function(event) { |
51 this.detailGuid = event.detail.GUID; | 51 this.detailGuid = event.detail.GUID; |
52 this.$.pages.setSubpageChain(['network-detail']); | 52 settings.navigateTo(settings.Route.NETWORK_DETAIL); |
53 }, | 53 }, |
54 | 54 |
55 /** | 55 /** |
56 * @param {!{detail: {type: string}}} event | 56 * @param {!{detail: {type: string}}} event |
57 * @private | 57 * @private |
58 */ | 58 */ |
59 onShowKnownNetworks_: function(event) { | 59 onShowKnownNetworks_: function(event) { |
60 this.knownNetworksType = event.detail.type; | 60 this.knownNetworksType = event.detail.type; |
61 this.$.pages.setSubpageChain(['known-networks']); | 61 settings.navigateTo(settings.Route.KNOWN_NETWORKS); |
62 }, | 62 }, |
63 | 63 |
64 }); | 64 }); |
OLD | NEW |