OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // require: onc_data.js | 5 // require: onc_data.js |
6 | 6 |
7 // NOTE(stevenjb): This code is in the process of being converted to be | 7 // NOTE(stevenjb): This code is in the process of being converted to be |
8 // compatible with the networkingPrivate extension API: | 8 // compatible with the networkingPrivate extension API: |
9 // * The network property dictionaries are being converted to use ONC values. | 9 // * The network property dictionaries are being converted to use ONC values. |
10 // * chrome.send calls will be replaced with an API object that simulates the | 10 // * chrome.send calls will be replaced with an API object that simulates the |
11 // networkingPrivate API. See network_config.js. | 11 // networkingPrivate API. See network_config.js. |
12 // See crbug.com/279351 for more info. | 12 // See crbug.com/279351 for more info. |
13 | 13 |
| 14 /** @typedef {{address: (string|undefined), |
| 15 * gateway: (string|undefined), |
| 16 * nameServers: (string|undefined), |
| 17 * netmask: (string|undefined), |
| 18 * prefixLength: (number|undefined)}} |
| 19 * @see chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc |
| 20 */ |
| 21 var IPInfo; |
| 22 |
14 /** | 23 /** |
15 * InternetDetailedInfo argument passed to showDetailedInfo. | 24 * InternetDetailedInfo argument passed to showDetailedInfo. |
16 * @see chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc | 25 * @see chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc |
17 * @typedef {{ | 26 * @typedef {{ |
18 * carriers: (Array.<string>|undefined), | 27 * carriers: (Array.<string>|undefined), |
19 * currentCarrierIndex: (number|undefined), | 28 * currentCarrierIndex: (number|undefined), |
20 * deviceConnected: (boolean|undefined), | 29 * deviceConnected: (boolean|undefined), |
21 * errorMessage: (string|undefined), | 30 * errorMessage: (string|undefined), |
22 * servicePath: string, | 31 * servicePath: string, |
23 * showCarrierSelect: (boolean|undefined), | 32 * showCarrierSelect: (boolean|undefined), |
(...skipping 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1485 | 1494 |
1486 // Don't show page name in address bar and in history to prevent people | 1495 // Don't show page name in address bar and in history to prevent people |
1487 // navigate here by hand and solve issue with page session restore. | 1496 // navigate here by hand and solve issue with page session restore. |
1488 PageManager.showPageByName('detailsInternetPage', false); | 1497 PageManager.showPageByName('detailsInternetPage', false); |
1489 }; | 1498 }; |
1490 | 1499 |
1491 return { | 1500 return { |
1492 DetailsInternetPage: DetailsInternetPage | 1501 DetailsInternetPage: DetailsInternetPage |
1493 }; | 1502 }; |
1494 }); | 1503 }); |
OLD | NEW |