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

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: more feedback from Steven 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
« no previous file with comments | « ui/message_center/message_popup_bubble.cc ('k') | ui/message_center/message_simple_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..624f511c7524497d1646299425b867a12afbba44 100644
--- a/ui/message_center/message_simple_view.h
+++ b/ui/message_center/message_simple_view.h
@@ -10,7 +10,7 @@
namespace message_center {
-struct Notification;
+class Notification;
// A simple view for a notification entry (icon + message + buttons).
class MessageSimpleView : public MessageView {
@@ -20,7 +20,6 @@ class MessageSimpleView : public MessageView {
virtual ~MessageSimpleView();
// Overridden from MessageView:
- virtual void SetUpView() OVERRIDE;
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
@@ -32,6 +31,8 @@ class MessageSimpleView : public MessageView {
MessageSimpleView();
private:
+ void SetUpView(const Notification& notification);
+
scoped_ptr<views::ImageButton> old_style_close_button_;
scoped_ptr<views::View> content_view_;
« no previous file with comments | « ui/message_center/message_popup_bubble.cc ('k') | ui/message_center/message_simple_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698