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

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

Issue 2870283002: Move message_center::CustomNotificationView to arc::ArcNotificationView (Closed)
Patch Set: Fixed test 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_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 e958a9361f65f6b59eeb46b140a3b10fbd2020c6..e4824a569df8c1bde585e546f6f4be543771dd65 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,7 @@ class Widget;
namespace arc {
+// TODO(yoshiki): Rename this class to ArcNotificationContentsView.
hidehiko 2017/05/11 14:22:47 As you TODO'ed now we have ArcNotificationView and
yoshiki 2017/05/12 08:42:37 Done.
class ArcCustomNotificationView
: public views::NativeViewHost,
public views::ButtonListener,
@@ -48,7 +49,7 @@ class ArcCustomNotificationView
explicit ArcCustomNotificationView(ArcNotificationItem* item);
~ArcCustomNotificationView() override;
- std::unique_ptr<message_center::CustomNotificationContentViewDelegate>
+ std::unique_ptr<ArcNotificationContentViewDelegate>
CreateContentViewDelegate();
private:

Powered by Google App Engine
This is Rietveld 408576698