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
3 // found in the LICENSE file.
7 * 'cr-settings-internet-page' is the settings page containing internet
12 * <core-animated-pages>
13 * <cr-settings-internet-page prefs='{{prefs}}'>
14 * </cr-settings-internet-page>
16 * </core-animated-pages>
18 * @group Chrome Settings Elements
19 * @element cr-settings-internet-page
22 is: 'cr-settings-internet-page',
26 * The current active route.
34 * The network GUID for the detail subpage.
42 * The network type for the known networks subpage.
51 * @param {!{detail: !CrOnc.NetworkStateProperties}} event
54 onShowDetail_: function(event) {
55 this.detailGuid = event.detail.GUID;
56 this.$.pages.setSubpageChain(['network-detail']);
60 * @param {!{detail: {type: string}}} event
63 onShowKnownNetworks_: function(event) {
64 this.knownNetworksType = event.detail.type;
65 this.$.pages.setSubpageChain(['known-networks']);