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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h

Issue 10175010: Force a rescan when opening the Wifi menu on the settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void SetIPConfigCallback(const base::ListValue* args); 88 void SetIPConfigCallback(const base::ListValue* args);
89 void EnableWifiCallback(const base::ListValue* args); 89 void EnableWifiCallback(const base::ListValue* args);
90 void DisableWifiCallback(const base::ListValue* args); 90 void DisableWifiCallback(const base::ListValue* args);
91 void EnableCellularCallback(const base::ListValue* args); 91 void EnableCellularCallback(const base::ListValue* args);
92 void DisableCellularCallback(const base::ListValue* args); 92 void DisableCellularCallback(const base::ListValue* args);
93 void BuyDataPlanCallback(const base::ListValue* args); 93 void BuyDataPlanCallback(const base::ListValue* args);
94 void SetApnCallback(const base::ListValue* args); 94 void SetApnCallback(const base::ListValue* args);
95 void SetSimCardLockCallback(const base::ListValue* args); 95 void SetSimCardLockCallback(const base::ListValue* args);
96 void ChangePinCallback(const base::ListValue* args); 96 void ChangePinCallback(const base::ListValue* args);
97 void ShareNetworkCallback(const base::ListValue* args); 97 void ShareNetworkCallback(const base::ListValue* args);
98 void ShowMorePlanInfoCallback(const ListValue* args); 98 void ShowMorePlanInfoCallback(const base::ListValue* args);
99 void RefreshNetworksCallback(const base::ListValue* args);
99 100
100 /** 101 /**
101 * Toggle airplane mode. Disables all wireless networks when activated. 102 * Toggle airplane mode. Disables all wireless networks when activated.
102 * Celluar and Bluetooth connections remain disabled while active, but 103 * Celluar and Bluetooth connections remain disabled while active, but
103 * Wi-Fi can be reactivated. |args| is unused. 104 * Wi-Fi can be reactivated. |args| is unused.
104 */ 105 */
105 void ToggleAirplaneModeCallback(const ListValue* args); 106 void ToggleAirplaneModeCallback(const ListValue* args);
106 107
107 // Populates the ui with the details of the given device path. This forces 108 // Populates the ui with the details of the given device path. This forces
108 // an overlay to be displayed in the UI. 109 // an overlay to be displayed in the UI.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 chromeos::NetworkLibrary* cros_; 153 chromeos::NetworkLibrary* cros_;
153 154
154 content::NotificationRegistrar registrar_; 155 content::NotificationRegistrar registrar_;
155 156
156 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 157 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
157 }; 158 };
158 159
159 } // namespace options2 160 } // namespace options2
160 161
161 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H _ 162 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698