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

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

Issue 2724413002: MD Settings: Internet: Show details for known networks (Closed)
Patch Set: Created 3 years, 9 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 Polymer element for displaying information about WiFi, 6 * @fileoverview Polymer element for displaying information about WiFi,
7 * WiMAX, or virtual networks. 7 * WiMAX, or virtual networks.
8 */ 8 */
9 9
10 /** @typedef {chrome.networkingPrivate.DeviceStateProperties} */ 10 /** @typedef {chrome.networkingPrivate.DeviceStateProperties} */
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 */ 313 */
314 knownNetworksIsVisible_: function(deviceState) { 314 knownNetworksIsVisible_: function(deviceState) {
315 return deviceState && deviceState.Type == CrOnc.Type.WI_FI; 315 return deviceState && deviceState.Type == CrOnc.Type.WI_FI;
316 }, 316 },
317 317
318 /** 318 /**
319 * Event triggered when the known networks button is tapped. 319 * Event triggered when the known networks button is tapped.
320 * @private 320 * @private
321 */ 321 */
322 onKnownNetworksTap_: function() { 322 onKnownNetworksTap_: function() {
323 this.fire('show-known-networks', {type: CrOnc.Type.WI_FI}); 323 this.fire('show-known-networks', {Type: CrOnc.Type.WI_FI});
324 }, 324 },
325 325
326 /** 326 /**
327 * Event triggered when the enable button is toggled. 327 * Event triggered when the enable button is toggled.
328 * @param {!Event} event 328 * @param {!Event} event
329 * @private 329 * @private
330 */ 330 */
331 onDeviceEnabledTap_: function(event) { 331 onDeviceEnabledTap_: function(event) {
332 assert(this.deviceState); 332 assert(this.deviceState);
333 this.fire('device-enabled-toggled', { 333 this.fire('device-enabled-toggled', {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 420
421 /** 421 /**
422 * @param {*} lhs 422 * @param {*} lhs
423 * @param {*} rhs 423 * @param {*} rhs
424 * @return {boolean} 424 * @return {boolean}
425 */ 425 */
426 isEqual_: function(lhs, rhs) { 426 isEqual_: function(lhs, rhs) {
427 return lhs === rhs; 427 return lhs === rhs;
428 }, 428 },
429 }); 429 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698