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

Side by Side Diff: chrome/browser/dom_ui/options/advanced_options_handler.h

Issue 6057003: DOMUI Settings: UTH: Fix up the 'Web Content' section. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 10 years 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) 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Callback for the "metricsReportingCheckboxAction" message. This is called 54 // Callback for the "metricsReportingCheckboxAction" message. This is called
55 // if the user toggles the metrics reporting checkbox. 55 // if the user toggles the metrics reporting checkbox.
56 void HandleMetricsReportingCheckbox(const ListValue* args); 56 void HandleMetricsReportingCheckbox(const ListValue* args);
57 57
58 // Callback for the "defaultZoomLevelAction" message. This is called if the 58 // Callback for the "defaultZoomLevelAction" message. This is called if the
59 // user changes the default zoom level. |args| is an array that contains 59 // user changes the default zoom level. |args| is an array that contains
60 // one item, the zoom level as a numeric value. 60 // one item, the zoom level as a numeric value.
61 void HandleDefaultZoomLevel(const ListValue* args); 61 void HandleDefaultZoomLevel(const ListValue* args);
62 62
63 // Callback for the "defaultFontSizeAction" message. This is called if the
64 // user changes the default font size. |args| is an array that contains
65 // one item, the font size as a numeric value.
66 void HandleDefaultFontSize(const ListValue* args);
67
63 #if defined(OS_WIN) 68 #if defined(OS_WIN)
64 // Callback for the "Check SSL Revocation" checkbox. This is needed so we 69 // Callback for the "Check SSL Revocation" checkbox. This is needed so we
65 // can support manual handling on Windows. 70 // can support manual handling on Windows.
66 void HandleCheckRevocationCheckbox(const ListValue* args); 71 void HandleCheckRevocationCheckbox(const ListValue* args);
67 72
68 // Callback for the "Use SSL3" checkbox. This is needed so we can support 73 // Callback for the "Use SSL3" checkbox. This is needed so we can support
69 // manual handling on Windows. 74 // manual handling on Windows.
70 void HandleUseSSL3Checkbox(const ListValue* args); 75 void HandleUseSSL3Checkbox(const ListValue* args);
71 76
72 // Callback for the "Use TLS1" checkbox. This is needed so we can support 77 // Callback for the "Use TLS1" checkbox. This is needed so we can support
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void SetupCloudPrintProxySection(); 115 void SetupCloudPrintProxySection();
111 #endif 116 #endif
112 117
113 // Setup the checked state for the metrics reporting checkbox. 118 // Setup the checked state for the metrics reporting checkbox.
114 void SetupMetricsReportingCheckbox(); 119 void SetupMetricsReportingCheckbox();
115 120
116 // Setup the visibility for the metrics reporting setting. 121 // Setup the visibility for the metrics reporting setting.
117 void SetupMetricsReportingSettingVisibility(); 122 void SetupMetricsReportingSettingVisibility();
118 123
119 void SetupDefaultZoomLevel(); 124 void SetupDefaultZoomLevel();
125 void SetupFontSizeLabel();
120 126
121 // Setup the download path based on user preferences. 127 // Setup the download path based on user preferences.
122 void SetupDownloadLocationPath(); 128 void SetupDownloadLocationPath();
123 129
124 // Setup the enabled state of the reset button. 130 // Setup the enabled state of the reset button.
125 void SetupAutoOpenFileTypesDisabledAttribute(); 131 void SetupAutoOpenFileTypesDisabledAttribute();
126 132
127 // Setup the proxy settings section UI. 133 // Setup the proxy settings section UI.
128 void SetupProxySettingsSection(); 134 void SetupProxySettingsSection();
129 135
130 #if defined(OS_WIN) 136 #if defined(OS_WIN)
131 // Setup the checked state for SSL related checkboxes. 137 // Setup the checked state for SSL related checkboxes.
132 void SetupSSLConfigSettings(); 138 void SetupSSLConfigSettings();
133 #endif 139 #endif
134 140
135 scoped_refptr<SelectFileDialog> select_folder_dialog_; 141 scoped_refptr<SelectFileDialog> select_folder_dialog_;
136 142
137 #if !defined(OS_CHROMEOS) 143 #if !defined(OS_CHROMEOS)
138 BooleanPrefMember enable_metrics_recording_; 144 BooleanPrefMember enable_metrics_recording_;
139 StringPrefMember cloud_print_proxy_email_; 145 StringPrefMember cloud_print_proxy_email_;
140 bool cloud_print_proxy_ui_enabled_; 146 bool cloud_print_proxy_ui_enabled_;
141 #endif 147 #endif
142 148
143 FilePathPrefMember default_download_location_; 149 FilePathPrefMember default_download_location_;
144 StringPrefMember auto_open_files_; 150 StringPrefMember auto_open_files_;
145 RealPrefMember default_zoom_level_; 151 RealPrefMember default_zoom_level_;
152 IntegerPrefMember default_font_size_;
153 IntegerPrefMember default_fixed_font_size_;
146 scoped_ptr<PrefSetObserver> proxy_prefs_; 154 scoped_ptr<PrefSetObserver> proxy_prefs_;
147 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; 155 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
148 156
149 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); 157 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler);
150 }; 158 };
151 159
152 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ 160 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/dom_ui/options/advanced_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698