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

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: Rebased, which led to many changes. 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.cc
diff --git a/ui/message_center/notification.cc b/ui/message_center/notification.cc
index 5a92c094c3855288378ef386eab2f702f1e77606..91f9223d4189d08eeea6e04b8ca683cc8272dc77 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);
}

Powered by Google App Engine
This is Rietveld 408576698