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

Side by Side Diff: ui/arc/notification/arc_notification_view.h

Issue 2906323002: Rename ArcCustomNotificationView to ArcNotificationContentView (Closed)
Patch Set: Addressed comments Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_VIEW_H_ 5 #ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_VIEW_H_
6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_VIEW_H_ 6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/message_center/views/message_view.h" 9 #include "ui/message_center/views/message_view.h"
10 10
11 namespace views { 11 namespace views {
12 class Painter; 12 class Painter;
13 } 13 }
14 14
15 namespace arc { 15 namespace arc {
16 16
17 class ArcNotificationContentViewDelegate; 17 class ArcNotificationContentViewDelegate;
18 18
19 // View for custom notification with NOTIFICATION_TYPE_CUSTOM which hosts the 19 // View for custom notification with NOTIFICATION_TYPE_CUSTOM which hosts the
20 // ArcCustomNotificationView which shows content of the notification. 20 // ArcNotificationContentView which shows content of the notification.
21 class ArcNotificationView : public message_center::MessageView { 21 class ArcNotificationView : public message_center::MessageView {
22 public: 22 public:
23 static const char kViewClassName[]; 23 static const char kViewClassName[];
24 24
25 // |content_view| is a view to be hosted in this view. 25 // |content_view| is a view to be hosted in this view.
26 ArcNotificationView( 26 ArcNotificationView(
27 std::unique_ptr<views::View> content_view, 27 std::unique_ptr<views::View> content_view,
28 std::unique_ptr<ArcNotificationContentViewDelegate> delegate, 28 std::unique_ptr<ArcNotificationContentViewDelegate> delegate,
29 message_center::MessageCenterController* controller, 29 message_center::MessageCenterController* controller,
30 const message_center::Notification& notification); 30 const message_center::Notification& notification);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 std::unique_ptr<ArcNotificationContentViewDelegate> contents_view_delegate_; 63 std::unique_ptr<ArcNotificationContentViewDelegate> contents_view_delegate_;
64 64
65 std::unique_ptr<views::Painter> focus_painter_; 65 std::unique_ptr<views::Painter> focus_painter_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(ArcNotificationView); 67 DISALLOW_COPY_AND_ASSIGN(ArcNotificationView);
68 }; 68 };
69 69
70 } // namespace arc 70 } // namespace arc
71 71
72 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_VIEW_H_ 72 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_VIEW_H_
OLDNEW
« no previous file with comments | « ui/arc/notification/arc_notification_item_impl.cc ('k') | ui/arc/notification/arc_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698