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

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: Rebase 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
« no previous file with comments | « chrome/browser/resources/settings/internet_page/internet_page.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 */ 315 */
316 knownNetworksIsVisible_: function(deviceState) { 316 knownNetworksIsVisible_: function(deviceState) {
317 return deviceState && deviceState.Type == CrOnc.Type.WI_FI; 317 return deviceState && deviceState.Type == CrOnc.Type.WI_FI;
318 }, 318 },
319 319
320 /** 320 /**
321 * Event triggered when the known networks button is tapped. 321 * Event triggered when the known networks button is tapped.
322 * @private 322 * @private
323 */ 323 */
324 onKnownNetworksTap_: function() { 324 onKnownNetworksTap_: function() {
325 this.fire('show-known-networks', {type: CrOnc.Type.WI_FI}); 325 this.fire('show-known-networks', {Type: CrOnc.Type.WI_FI});
326 }, 326 },
327 327
328 /** 328 /**
329 * Event triggered when the enable button is toggled. 329 * Event triggered when the enable button is toggled.
330 * @param {!Event} event 330 * @param {!Event} event
331 * @private 331 * @private
332 */ 332 */
333 onDeviceEnabledTap_: function(event) { 333 onDeviceEnabledTap_: function(event) {
334 assert(this.deviceState); 334 assert(this.deviceState);
335 this.fire('device-enabled-toggled', { 335 this.fire('device-enabled-toggled', {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 422
423 /** 423 /**
424 * @param {*} lhs 424 * @param {*} lhs
425 * @param {*} rhs 425 * @param {*} rhs
426 * @return {boolean} 426 * @return {boolean}
427 */ 427 */
428 isEqual_: function(lhs, rhs) { 428 isEqual_: function(lhs, rhs) {
429 return lhs === rhs; 429 return lhs === rhs;
430 }, 430 },
431 }); 431 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/internet_page/internet_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698