| 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 #include "chrome/browser/ui/webui/options/chromeos/internet_options_handler.h" | 5 #include "chrome/browser/ui/webui/options/chromeos/internet_options_handler.h" |
| 6 | 6 |
| 7 #include <ctype.h> | 7 #include <ctype.h> |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1309 return; | 1309 return; |
| 1310 base::DictionaryValue dictionary; | 1310 base::DictionaryValue dictionary; |
| 1311 PopulateConnectionDetails(network, shill_properties, &dictionary); | 1311 PopulateConnectionDetails(network, shill_properties, &dictionary); |
| 1312 web_ui()->CallJavascriptFunction(kUpdateConnectionDataFunction, dictionary); | 1312 web_ui()->CallJavascriptFunction(kUpdateConnectionDataFunction, dictionary); |
| 1313 } | 1313 } |
| 1314 | 1314 |
| 1315 void InternetOptionsHandler::UpdateCarrier() { | 1315 void InternetOptionsHandler::UpdateCarrier() { |
| 1316 web_ui()->CallJavascriptFunction(kUpdateCarrierFunction); | 1316 web_ui()->CallJavascriptFunction(kUpdateCarrierFunction); |
| 1317 } | 1317 } |
| 1318 | 1318 |
| 1319 void InternetOptionsHandler::NetworkManagerChanged() { | 1319 void InternetOptionsHandler::DeviceListChanged() { |
| 1320 if (!web_ui()) | 1320 if (!web_ui()) |
| 1321 return; | 1321 return; |
| 1322 RefreshNetworkData(); | 1322 RefreshNetworkData(); |
| 1323 } | 1323 } |
| 1324 | 1324 |
| 1325 void InternetOptionsHandler::NetworkListChanged() { | 1325 void InternetOptionsHandler::NetworkListChanged() { |
| 1326 if (!web_ui()) | 1326 if (!web_ui()) |
| 1327 return; | 1327 return; |
| 1328 RefreshNetworkData(); | 1328 RefreshNetworkData(); |
| 1329 } | 1329 } |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2076 dictionary->SetBoolean( | 2076 dictionary->SetBoolean( |
| 2077 kTagWimaxAvailable, | 2077 kTagWimaxAvailable, |
| 2078 handler->IsTechnologyAvailable(NetworkTypePattern::Wimax())); | 2078 handler->IsTechnologyAvailable(NetworkTypePattern::Wimax())); |
| 2079 dictionary->SetBoolean( | 2079 dictionary->SetBoolean( |
| 2080 kTagWimaxEnabled, | 2080 kTagWimaxEnabled, |
| 2081 handler->IsTechnologyEnabled(NetworkTypePattern::Wimax())); | 2081 handler->IsTechnologyEnabled(NetworkTypePattern::Wimax())); |
| 2082 } | 2082 } |
| 2083 | 2083 |
| 2084 } // namespace options | 2084 } // namespace options |
| 2085 } // namespace chromeos | 2085 } // namespace chromeos |
| OLD | NEW |