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

Unified Diff: chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc

Issue 11189099: Re-factor Ash Message Center code part 4/4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/views/ash/balloon_collection_impl_ash.cc
diff --git a/chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc b/chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc
index 66b2a01c6b1848b182b160e1714a39b302c8d655..3b332e62ce49c3ccfd9e605055081dc8b104bbd0 100644
--- a/chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc
+++ b/chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/ash/balloon_collection_impl_ash.h"
#include "ash/shell.h"
+#include "ash/system/web_notification/web_notification_tray.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/browser/notifications/desktop_notification_service.h"
@@ -18,7 +19,8 @@
#include "chrome/browser/ui/views/notifications/balloon_view_views.h"
BalloonCollectionImplAsh::BalloonCollectionImplAsh() {
- ash::Shell::GetInstance()->GetWebNotificationTray()->SetDelegate(this);
+ ash::Shell::GetInstance()->GetWebNotificationTray()->message_center()->
+ SetDelegate(this);
}
BalloonCollectionImplAsh::~BalloonCollectionImplAsh() {

Powered by Google App Engine
This is Rietveld 408576698