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

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: Rebase 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 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/internet_options_handler.h ('k') | chromeos/network/network_state_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698