OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OPTIONS2_STARTUP_PAGES_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_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" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" | 12 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" |
13 #include "chrome/browser/prefs/pref_change_registrar.h" | 13 #include "chrome/browser/prefs/pref_change_registrar.h" |
14 #include "chrome/browser/prefs/pref_member.h" | 14 #include "chrome/browser/prefs/pref_member.h" |
15 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 15 #include "chrome/browser/ui/webui/options2/options_ui.h" |
16 #include "ui/base/models/table_model_observer.h" | 16 #include "ui/base/models/table_model_observer.h" |
17 | 17 |
18 class AutocompleteController; | 18 class AutocompleteController; |
19 class CustomHomePagesTableModel; | 19 class CustomHomePagesTableModel; |
20 class TemplateURLService; | 20 class TemplateURLService; |
21 | 21 |
22 namespace options2 { | 22 namespace options2 { |
23 | 23 |
24 // Chrome browser options page UI handler. | 24 // Chrome browser options page UI handler. |
25 class StartupPagesHandler : public OptionsPageUIHandler, | 25 class StartupPagesHandler : public OptionsPageUIHandler, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // TODO(stuartmorgan): Once there are no other clients of | 92 // TODO(stuartmorgan): Once there are no other clients of |
93 // CustomHomePagesTableModel, consider changing it to something more like | 93 // CustomHomePagesTableModel, consider changing it to something more like |
94 // TemplateURLService. | 94 // TemplateURLService. |
95 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; | 95 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler); | 97 DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace options2 | 100 } // namespace options2 |
101 | 101 |
102 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER2_H_ | 102 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER_H_ |
OLD | NEW |