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

Side by Side Diff: ui/webui/resources/cr_elements/network/cr_network_select.js

Issue 2848443002: MD Settings: Remove usage of deprecated iron-flex-layout.html, for CrOS. (Closed)
Patch Set: Address more Created 3 years, 7 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 Polymer element wrapping cr-network-list including the 6 * @fileoverview Polymer element wrapping cr-network-list including the
7 * networkingPrivate calls to populate it. 7 * networkingPrivate calls to populate it.
8 */ 8 */
9 9
10 Polymer({ 10 Polymer({
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 */ 50 */
51 networkStateList_: { 51 networkStateList_: {
52 type: Array, 52 type: Array,
53 value: function() { 53 value: function() {
54 return []; 54 return [];
55 }, 55 },
56 }, 56 },
57 }, 57 },
58 58
59 focus: function() { 59 focus: function() {
60 this.$.neworkList.focus(); 60 this.$.networkList.focus();
61 }, 61 },
62 62
63 /** 63 /**
64 * Listener function for chrome.networkingPrivate.onNetworkListChanged event. 64 * Listener function for chrome.networkingPrivate.onNetworkListChanged event.
65 * @type {function(!Array<string>)} 65 * @type {function(!Array<string>)}
66 * @private 66 * @private
67 */ 67 */
68 networkListChangedListener_: function() {}, 68 networkListChangedListener_: function() {},
69 69
70 /** 70 /**
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 }, 169 },
170 170
171 /** 171 /**
172 * @param {?CrOnc.NetworkStateProperties} state 172 * @param {?CrOnc.NetworkStateProperties} state
173 * @private 173 * @private
174 */ 174 */
175 defaultNetworkChanged_: function(state) { 175 defaultNetworkChanged_: function(state) {
176 this.fire('default-network-changed', state); 176 this.fire('default-network-changed', state);
177 }, 177 },
178 }); 178 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698