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

Unified Diff: ui/message_center/message_simple_view.h

Issue 12277024: Notificaitons refactor step 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: steven's feedback Created 7 years, 10 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/message_center/message_simple_view.h
diff --git a/ui/message_center/message_simple_view.h b/ui/message_center/message_simple_view.h
index b55ffb1981a781d3628802d48648d424420a8934..7b27c37abe2ae97abd9d225dde99f5ff6d3c897d 100644
--- a/ui/message_center/message_simple_view.h
+++ b/ui/message_center/message_simple_view.h
@@ -10,17 +10,16 @@
namespace message_center {
-struct Notification;
+class Notification;
// A simple view for a notification entry (icon + message + buttons).
class MessageSimpleView : public MessageView {
public:
- MessageSimpleView(NotificationList::Delegate* list_delegate,
- const Notification& notification);
+ MessageSimpleView(NotificationList::Delegate* list_delegate);
virtual ~MessageSimpleView();
// Overridden from MessageView:
- virtual void SetUpView() OVERRIDE;
+ virtual void SetUpView(const Notification& notification) OVERRIDE;
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698