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

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

Issue 2755643006: MD Settings: Network a11y fixes (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 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({
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 * @param {Event} event 173 * @param {Event} event
174 * @private 174 * @private
175 */ 175 */
176 fireShowDetails_: function(event) { 176 fireShowDetails_: function(event) {
177 var state = 177 var state =
178 /** @type {!{model: !{item: !CrOnc.NetworkStateProperties}}} */ (event) 178 /** @type {!{model: !{item: !CrOnc.NetworkStateProperties}}} */ (event)
179 .model.item; 179 .model.item;
180 this.fire('show-detail', state); 180 this.fire('show-detail', state);
181 event.stopPropagation(); 181 event.stopPropagation();
182 }, 182 },
183
184 /**
185 * @param {!CrOnc.NetworkStateProperties}} state
186 * @return {string}
187 * @private
188 */
189 getDetailsA11yString_: function(state) {
190 return CrOnc.getNetworkName(state);
191 },
183 }); 192 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698