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

Unified Diff: chrome/browser/chromeos/login/touch_login_view.cc

Issue 7650031: Profiles: Fix touchui usage of AllSources() for FOCUS_CHANGED_IN_PAGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/touch_login_view.cc
diff --git a/chrome/browser/chromeos/login/touch_login_view.cc b/chrome/browser/chromeos/login/touch_login_view.cc
index 19af1a049e03bdc00995a4d1b0b63d4c9f919c46..97cc42778dd23f13d997f29b2e811ff8b61149a3 100644
--- a/chrome/browser/chromeos/login/touch_login_view.cc
+++ b/chrome/browser/chromeos/login/touch_login_view.cc
@@ -56,12 +56,14 @@ void TouchLoginView::Init() {
InitStatusArea();
InitVirtualKeyboard();
+
+ Source<TabContents> tab_contents(webui_login_->tab_contents()));
registrar_.Add(this,
content::NOTIFICATION_FOCUS_CHANGED_IN_PAGE,
- NotificationService::AllSources());
+ tab_contents);
registrar_.Add(this,
content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
- NotificationService::AllSources());
+ tab_contents);
registrar_.Add(this,
chrome::NOTIFICATION_HIDE_KEYBOARD_INVOKED,
NotificationService::AllSources());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698