| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // Callback for the Cloud Print manage button. This will open a new | 106 // Callback for the Cloud Print manage button. This will open a new |
| 107 // tab pointed at the management URL. | 107 // tab pointed at the management URL. |
| 108 void ShowCloudPrintManagePage(const ListValue* args); | 108 void ShowCloudPrintManagePage(const ListValue* args); |
| 109 | 109 |
| 110 // Pings the service to send us it's current notion of the enabled state. | 110 // Pings the service to send us it's current notion of the enabled state. |
| 111 void RefreshCloudPrintStatusFromService(); | 111 void RefreshCloudPrintStatusFromService(); |
| 112 | 112 |
| 113 // Setup the enabled or disabled state of the cloud print proxy | 113 // Setup the enabled or disabled state of the cloud print proxy |
| 114 // management UI. | 114 // management UI. |
| 115 void SetupCloudPrintProxySection(); | 115 void SetupCloudPrintProxySection(); |
| 116 |
| 117 // Remove cloud print proxy section if cloud print proxy management UI is |
| 118 // disabled. |
| 119 void RemoveCloudPrintProxySection(); |
| 120 |
| 116 #endif | 121 #endif |
| 117 | 122 |
| 118 // Setup the checked state for the metrics reporting checkbox. | 123 // Setup the checked state for the metrics reporting checkbox. |
| 119 void SetupMetricsReportingCheckbox(); | 124 void SetupMetricsReportingCheckbox(); |
| 120 | 125 |
| 121 // Setup the visibility for the metrics reporting setting. | 126 // Setup the visibility for the metrics reporting setting. |
| 122 void SetupMetricsReportingSettingVisibility(); | 127 void SetupMetricsReportingSettingVisibility(); |
| 123 | 128 |
| 124 void SetupDefaultZoomLevel(); | 129 void SetupDefaultZoomLevel(); |
| 125 void SetupFontSizeLabel(); | 130 void SetupFontSizeLabel(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 151 RealPrefMember default_zoom_level_; | 156 RealPrefMember default_zoom_level_; |
| 152 IntegerPrefMember default_font_size_; | 157 IntegerPrefMember default_font_size_; |
| 153 IntegerPrefMember default_fixed_font_size_; | 158 IntegerPrefMember default_fixed_font_size_; |
| 154 scoped_ptr<PrefSetObserver> proxy_prefs_; | 159 scoped_ptr<PrefSetObserver> proxy_prefs_; |
| 155 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 160 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
| 156 | 161 |
| 157 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); | 162 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
| 158 }; | 163 }; |
| 159 | 164 |
| 160 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 165 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
| OLD | NEW |