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

Unified Diff: ui/message_center/notification_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/notification_view.h
diff --git a/ui/message_center/notification_view.h b/ui/message_center/notification_view.h
index 1b9b630509a25581f815320a0259fd467582eb6d..c7cd726d12fc1f3fa882bfe74210613677c6e5b5 100644
--- a/ui/message_center/notification_view.h
+++ b/ui/message_center/notification_view.h
@@ -23,8 +23,7 @@ class NotificationView : public MessageView {
const Notification& notification,
NotificationList::Delegate* list_delegate);
- NotificationView(NotificationList::Delegate* list_delegate,
- const Notification& notification);
+ NotificationView(NotificationList::Delegate* list_delegate);
virtual ~NotificationView();
// Overridden from View.
@@ -32,12 +31,12 @@ class NotificationView : public MessageView {
virtual gfx::Size GetPreferredSize() OVERRIDE;
// 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;
private:
- views::View* MakeContentView();
+ views::View* MakeContentView(const Notification& notification);
views::View* content_view_;
std::vector<views::Button*> action_buttons_;

Powered by Google App Engine
This is Rietveld 408576698