| 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;
|
|
|
|
|