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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc

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: copyright bumps 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/chromeos/pointer_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc
index 744bf903611fb82b50a8f38392e4d3050aac4d35..c3414c75fb41b9203251191e97505625487c60eb 100644
--- a/chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc
@@ -56,9 +56,12 @@ void PointerHandler::GetLocalizedValues(DictionaryValue* localized_strings) {
RegisterStrings(localized_strings, resources, arraysize(resources));
}
-void PointerHandler::Initialize() {
+void PointerHandler::InitializeHandler() {
chromeos::XInputHierarchyChangedEventListener::GetInstance()
->AddObserver(this);
+}
+
+void PointerHandler::InitializePage() {
DeviceHierarchyChanged();
}

Powered by Google App Engine
This is Rietveld 408576698