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

Unified Diff: ui/message_center/notification_view.h

Issue 12326091: Made notification center notifications collapsed and expandable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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..67e3b8a9081bc17ef75245a636d92b8c30e05c2d 100644
--- a/ui/message_center/notification_view.h
+++ b/ui/message_center/notification_view.h
@@ -5,6 +5,8 @@
#ifndef UI_MESSAGE_CENTER_NOTIFICATION_VIEW_H_
#define UI_MESSAGE_CENTER_NOTIFICATION_VIEW_H_
+#include <vector>
dharcourt 2013/02/23 04:32:00 Better to have this here explicitly since we use a
+
#include "ui/message_center/message_view.h"
#include "ui/message_center/notification_list.h"
@@ -30,9 +32,10 @@ class NotificationView : public MessageView {
// Overridden from View.
virtual void Layout() OVERRIDE;
virtual gfx::Size GetPreferredSize() OVERRIDE;
+ virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE;
// Overridden from MessageView.
- virtual void SetUpView() OVERRIDE;
+ virtual void SetExpanded(bool expanded) OVERRIDE;
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
@@ -40,6 +43,7 @@ class NotificationView : public MessageView {
views::View* MakeContentView();
views::View* content_view_;
+ views::ImageView* icon_view_;
std::vector<views::Button*> action_buttons_;
DISALLOW_COPY_AND_ASSIGN(NotificationView);

Powered by Google App Engine
This is Rietveld 408576698