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

Unified Diff: ui/message_center/notification_list.h

Issue 11410008: Created initial multi-item notification view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_view_multiple.cc ('k') | ui/notifications/notification_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification_list.h
diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h
index 4a66660fd0b8259e568ef25976ad28ddc082b69e..42250cfb5a1accae636a331391461d6f9ad67f95 100644
--- a/ui/message_center/notification_list.h
+++ b/ui/message_center/notification_list.h
@@ -23,6 +23,14 @@ namespace message_center {
// A helper class to manage the list of notifications.
class MESSAGE_CENTER_EXPORT NotificationList {
public:
+ struct MESSAGE_CENTER_EXPORT NotificationItem {
+ string16 title;
+ string16 message;
+ NotificationItem(string16 title, string16 message)
+ : title(title),
+ message(message) {}
+ };
+
struct MESSAGE_CENTER_EXPORT Notification {
Notification();
virtual ~Notification();
@@ -46,6 +54,7 @@ class MESSAGE_CENTER_EXPORT NotificationList {
string16 button_two_intent;
string16 expanded_message;
string16 image_url;
+ std::vector<NotificationItem>* items;
miket_OOO 2012/11/20 23:54:52 Sorry, I must have missed this earlier. I'm not se
// End unpacked values
gfx::ImageSkia image;
« no previous file with comments | « ui/message_center/message_view_multiple.cc ('k') | ui/notifications/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698