| 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_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/dom_ui/options/options_ui.h" | 9 #include "chrome/browser/dom_ui/options/options_ui.h" |
| 10 #include "chrome/browser/prefs/pref_member.h" | 10 #include "chrome/browser/prefs/pref_member.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Callback for the "defaultZoomLevelAction" message. This is called if the | 62 // Callback for the "defaultZoomLevelAction" message. This is called if the |
| 63 // user changes the default zoom level. |args| is an array that contains | 63 // user changes the default zoom level. |args| is an array that contains |
| 64 // one item, the zoom level as a numeric value. | 64 // one item, the zoom level as a numeric value. |
| 65 void HandleDefaultZoomLevel(const ListValue* args); | 65 void HandleDefaultZoomLevel(const ListValue* args); |
| 66 | 66 |
| 67 #if defined(OS_WIN) | 67 #if defined(OS_WIN) |
| 68 // Callback for the "Check SSL Revocation" checkbox. This is needed so we | 68 // Callback for the "Check SSL Revocation" checkbox. This is needed so we |
| 69 // can support manual handling on Windows. | 69 // can support manual handling on Windows. |
| 70 void HandleCheckRevocationCheckbox(const ListValue* args); | 70 void HandleCheckRevocationCheckbox(const ListValue* args); |
| 71 | 71 |
| 72 // Callback for the "Use SSL2" checkbox. This is needed so we can support | |
| 73 // manual handling on Windows. | |
| 74 void HandleUseSSL2Checkbox(const ListValue* args); | |
| 75 | |
| 76 // Callback for the "Use SSL3" checkbox. This is needed so we can support | 72 // Callback for the "Use SSL3" checkbox. This is needed so we can support |
| 77 // manual handling on Windows. | 73 // manual handling on Windows. |
| 78 void HandleUseSSL3Checkbox(const ListValue* args); | 74 void HandleUseSSL3Checkbox(const ListValue* args); |
| 79 | 75 |
| 80 // Callback for the "Use TLS1" checkbox. This is needed so we can support | 76 // Callback for the "Use TLS1" checkbox. This is needed so we can support |
| 81 // manual handling on Windows. | 77 // manual handling on Windows. |
| 82 void HandleUseTLS1Checkbox(const ListValue* args); | 78 void HandleUseTLS1Checkbox(const ListValue* args); |
| 83 | 79 |
| 84 // Callback for the "Show Gears Settings" button. | 80 // Callback for the "Show Gears Settings" button. |
| 85 void HandleShowGearsSettings(const ListValue* args); | 81 void HandleShowGearsSettings(const ListValue* args); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 FilePathPrefMember default_download_location_; | 147 FilePathPrefMember default_download_location_; |
| 152 StringPrefMember auto_open_files_; | 148 StringPrefMember auto_open_files_; |
| 153 RealPrefMember default_zoom_level_; | 149 RealPrefMember default_zoom_level_; |
| 154 scoped_ptr<PrefSetObserver> proxy_prefs_; | 150 scoped_ptr<PrefSetObserver> proxy_prefs_; |
| 155 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 151 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
| 156 | 152 |
| 157 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); | 153 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
| 158 }; | 154 }; |
| 159 | 155 |
| 160 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 156 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
| OLD | NEW |