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" |
11 #include "chrome/browser/prefs/pref_set_observer.h" | 11 #include "chrome/browser/prefs/pref_set_observer.h" |
12 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h" | 12 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h" |
| 13 #include "chrome/browser/remoting/remoting_options_handler.h" |
13 #include "chrome/browser/shell_dialogs.h" | 14 #include "chrome/browser/shell_dialogs.h" |
14 | 15 |
15 class OptionsManagedBannerHandler; | 16 class OptionsManagedBannerHandler; |
16 | 17 |
17 // Chrome advanced options page UI handler. | 18 // Chrome advanced options page UI handler. |
18 class AdvancedOptionsHandler | 19 class AdvancedOptionsHandler |
19 : public OptionsPageUIHandler, | 20 : public OptionsPageUIHandler, |
20 public SelectFileDialog::Listener, | 21 public SelectFileDialog::Listener, |
21 public CloudPrintSetupFlow::Delegate { | 22 public CloudPrintSetupFlow::Delegate { |
22 public: | 23 public: |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 #endif | 153 #endif |
153 | 154 |
154 scoped_refptr<SelectFileDialog> select_folder_dialog_; | 155 scoped_refptr<SelectFileDialog> select_folder_dialog_; |
155 | 156 |
156 #if !defined(OS_CHROMEOS) | 157 #if !defined(OS_CHROMEOS) |
157 BooleanPrefMember enable_metrics_recording_; | 158 BooleanPrefMember enable_metrics_recording_; |
158 StringPrefMember cloud_print_proxy_email_; | 159 StringPrefMember cloud_print_proxy_email_; |
159 bool cloud_print_proxy_ui_enabled_; | 160 bool cloud_print_proxy_ui_enabled_; |
160 #endif | 161 #endif |
161 | 162 |
| 163 #if defined(ENABLE_REMOTING) && !defined(OS_CHROMEOS) |
| 164 remoting::RemotingOptionsHandler remoting_options_handler_; |
| 165 #endif |
| 166 |
162 FilePathPrefMember default_download_location_; | 167 FilePathPrefMember default_download_location_; |
163 StringPrefMember auto_open_files_; | 168 StringPrefMember auto_open_files_; |
164 RealPrefMember default_zoom_level_; | 169 RealPrefMember default_zoom_level_; |
165 IntegerPrefMember default_font_size_; | 170 IntegerPrefMember default_font_size_; |
166 IntegerPrefMember default_fixed_font_size_; | 171 IntegerPrefMember default_fixed_font_size_; |
167 scoped_ptr<PrefSetObserver> proxy_prefs_; | 172 scoped_ptr<PrefSetObserver> proxy_prefs_; |
168 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 173 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
169 | 174 |
170 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); | 175 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
171 }; | 176 }; |
172 | 177 |
173 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 178 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
OLD | NEW |