Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: chrome/browser/resources/settings/internet_page/internet_page.js

Issue 2210933004: Settings Router Refactor: Kill settings-router. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge yet again because this conflicts with everything Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698