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

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

Issue 2914053002: Settings: Network: Closure cleanup (Closed)
Patch Set: . Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/internet_page.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-known-networks' is the settings subpage listing the 7 * 'settings-internet-known-networks' is the settings subpage listing the
8 * known networks for a type (currently always WiFi). 8 * known networks for a type (currently always WiFi).
9 */ 9 */
10 Polymer({ 10 Polymer({
11 is: 'settings-internet-known-networks-page', 11 is: 'settings-internet-known-networks-page',
12 12
13 behaviors: [CrPolicyNetworkBehavior], 13 behaviors: [CrPolicyNetworkBehavior],
14 14
15 properties: { 15 properties: {
16 /** 16 /**
17 * The type of networks to list. 17 * The type of networks to list.
18 * @type {chrome.networkingPrivate.NetworkType} 18 * @type {CrOnc.Type}
19 */ 19 */
20 networkType: { 20 networkType: {
21 type: String, 21 type: String,
22 observer: 'networkTypeChanged_', 22 observer: 'networkTypeChanged_',
23 }, 23 },
24 24
25 /** 25 /**
26 * Interface for networkingPrivate calls, passed from internet_page. 26 * Interface for networkingPrivate calls, passed from internet_page.
27 * @type {NetworkingPrivate} 27 * @type {NetworkingPrivate}
28 */ 28 */
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 * @private 197 * @private
198 */ 198 */
199 fireShowDetails_: function(event) { 199 fireShowDetails_: function(event) {
200 var state = 200 var state =
201 /** @type {!{model: !{item: !CrOnc.NetworkStateProperties}}} */ (event) 201 /** @type {!{model: !{item: !CrOnc.NetworkStateProperties}}} */ (event)
202 .model.item; 202 .model.item;
203 this.fire('show-detail', state); 203 this.fire('show-detail', state);
204 event.stopPropagation(); 204 event.stopPropagation();
205 }, 205 },
206 }); 206 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/internet_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698