| 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/prefs/pref_member.h" |
| 11 #include "chrome/browser/pref_set_observer.h" | 11 #include "chrome/browser/prefs/pref_set_observer.h" |
| 12 #include "chrome/browser/shell_dialogs.h" | 12 #include "chrome/browser/shell_dialogs.h" |
| 13 | 13 |
| 14 class OptionsManagedBannerHandler; | 14 class OptionsManagedBannerHandler; |
| 15 | 15 |
| 16 // Chrome advanced options page UI handler. | 16 // Chrome advanced options page UI handler. |
| 17 class AdvancedOptionsHandler | 17 class AdvancedOptionsHandler |
| 18 : public OptionsPageUIHandler, | 18 : public OptionsPageUIHandler, |
| 19 public SelectFileDialog::Listener { | 19 public SelectFileDialog::Listener { |
| 20 public: | 20 public: |
| 21 AdvancedOptionsHandler(); | 21 AdvancedOptionsHandler(); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 scoped_refptr<SelectFileDialog> select_folder_dialog_; | 86 scoped_refptr<SelectFileDialog> select_folder_dialog_; |
| 87 FilePathPrefMember default_download_location_; | 87 FilePathPrefMember default_download_location_; |
| 88 StringPrefMember auto_open_files_; | 88 StringPrefMember auto_open_files_; |
| 89 scoped_ptr<PrefSetObserver> proxy_prefs_; | 89 scoped_ptr<PrefSetObserver> proxy_prefs_; |
| 90 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 90 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); | 92 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 #endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ | 95 #endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
| OLD | NEW |