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 "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 void HandleDefaultZoomFactor(const ListValue* args); | 173 void HandleDefaultZoomFactor(const ListValue* args); |
174 | 174 |
175 // Callback for the "Use SSL 3.0" checkbox. This is called if the user toggles | 175 // Callback for the "Use SSL 3.0" checkbox. This is called if the user toggles |
176 // the "Use SSL 3.0" checkbox. | 176 // the "Use SSL 3.0" checkbox. |
177 void HandleUseSSL3Checkbox(const ListValue* args); | 177 void HandleUseSSL3Checkbox(const ListValue* args); |
178 | 178 |
179 // Callback for the "Use TLS 1.0" checkbox. This is called if the user toggles | 179 // Callback for the "Use TLS 1.0" checkbox. This is called if the user toggles |
180 // the "Use TLS 1.0" checkbox. | 180 // the "Use TLS 1.0" checkbox. |
181 void HandleUseTLS1Checkbox(const ListValue* args); | 181 void HandleUseTLS1Checkbox(const ListValue* args); |
182 | 182 |
| 183 // Callback for the "restartBrowser" message. Restores all tabs on restart. |
| 184 void HandleRestartBrowser(const ListValue* args); |
| 185 |
183 #if !defined(OS_CHROMEOS) | 186 #if !defined(OS_CHROMEOS) |
184 // Callback for the "showNetworkProxySettings" message. This will invoke | 187 // Callback for the "showNetworkProxySettings" message. This will invoke |
185 // an appropriate dialog for configuring proxy settings. | 188 // an appropriate dialog for configuring proxy settings. |
186 void ShowNetworkProxySettings(const ListValue* args); | 189 void ShowNetworkProxySettings(const ListValue* args); |
187 #endif | 190 #endif |
188 | 191 |
189 #if !defined(USE_NSS) | 192 #if !defined(USE_NSS) |
190 // Callback for the "showManageSSLCertificates" message. This will invoke | 193 // Callback for the "showManageSSLCertificates" message. This will invoke |
191 // an appropriate certificate management action based on the platform. | 194 // an appropriate certificate management action based on the platform. |
192 void ShowManageSSLCertificates(const ListValue* args); | 195 void ShowManageSSLCertificates(const ListValue* args); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 DoublePrefMember default_zoom_level_; | 292 DoublePrefMember default_zoom_level_; |
290 | 293 |
291 PrefChangeRegistrar profile_pref_registrar_; | 294 PrefChangeRegistrar profile_pref_registrar_; |
292 | 295 |
293 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 296 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
294 }; | 297 }; |
295 | 298 |
296 } // namespace options | 299 } // namespace options |
297 | 300 |
298 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 301 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
OLD | NEW |