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

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

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.h
diff --git a/chrome/browser/ui/views/ash/balloon_collection_impl_ash.h b/chrome/browser/ui/views/ash/balloon_collection_impl_ash.h
index 648a66734bd30d0e97e72b529fffc7ec69a3428d..28bdbc11a3efc3e6ea6116dc89c5f282ffe09a7b 100644
--- a/chrome/browser/ui/views/ash/balloon_collection_impl_ash.h
+++ b/chrome/browser/ui/views/ash/balloon_collection_impl_ash.h
@@ -7,14 +7,15 @@
#include <set>
-#include "ash/system/web_notification/web_notification_tray.h"
+#include "ash/system/web_notification/message_center.h"
#include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" // MessageCallback
#include "chrome/browser/notifications/balloon_collection_impl.h"
// Wrapper on top of ::BalloonCollectionImpl to provide integration between
// the Chrome notification UI and Ash notifications (ash::WebNotificationTray).
-class BalloonCollectionImplAsh : public BalloonCollectionImpl,
- public ash::WebNotificationTray::Delegate {
+class BalloonCollectionImplAsh
+ : public BalloonCollectionImpl,
+ public message_center::MessageCenter::Delegate {
public:
BalloonCollectionImplAsh();
virtual ~BalloonCollectionImplAsh();
@@ -24,7 +25,7 @@ class BalloonCollectionImplAsh : public BalloonCollectionImpl,
Profile* profile) OVERRIDE;
virtual bool HasSpace() const OVERRIDE;
- // Overridden from WebNotificationTray::Delegate.
+ // Overridden from MessageCenter::Delegate.
virtual void NotificationRemoved(const std::string& notifcation_id) OVERRIDE;
virtual void DisableExtension(const std::string& notifcation_id) OVERRIDE;
virtual void DisableNotificationsFromSource(

Powered by Google App Engine
This is Rietveld 408576698