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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc

Issue 23684042: Eliminate NetworkManagerChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
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 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 return; 1278 return;
1279 base::DictionaryValue dictionary; 1279 base::DictionaryValue dictionary;
1280 PopulateConnectionDetails(network, shill_properties, &dictionary); 1280 PopulateConnectionDetails(network, shill_properties, &dictionary);
1281 web_ui()->CallJavascriptFunction(kUpdateConnectionDataFunction, dictionary); 1281 web_ui()->CallJavascriptFunction(kUpdateConnectionDataFunction, dictionary);
1282 } 1282 }
1283 1283
1284 void InternetOptionsHandler::UpdateCarrier() { 1284 void InternetOptionsHandler::UpdateCarrier() {
1285 web_ui()->CallJavascriptFunction(kUpdateCarrierFunction); 1285 web_ui()->CallJavascriptFunction(kUpdateCarrierFunction);
1286 } 1286 }
1287 1287
1288 void InternetOptionsHandler::NetworkManagerChanged() { 1288 void InternetOptionsHandler::DeviceListChanged() {
1289 if (!web_ui()) 1289 if (!web_ui())
1290 return; 1290 return;
1291 RefreshNetworkData(); 1291 RefreshNetworkData();
1292 } 1292 }
1293 1293
1294 void InternetOptionsHandler::NetworkListChanged() { 1294 void InternetOptionsHandler::NetworkListChanged() {
1295 if (!web_ui()) 1295 if (!web_ui())
1296 return; 1296 return;
1297 RefreshNetworkData(); 1297 RefreshNetworkData();
1298 } 1298 }
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 cellular && cellular->support_network_scan()); 2035 cellular && cellular->support_network_scan());
2036 2036
2037 dictionary->SetBoolean(kTagWimaxAvailable, 2037 dictionary->SetBoolean(kTagWimaxAvailable,
2038 handler->IsTechnologyAvailable(flimflam::kTypeWimax)); 2038 handler->IsTechnologyAvailable(flimflam::kTypeWimax));
2039 dictionary->SetBoolean(kTagWimaxEnabled, 2039 dictionary->SetBoolean(kTagWimaxEnabled,
2040 handler->IsTechnologyEnabled(flimflam::kTypeWimax)); 2040 handler->IsTechnologyEnabled(flimflam::kTypeWimax));
2041 } 2041 }
2042 2042
2043 } // namespace options 2043 } // namespace options
2044 } // namespace chromeos 2044 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698