Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 * Example: | 10 * Example: |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 properties: { | 24 properties: { |
| 25 /** | 25 /** |
| 26 * The current active route. | 26 * The current active route. |
| 27 */ | 27 */ |
| 28 currentRoute: { | 28 currentRoute: { |
| 29 type: Object, | 29 type: Object, |
| 30 notify: true, | 30 notify: true, |
| 31 }, | 31 }, |
| 32 | 32 |
| 33 /** | 33 /** |
| 34 * Highest priority connected network or null. | |
| 35 * @type {?CrOnc.NetworkStateProperties} | |
| 36 */ | |
| 37 defaultNetwork: { | |
|
michaelpg
2015/10/26 20:41:41
defaultNetwork is already explained in network-sum
stevenjb
2015/10/27 16:49:50
I forgot that we can have "anonymous" properties.
| |
| 38 type: Object, | |
| 39 value: null | |
| 40 }, | |
| 41 | |
| 42 /** | |
| 34 * The network GUID for the detail subpage. | 43 * The network GUID for the detail subpage. |
| 35 */ | 44 */ |
| 36 detailGuid: { | 45 detailGuid: { |
| 37 type: String, | 46 type: String, |
| 38 }, | 47 }, |
| 39 | 48 |
| 40 /** | 49 /** |
| 41 * The network type for the known networks subpage. | 50 * The network type for the known networks subpage. |
| 42 */ | 51 */ |
| 43 knownNetworksType: { | 52 knownNetworksType: { |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 57 /** | 66 /** |
| 58 * @param {!{detail: {type: string}}} event | 67 * @param {!{detail: {type: string}}} event |
| 59 * @private | 68 * @private |
| 60 */ | 69 */ |
| 61 onShowKnownNetworks_: function(event) { | 70 onShowKnownNetworks_: function(event) { |
| 62 this.knownNetworksType = event.detail.type; | 71 this.knownNetworksType = event.detail.type; |
| 63 this.$.pages.setSubpageChain(['known-networks']); | 72 this.$.pages.setSubpageChain(['known-networks']); |
| 64 }, | 73 }, |
| 65 | 74 |
| 66 }); | 75 }); |
| OLD | NEW |