Chromium Code Reviews| 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 // the "Use SSL 3.0" checkbox. | 221 // the "Use SSL 3.0" checkbox. |
| 222 void HandleUseSSL3Checkbox(const ListValue* args); | 222 void HandleUseSSL3Checkbox(const ListValue* args); |
| 223 | 223 |
| 224 // Callback for the "Use TLS 1.0" checkbox. This is called if the user toggles | 224 // Callback for the "Use TLS 1.0" checkbox. This is called if the user toggles |
| 225 // the "Use TLS 1.0" checkbox. | 225 // the "Use TLS 1.0" checkbox. |
| 226 void HandleUseTLS1Checkbox(const ListValue* args); | 226 void HandleUseTLS1Checkbox(const ListValue* args); |
| 227 | 227 |
| 228 // Callback for the "restartBrowser" message. Restores all tabs on restart. | 228 // Callback for the "restartBrowser" message. Restores all tabs on restart. |
| 229 void HandleRestartBrowser(const ListValue* args); | 229 void HandleRestartBrowser(const ListValue* args); |
| 230 | 230 |
| 231 // Callback for "requestProfilesInfo" message. | |
| 232 void RequestProfilesInfo(const ListValue* args); | |
|
Bernhard Bauer
2013/08/09 08:57:14
Callbacks are named starting with "Handle" (compar
ibra
2013/08/09 09:02:26
Done.
| |
| 233 | |
| 231 #if !defined(OS_CHROMEOS) | 234 #if !defined(OS_CHROMEOS) |
| 232 // Callback for the "showNetworkProxySettings" message. This will invoke | 235 // Callback for the "showNetworkProxySettings" message. This will invoke |
| 233 // an appropriate dialog for configuring proxy settings. | 236 // an appropriate dialog for configuring proxy settings. |
| 234 void ShowNetworkProxySettings(const ListValue* args); | 237 void ShowNetworkProxySettings(const ListValue* args); |
| 235 #endif | 238 #endif |
| 236 | 239 |
| 237 #if !defined(USE_NSS) | 240 #if !defined(USE_NSS) |
| 238 // Callback for the "showManageSSLCertificates" message. This will invoke | 241 // Callback for the "showManageSSLCertificates" message. This will invoke |
| 239 // an appropriate certificate management action based on the platform. | 242 // an appropriate certificate management action based on the platform. |
| 240 void ShowManageSSLCertificates(const ListValue* args); | 243 void ShowManageSSLCertificates(const ListValue* args); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 346 PrefChangeRegistrar profile_pref_registrar_; | 349 PrefChangeRegistrar profile_pref_registrar_; |
| 347 | 350 |
| 348 scoped_ptr<ManagedUserRegistrationUtility> managed_user_registration_utility_; | 351 scoped_ptr<ManagedUserRegistrationUtility> managed_user_registration_utility_; |
| 349 | 352 |
| 350 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 353 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 351 }; | 354 }; |
| 352 | 355 |
| 353 } // namespace options | 356 } // namespace options |
| 354 | 357 |
| 355 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 358 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |