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

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

Issue 9693032: [uber page] Split up initialization of handlers from initialization of webui pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER2_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 16 matching lines...) Expand all
27 public ui::TableModelObserver { 27 public ui::TableModelObserver {
28 public: 28 public:
29 StartupPagesHandler(); 29 StartupPagesHandler();
30 virtual ~StartupPagesHandler(); 30 virtual ~StartupPagesHandler();
31 31
32 virtual void Initialize() OVERRIDE; 32 virtual void Initialize() OVERRIDE;
33 33
34 // OptionsPageUIHandler implementation. 34 // OptionsPageUIHandler implementation.
35 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; 35 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
36 virtual void RegisterMessages() OVERRIDE; 36 virtual void RegisterMessages() OVERRIDE;
37 virtual void SendPageValues() OVERRIDE;
37 38
38 // AutocompleteControllerDelegate implementation. 39 // AutocompleteControllerDelegate implementation.
39 virtual void OnResultChanged(bool default_match_changed) OVERRIDE; 40 virtual void OnResultChanged(bool default_match_changed) OVERRIDE;
40 41
41 // ui::TableModelObserver implementation. 42 // ui::TableModelObserver implementation.
42 virtual void OnModelChanged() OVERRIDE; 43 virtual void OnModelChanged() OVERRIDE;
43 virtual void OnItemsChanged(int start, int length) OVERRIDE; 44 virtual void OnItemsChanged(int start, int length) OVERRIDE;
44 virtual void OnItemsAdded(int start, int length) OVERRIDE; 45 virtual void OnItemsAdded(int start, int length) OVERRIDE;
45 virtual void OnItemsRemoved(int start, int length) OVERRIDE; 46 virtual void OnItemsRemoved(int start, int length) OVERRIDE;
46 47
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // CustomHomePagesTableModel, consider changing it to something more like 94 // CustomHomePagesTableModel, consider changing it to something more like
94 // TemplateURLService. 95 // TemplateURLService.
95 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; 96 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler); 98 DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler);
98 }; 99 };
99 100
100 } // namespace options2 101 } // namespace options2
101 102
102 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER2_H_ 103 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_STARTUP_PAGES_HANDLER2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698