Index: ui/message_center/views/notification_view.h |
diff --git a/ui/message_center/views/notification_view.h b/ui/message_center/views/notification_view.h |
index a607b03c30288d1b01420cb4d739113843f63a02..f0f5a9f59f607440bd79ad0620c82bb5e94681d2 100644 |
--- a/ui/message_center/views/notification_view.h |
+++ b/ui/message_center/views/notification_view.h |
@@ -52,6 +52,8 @@ class MESSAGE_CENTER_EXPORT NotificationView : public MessageView, |
virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; |
// Overridden from MessageView: |
+ virtual void UpdateWithNotification( |
+ const Notification& notification) OVERRIDE; |
virtual void ButtonPressed(views::Button* sender, |
const ui::Event& event) OVERRIDE; |
@@ -69,6 +71,18 @@ class MESSAGE_CENTER_EXPORT NotificationView : public MessageView, |
const Notification& notification); |
private: |
+ void CreateViews(const Notification& notification); |
Jun Mukai
2014/05/07 23:15:11
nit: this doesn't actually create views right? It
|
+ void SetAccessibleName(const Notification& notification); |
+ |
+ void CreateTitleView(const Notification& notification); |
+ void CreateMessageView(const Notification& notification); |
+ void CreateContextMessageView(const Notification& notification); |
+ void CreateProgressBarView(const Notification& notification); |
+ void CreateListItemViews(const Notification& notification); |
+ void CreateIconView(const Notification& notification); |
+ void CreateImageView(const Notification& notification); |
+ void CreateActionButtonViews(const Notification& notification); |
+ |
int GetMessageLineLimit(int width); |
int GetMessageHeight(int width, int limit); |
@@ -88,6 +102,7 @@ class MESSAGE_CENTER_EXPORT NotificationView : public MessageView, |
views::View* image_view_; |
views::ProgressBar* progress_bar_view_; |
std::vector<views::View*> action_buttons_; |
+ std::vector<views::View*> separators_; |
DISALLOW_COPY_AND_ASSIGN(NotificationView); |
}; |