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

Unified Diff: ui/message_center/notification.cc

Issue 12326091: Made notification center notifications collapsed and expandable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, rebase, and rebase again! Created 7 years, 9 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/notification.h ('k') | ui/message_center/notification_change_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification.cc
diff --git a/ui/message_center/notification.cc b/ui/message_center/notification.cc
index 4bd1911b17fe3095d6a1553d476dceaa9a70a436..284d27824150f4525e388e07e3a2f7eb9aa16b20 100644
--- a/ui/message_center/notification.cc
+++ b/ui/message_center/notification.cc
@@ -39,8 +39,9 @@ Notification::Notification(NotificationType type,
priority_(DEFAULT_PRIORITY),
timestamp_(base::Time::Now()),
serial_number_(g_next_serial_number_++),
+ shown_as_popup_(false),
is_read_(false),
- shown_as_popup_(false) {
+ is_expanded_(false) {
// This can override some data members initialized to deafule values above.
ApplyOptionalFields(optional_fields);
}
« no previous file with comments | « ui/message_center/notification.h ('k') | ui/message_center/notification_change_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698