| 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" |
| 11 #include "chrome/browser/pref_set_observer.h" | 11 #include "chrome/browser/pref_set_observer.h" |
| 12 #include "chrome/browser/shell_dialogs.h" | 12 #include "chrome/browser/shell_dialogs.h" |
| 13 | 13 |
| 14 class OptionsManagedBannerHandler; |
| 15 |
| 14 // Chrome advanced options page UI handler. | 16 // Chrome advanced options page UI handler. |
| 15 class AdvancedOptionsHandler | 17 class AdvancedOptionsHandler |
| 16 : public OptionsPageUIHandler, | 18 : public OptionsPageUIHandler, |
| 17 public SelectFileDialog::Listener { | 19 public SelectFileDialog::Listener { |
| 18 public: | 20 public: |
| 19 AdvancedOptionsHandler(); | 21 AdvancedOptionsHandler(); |
| 20 virtual ~AdvancedOptionsHandler(); | 22 virtual ~AdvancedOptionsHandler(); |
| 21 | 23 |
| 22 // OptionsUIHandler implementation. | 24 // OptionsUIHandler implementation. |
| 23 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 25 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 77 |
| 76 #if defined(OS_WIN) | 78 #if defined(OS_WIN) |
| 77 // Setup the checked state SSL related checkboxes. | 79 // Setup the checked state SSL related checkboxes. |
| 78 void SetupSSLConfigSettings(); | 80 void SetupSSLConfigSettings(); |
| 79 #endif | 81 #endif |
| 80 | 82 |
| 81 scoped_refptr<SelectFileDialog> select_folder_dialog_; | 83 scoped_refptr<SelectFileDialog> select_folder_dialog_; |
| 82 FilePathPrefMember default_download_location_; | 84 FilePathPrefMember default_download_location_; |
| 83 StringPrefMember auto_open_files_; | 85 StringPrefMember auto_open_files_; |
| 84 scoped_ptr<PrefSetObserver> proxy_prefs_; | 86 scoped_ptr<PrefSetObserver> proxy_prefs_; |
| 87 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
| 85 | 88 |
| 86 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); | 89 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
| 87 }; | 90 }; |
| 88 | 91 |
| 89 #endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ | 92 #endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
| OLD | NEW |