OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/prefs/pref_member.h" | 9 #include "chrome/browser/prefs/pref_member.h" |
10 #include "chrome/browser/prefs/pref_set_observer.h" | 10 #include "chrome/browser/prefs/pref_set_observer.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // OptionsPageUIHandler implementation. | 27 // OptionsPageUIHandler implementation. |
28 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 28 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
29 virtual void Initialize(); | 29 virtual void Initialize(); |
30 | 30 |
31 // WebUIMessageHandler implementation. | 31 // WebUIMessageHandler implementation. |
32 virtual WebUIMessageHandler* Attach(WebUI* web_ui); | 32 virtual WebUIMessageHandler* Attach(WebUI* web_ui); |
33 virtual void RegisterMessages(); | 33 virtual void RegisterMessages(); |
34 | 34 |
35 // NotificationObserver implementation. | 35 // NotificationObserver implementation. |
36 virtual void Observe(NotificationType type, | 36 virtual void Observe(int type, |
37 const NotificationSource& source, | 37 const NotificationSource& source, |
38 const NotificationDetails& details); | 38 const NotificationDetails& details); |
39 | 39 |
40 // SelectFileDialog::Listener implementation | 40 // SelectFileDialog::Listener implementation |
41 virtual void FileSelected(const FilePath& path, int index, void* params); | 41 virtual void FileSelected(const FilePath& path, int index, void* params); |
42 | 42 |
43 // CloudPrintSetupHandler::Delegate implementation. | 43 // CloudPrintSetupHandler::Delegate implementation. |
44 virtual void OnCloudPrintSetupClosed(); | 44 virtual void OnCloudPrintSetupClosed(); |
45 | 45 |
46 private: | 46 private: |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 BooleanPrefMember allow_file_selection_dialogs_; | 172 BooleanPrefMember allow_file_selection_dialogs_; |
173 StringPrefMember auto_open_files_; | 173 StringPrefMember auto_open_files_; |
174 IntegerPrefMember default_font_size_; | 174 IntegerPrefMember default_font_size_; |
175 scoped_ptr<PrefSetObserver> proxy_prefs_; | 175 scoped_ptr<PrefSetObserver> proxy_prefs_; |
176 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; | 176 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; |
177 | 177 |
178 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); | 178 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
179 }; | 179 }; |
180 | 180 |
181 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ | 181 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ |
OLD | NEW |