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

Unified Diff: ui/arc/notification/arc_notification_delegate.h

Issue 2870283002: Move message_center::CustomNotificationView to arc::ArcNotificationView (Closed)
Patch Set: Addressed comment Created 3 years, 7 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: ui/arc/notification/arc_notification_delegate.h
diff --git a/ui/arc/notification/arc_notification_delegate.h b/ui/arc/notification/arc_notification_delegate.h
index 787010b2d49c7fc7f6ca07b07697e89c41d1baaf..d9922738d88f38ff6158d8f258889dfde43b0153 100644
--- a/ui/arc/notification/arc_notification_delegate.h
+++ b/ui/arc/notification/arc_notification_delegate.h
@@ -9,19 +9,27 @@
#include "base/memory/weak_ptr.h"
#include "ui/message_center/notification_delegate.h"
+namespace message_center {
+
+class MessageCenterController;
+class MessageView;
+class Notification;
+
+} // namespace message_center
+
namespace arc {
class ArcNotificationItem;
-/*
- * Implementation of NotificationDelegate for ARC notifications.
- */
+// Implementation of NotificationDelegate for ARC notifications.
class ArcNotificationDelegate : public message_center::NotificationDelegate {
public:
explicit ArcNotificationDelegate(base::WeakPtr<ArcNotificationItem> item);
// message_center::NotificationDelegate overrides:
- std::unique_ptr<message_center::CustomContent> CreateCustomContent() override;
+ std::unique_ptr<message_center::MessageView> CreateCustomMessageView(
+ message_center::MessageCenterController* controller,
+ const message_center::Notification& notification) override;
void Close(bool by_user) override;
void Click() override;
« no previous file with comments | « ui/arc/notification/arc_notification_content_view_delegate.h ('k') | ui/arc/notification/arc_notification_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698