OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/dom_ui/options_ui.h" | 9 #include "chrome/browser/dom_ui/options_ui.h" |
10 #include "chrome/browser/pref_member.h" | 10 #include "chrome/browser/pref_member.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 void HandleAutoOpenButton(const ListValue* args); | 47 void HandleAutoOpenButton(const ListValue* args); |
48 | 48 |
49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
50 // Callback for the "Check SSL Revocation" checkbox. This is needed so we | 50 // Callback for the "Check SSL Revocation" checkbox. This is needed so we |
51 // can support manual handling on Windows. | 51 // can support manual handling on Windows. |
52 void HandleCheckRevocationCheckbox(const ListValue* args); | 52 void HandleCheckRevocationCheckbox(const ListValue* args); |
53 | 53 |
54 // Callback for the "Use SSL2" checkbox. This is needed so we can support | 54 // Callback for the "Use SSL2" checkbox. This is needed so we can support |
55 // manual handling on Windows. | 55 // manual handling on Windows. |
56 void HandleUseSSL2Checkbox(const ListValue* args); | 56 void HandleUseSSL2Checkbox(const ListValue* args); |
| 57 |
| 58 // Callback for the "Show Gears Settings" button. |
| 59 void HandleShowGearsSettings(const ListValue* args); |
57 #endif | 60 #endif |
58 | 61 |
59 #if !defined(OS_CHROMEOS) | 62 #if !defined(OS_CHROMEOS) |
60 // Callback for the "showNetworkProxySettings" message. This will invoke | 63 // Callback for the "showNetworkProxySettings" message. This will invoke |
61 // an appropriate dialog for configuring proxy settings. | 64 // an appropriate dialog for configuring proxy settings. |
62 void ShowNetworkProxySettings(const ListValue* args); | 65 void ShowNetworkProxySettings(const ListValue* args); |
63 | 66 |
64 // Callback for the "showManageSSLCertificates" message. This will invoke | 67 // Callback for the "showManageSSLCertificates" message. This will invoke |
65 // an appropriate certificate management action based on the platform. | 68 // an appropriate certificate management action based on the platform. |
66 void ShowManageSSLCertificates(const ListValue* args); | 69 void ShowManageSSLCertificates(const ListValue* args); |
(...skipping 16 matching lines...) Expand all Loading... |
83 scoped_refptr<SelectFileDialog> select_folder_dialog_; | 86 scoped_refptr<SelectFileDialog> select_folder_dialog_; |
84 FilePathPrefMember default_download_location_; | 87 FilePathPrefMember default_download_location_; |
85 StringPrefMember auto_open_files_; | 88 StringPrefMember auto_open_files_; |
86 scoped_ptr<PrefSetObserver> proxy_prefs_; | 89 scoped_ptr<PrefSetObserver> proxy_prefs_; |
87 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 90 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
88 | 91 |
89 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); | 92 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
90 }; | 93 }; |
91 | 94 |
92 #endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ | 95 #endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
OLD | NEW |