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

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: fix merge 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 /** The current active route. */
15 currentRoute: {
16 type: Object,
17 notify: true,
18 },
19
20 /** The network GUID for the detail subpage. */ 14 /** The network GUID for the detail subpage. */
21 detailGuid: { 15 detailGuid: {
22 type: String, 16 type: String,
23 }, 17 },
24 18
25 /** The network type for the known networks subpage. */ 19 /** The network type for the known networks subpage. */
26 knownNetworksType: { 20 knownNetworksType: {
27 type: String, 21 type: String,
28 }, 22 },
29 23
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 /*** @private */ 69 /*** @private */
76 onAddWiFiTap_: function() { 70 onAddWiFiTap_: function() {
77 chrome.send('addNetwork', [CrOnc.Type.WI_FI]); 71 chrome.send('addNetwork', [CrOnc.Type.WI_FI]);
78 }, 72 },
79 73
80 /*** @private */ 74 /*** @private */
81 onAddVPNTap_: function() { 75 onAddVPNTap_: function() {
82 chrome.send('addNetwork', [CrOnc.Type.VPN]); 76 chrome.send('addNetwork', [CrOnc.Type.VPN]);
83 }, 77 },
84 }); 78 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698