| OLD | NEW |
| 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 OncTypeTether: loadTimeData.getString('OncTypeTether'), |
| 11 OncTypeVPN: loadTimeData.getString('OncTypeVPN'), | 12 OncTypeVPN: loadTimeData.getString('OncTypeVPN'), |
| 12 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'), | 13 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'), |
| 13 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'), | 14 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'), |
| 14 networkListItemConnected: | 15 networkListItemConnected: |
| 15 loadTimeData.getString('networkListItemConnected'), | 16 loadTimeData.getString('networkListItemConnected'), |
| 16 networkListItemConnecting: | 17 networkListItemConnecting: |
| 17 loadTimeData.getString('networkListItemConnecting'), | 18 loadTimeData.getString('networkListItemConnecting'), |
| 18 networkListItemConnectingTo: | 19 networkListItemConnectingTo: |
| 19 loadTimeData.getString('networkListItemConnectingTo'), | 20 loadTimeData.getString('networkListItemConnectingTo'), |
| 20 networkListItemNotConnected: | 21 networkListItemNotConnected: |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 }); | 366 }); |
| 366 | 367 |
| 367 document.addEventListener('custom-item-selected', function(event) { | 368 document.addEventListener('custom-item-selected', function(event) { |
| 368 chrome.send('addNetwork', [event.detail.customData]); | 369 chrome.send('addNetwork', [event.detail.customData]); |
| 369 }); | 370 }); |
| 370 | 371 |
| 371 return { | 372 return { |
| 372 getShillPropertiesResult: getShillPropertiesResult | 373 getShillPropertiesResult: getShillPropertiesResult |
| 373 }; | 374 }; |
| 374 })(); | 375 })(); |
| OLD | NEW |