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

Unified Diff: chrome/common/chrome_notification_types.h

Issue 10699013: Add a method to LoginUIService to open the sign in UI in a popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/common/chrome_notification_types.h
===================================================================
--- chrome/common/chrome_notification_types.h (revision 144917)
+++ chrome/common/chrome_notification_types.h (working copy)
@@ -870,6 +870,10 @@
// The source is the Profile. There are no details.
NOTIFICATION_GOOGLE_SIGNED_OUT,
+ // Sent when a login UI state changes: when new login UI is shown or when
+ // login UI is closed.
+ NOTIFICATION_LOGIN_UI_CHANGED,
jam 2012/07/03 05:52:27 who's listening to this notification?
Munjal (Google) 2012/07/03 17:52:17 The listening code is coming up in the next patch.
jam 2012/07/04 04:25:21 can we keep the notification until that patch then
Munjal (Google) 2012/07/09 17:30:06 I uploaded the patch that uses the notification. S
jam 2012/07/09 17:35:53 given that there's only one place that listens to
Munjal (Google) 2012/07/09 19:24:59 The main reason is to simplify lifetime management
jam 2012/07/09 19:38:13 Given that LoginUIService is a profile keyed servi
Munjal (Google) 2012/07/09 19:48:54 Yeah, LoginUIService is okay. You are right. But
jam 2012/07/09 21:02:50 This is a common pattern, and we have ObserverList
+
// Autofill Notifications --------------------------------------------------
// Sent when a popup with Autofill suggestions is shown in the renderer.

Powered by Google App Engine
This is Rietveld 408576698