Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: chrome/browser/ui/webui/options2/startup_pages_handler.h

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" 11 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
12 #include "chrome/browser/prefs/pref_change_registrar.h" 12 #include "chrome/browser/prefs/pref_change_registrar.h"
13 #include "chrome/browser/prefs/pref_member.h" 13 #include "chrome/browser/prefs/pref_member.h"
14 #include "chrome/browser/ui/webui/options2/options_ui.h" 14 #include "chrome/browser/ui/webui/options2/options_ui.h"
15 #include "ui/base/models/table_model_observer.h" 15 #include "ui/base/models/table_model_observer.h"
16 16
17 class AutocompleteController; 17 class AutocompleteController;
18 class CustomHomePagesTableModel; 18 class CustomHomePagesTableModel;
19 class TemplateURLService; 19 class TemplateURLService;
20 20
21 namespace options2 { 21 namespace options {
22 22
23 // Chrome browser options page UI handler. 23 // Chrome browser options page UI handler.
24 class StartupPagesHandler : public OptionsPageUIHandler, 24 class StartupPagesHandler : public OptionsPageUIHandler,
25 public AutocompleteControllerDelegate, 25 public AutocompleteControllerDelegate,
26 public ui::TableModelObserver { 26 public ui::TableModelObserver {
27 public: 27 public:
28 StartupPagesHandler(); 28 StartupPagesHandler();
29 virtual ~StartupPagesHandler(); 29 virtual ~StartupPagesHandler();
30 30
31 // OptionsPageUIHandler implementation. 31 // OptionsPageUIHandler implementation.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 PrefChangeRegistrar pref_change_registrar_; 89 PrefChangeRegistrar pref_change_registrar_;
90 90
91 // TODO(stuartmorgan): Once there are no other clients of 91 // TODO(stuartmorgan): Once there are no other clients of
92 // CustomHomePagesTableModel, consider changing it to something more like 92 // CustomHomePagesTableModel, consider changing it to something more like
93 // TemplateURLService. 93 // TemplateURLService.
94 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; 94 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler); 96 DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler);
97 }; 97 };
98 98
99 } // namespace options2 99 } // namespace options
100 100
101 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER_H_ 101 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698