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

Side by Side Diff: chrome/browser/resources/chromeos/network_ui/network_ui.js

Issue 2824493003: MD Settings: Elim is-list-item from cr-network-list-item (Closed)
Patch Set: Fix function definition Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 var NetworkUI = (function() { 5 var NetworkUI = (function() {
6 'use strict'; 6 'use strict';
7 7
8 CrOncStrings = { 8 CrOncStrings = {
9 OncTypeCellular: loadTimeData.getString('OncTypeCellular'), 9 OncTypeCellular: loadTimeData.getString('OncTypeCellular'),
10 OncTypeEthernet: loadTimeData.getString('OncTypeEthernet'), 10 OncTypeEthernet: loadTimeData.getString('OncTypeEthernet'),
11 OncTypeVPN: loadTimeData.getString('OncTypeVPN'), 11 OncTypeVPN: loadTimeData.getString('OncTypeVPN'),
12 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'), 12 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'),
13 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'), 13 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'),
14 networkDisabled: loadTimeData.getString('networkDisabled'),
15 networkListItemConnected: 14 networkListItemConnected:
16 loadTimeData.getString('networkListItemConnected'), 15 loadTimeData.getString('networkListItemConnected'),
17 networkListItemConnecting: 16 networkListItemConnecting:
18 loadTimeData.getString('networkListItemConnecting'), 17 loadTimeData.getString('networkListItemConnecting'),
19 networkListItemConnectingTo: 18 networkListItemConnectingTo:
20 loadTimeData.getString('networkListItemConnectingTo'), 19 loadTimeData.getString('networkListItemConnectingTo'),
21 networkListItemNotConnected: 20 networkListItemNotConnected:
22 loadTimeData.getString('networkListItemNotConnected'), 21 loadTimeData.getString('networkListItemNotConnected'),
23 vpnNameTemplate: loadTimeData.getString('vpnNameTemplate'), 22 vpnNameTemplate: loadTimeData.getString('vpnNameTemplate'),
24 }; 23 };
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 }); 365 });
367 366
368 document.addEventListener('custom-item-selected', function(event) { 367 document.addEventListener('custom-item-selected', function(event) {
369 chrome.send('addNetwork', [event.detail.customData]); 368 chrome.send('addNetwork', [event.detail.customData]);
370 }); 369 });
371 370
372 return { 371 return {
373 getShillPropertiesResult: getShillPropertiesResult 372 getShillPropertiesResult: getShillPropertiesResult
374 }; 373 };
375 })(); 374 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698