DescriptionStart delegating notifications to MessageCenter on Windows.
This is the next step.
MessageCeneterNotificationManager now creates MessageCenter and forwards
new notificaitons to it.
1. Upon chat with dewittj@, we decided to not trat MessageCenter as Singleton
since there are issues on process shutdown (MessageCenter should exist
while MessageCeneterNotificationManager does). Changes that.
2. MessageCeneterNotificationManager for now keeps a map of all displayed
Notification objects - to make sure NotificationDelegates are invoked and
Profiles are tracked.
3. Started to pass ExtensionId into as origin_id from Notification API, to
scope the notification updates to a specific app (bug 168924)
4. Additionally scoped update of notifications by profile, since in
multiprofile case the update was also not scoped by profile.
This does not yet render anything, since there is no rendering Observer
set for the MessageCenter. Will coordinate with Justin.
Next step would be to land a test for the add/update/remove logic,
and also move image download from Balloon_view_ash to NotificationUIManagerImpl,
where notifications wait until they are ready to be displayed.
BUG=168924, 168605
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178352
Patch Set 1 #
Total comments: 1
Patch Set 2 : moved MessageCenter to ash::Shell #
Total comments: 4
Patch Set 3 : Made MessageCenterNotificationManager to pull MessageCenter from right places. #Patch Set 4 : fix mac build #Patch Set 5 : fix androif build #
Total comments: 2
Patch Set 6 : another mac fix #Patch Set 7 : another compile fix #Patch Set 8 : another compile fix #
Total comments: 11
Patch Set 9 : cr feedback #Patch Set 10 : fix compile error #Patch Set 11 : moved MessageCenter retrieval code #Patch Set 12 : added USE_ASH guard to test code as well #
Total comments: 6
Patch Set 13 : sky cr feedback #
Total comments: 1
Patch Set 14 : call through to ash::Shell #Patch Set 15 : rebase #Patch Set 16 : fix cromeos build #Patch Set 17 : another build fix #Messages
Total messages: 29 (0 generated)
|