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

Unified Diff: chrome/browser/ui/webui/options2/browser_options_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: code shuffling 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options2/browser_options_handler2.h
diff --git a/chrome/browser/ui/webui/options2/browser_options_handler2.h b/chrome/browser/ui/webui/options2/browser_options_handler2.h
index 43e70549fce48d9e1f907eb4ad1edfbc925cfe54..ea598adff90cbdc23efc32f572a64e6dc0f25b0d 100644
--- a/chrome/browser/ui/webui/options2/browser_options_handler2.h
+++ b/chrome/browser/ui/webui/options2/browser_options_handler2.h
@@ -41,11 +41,12 @@ class BrowserOptionsHandler
BrowserOptionsHandler();
virtual ~BrowserOptionsHandler();
- virtual void Initialize() OVERRIDE;
+ virtual void InitializeHandler() OVERRIDE;
// OptionsPageUIHandler implementation.
virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
virtual void RegisterMessages() OVERRIDE;
+ virtual void InitializePage() OVERRIDE;
// ProfileSyncServiceObserver implementation.
virtual void OnStateChanged() OVERRIDE;
@@ -112,7 +113,7 @@ class BrowserOptionsHandler
void SetDefaultBrowserUIString(int status_string_id);
// Loads the possible default search engine list and reports it to the WebUI.
- void UpdateSearchEngines();
+ void AddTemplateUrlServiceObserver();
// Sends an array of Profile objects to javascript.
// Each object is of the form:

Powered by Google App Engine
This is Rietveld 408576698