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

Unified Diff: ui/arc/notification/arc_custom_notification_view.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
« no previous file with comments | « ui/arc/DEPS ('k') | ui/arc/notification/arc_custom_notification_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_custom_notification_view.h
diff --git a/ui/arc/notification/arc_custom_notification_view.h b/ui/arc/notification/arc_custom_notification_view.h
index 4cc604c2eef7f8af00ddde169fa589d583397130..ce2d65d90e4d0826cd23ffe547c3d0b055ed046d 100644
--- a/ui/arc/notification/arc_custom_notification_view.h
+++ b/ui/arc/notification/arc_custom_notification_view.h
@@ -9,11 +9,11 @@
#include <string>
#include "base/macros.h"
+#include "ui/arc/notification/arc_notification_content_view_delegate.h"
#include "ui/arc/notification/arc_notification_item.h"
#include "ui/arc/notification/arc_notification_surface_manager.h"
#include "ui/aura/window_observer.h"
#include "ui/gfx/animation/animation_delegate.h"
-#include "ui/message_center/views/custom_notification_content_view_delegate.h"
#include "ui/message_center/views/padded_button.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/native/native_view_host.h"
@@ -37,6 +37,9 @@ class Widget;
namespace arc {
+// ArcCustomNotificationView is a view to host NotificationSurface and show the
+// content in itself. This is implemented as a child of ArcNotificationView.
+// TODO(yoshiki): Rename this class to ArcNotificationContentsView.
class ArcCustomNotificationView
: public views::NativeViewHost,
public views::ButtonListener,
@@ -48,7 +51,7 @@ class ArcCustomNotificationView
explicit ArcCustomNotificationView(ArcNotificationItem* item);
~ArcCustomNotificationView() override;
- std::unique_ptr<message_center::CustomNotificationContentViewDelegate>
+ std::unique_ptr<ArcNotificationContentViewDelegate>
CreateContentViewDelegate();
private:
« no previous file with comments | « ui/arc/DEPS ('k') | ui/arc/notification/arc_custom_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698