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

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

Issue 10407069: Fixed enable/disable handling for WiMAX. Removed Cellular section when not available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 7 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const chromeos::CellularNetwork* cellular, 94 const chromeos::CellularNetwork* cellular,
95 base::DictionaryValue* dictionary, 95 base::DictionaryValue* dictionary,
96 const std::string& carrier_id); 96 const std::string& carrier_id);
97 97
98 void SetPreferNetworkCallback(const base::ListValue* args); 98 void SetPreferNetworkCallback(const base::ListValue* args);
99 void SetAutoConnectCallback(const base::ListValue* args); 99 void SetAutoConnectCallback(const base::ListValue* args);
100 void SetSharedCallback(const base::ListValue* args); 100 void SetSharedCallback(const base::ListValue* args);
101 void SetIPConfigCallback(const base::ListValue* args); 101 void SetIPConfigCallback(const base::ListValue* args);
102 void EnableWifiCallback(const base::ListValue* args); 102 void EnableWifiCallback(const base::ListValue* args);
103 void DisableWifiCallback(const base::ListValue* args); 103 void DisableWifiCallback(const base::ListValue* args);
104 void EnableMobileCallback(const base::ListValue* args); 104 void EnableCellularCallback(const base::ListValue* args);
105 void DisableMobileCallback(const base::ListValue* args); 105 void DisableCellularCallback(const base::ListValue* args);
106 void EnableWimaxCallback(const base::ListValue* args);
107 void DisableWimaxCallback(const base::ListValue* args);
106 void BuyDataPlanCallback(const base::ListValue* args); 108 void BuyDataPlanCallback(const base::ListValue* args);
107 void SetApnCallback(const base::ListValue* args); 109 void SetApnCallback(const base::ListValue* args);
108 void SetSimCardLockCallback(const base::ListValue* args); 110 void SetSimCardLockCallback(const base::ListValue* args);
109 void ChangePinCallback(const base::ListValue* args); 111 void ChangePinCallback(const base::ListValue* args);
110 void ShareNetworkCallback(const base::ListValue* args); 112 void ShareNetworkCallback(const base::ListValue* args);
111 void ShowMorePlanInfoCallback(const base::ListValue* args); 113 void ShowMorePlanInfoCallback(const base::ListValue* args);
112 void RefreshNetworksCallback(const base::ListValue* args); 114 void RefreshNetworksCallback(const base::ListValue* args);
113 115
114 /** 116 /**
115 * Toggle airplane mode. Disables all wireless networks when activated. 117 * Toggle airplane mode. Disables all wireless networks when activated.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // without worrying that they will actually try to happen after the lifetime 175 // without worrying that they will actually try to happen after the lifetime
174 // of this object. 176 // of this object.
175 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 177 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
176 178
177 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 179 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
178 }; 180 };
179 181
180 } // namespace options2 182 } // namespace options2
181 183
182 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H _ 184 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_INTERNET_OPTIONS_HANDLER2_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698