| 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_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // Chrome browser options page UI handler. | 23 // Chrome browser options page UI handler. |
| 24 class BrowserOptionsHandler : public OptionsPageUIHandler, | 24 class BrowserOptionsHandler : public OptionsPageUIHandler, |
| 25 public AutocompleteControllerDelegate, | 25 public AutocompleteControllerDelegate, |
| 26 public ShellIntegration::DefaultWebClientObserver, | 26 public ShellIntegration::DefaultWebClientObserver, |
| 27 public TemplateURLServiceObserver, | 27 public TemplateURLServiceObserver, |
| 28 public ui::TableModelObserver { | 28 public ui::TableModelObserver { |
| 29 public: | 29 public: |
| 30 BrowserOptionsHandler(); | 30 BrowserOptionsHandler(); |
| 31 virtual ~BrowserOptionsHandler(); | 31 virtual ~BrowserOptionsHandler(); |
| 32 | 32 |
| 33 virtual void Initialize(); | 33 virtual void Initialize() OVERRIDE; |
| 34 | 34 |
| 35 // OptionsPageUIHandler implementation. | 35 // OptionsPageUIHandler implementation. |
| 36 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; | 36 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; |
| 37 virtual void RegisterMessages() OVERRIDE; | 37 virtual void RegisterMessages() OVERRIDE; |
| 38 | 38 |
| 39 // AutocompleteControllerDelegate implementation. | 39 // AutocompleteControllerDelegate implementation. |
| 40 virtual void OnResultChanged(bool default_match_changed) OVERRIDE; | 40 virtual void OnResultChanged(bool default_match_changed) OVERRIDE; |
| 41 | 41 |
| 42 // ShellIntegration::DefaultWebClientObserver implementation. | 42 // ShellIntegration::DefaultWebClientObserver implementation. |
| 43 virtual void SetDefaultWebClientUIState( | 43 virtual void SetDefaultWebClientUIState( |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // CustomHomePagesTableModel, consider changing it to something more like | 127 // CustomHomePagesTableModel, consider changing it to something more like |
| 128 // TemplateURLService. | 128 // TemplateURLService. |
| 129 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; | 129 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; |
| 130 | 130 |
| 131 scoped_ptr<AutocompleteController> autocomplete_controller_; | 131 scoped_ptr<AutocompleteController> autocomplete_controller_; |
| 132 | 132 |
| 133 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 133 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 136 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |