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

Unified Diff: ui/message_center/notification.cc

Issue 18662006: Support creating progress bar notification for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedbacks Created 7 years, 5 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_types.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 e70563a0bab6e024238ab9e6a11e01ddabc5866c..a3530a53e19fba318e53b135cb6822ee1d77b3a2 100644
--- a/ui/message_center/notification.cc
+++ b/ui/message_center/notification.cc
@@ -26,7 +26,8 @@ ButtonInfo::ButtonInfo(const string16& title)
RichNotificationData::RichNotificationData()
: priority(DEFAULT_PRIORITY),
never_timeout(false),
- timestamp(base::Time::Now()) {}
+ timestamp(base::Time::Now()),
+ progress(0) {}
RichNotificationData::RichNotificationData(const RichNotificationData& other)
: priority(other.priority),
@@ -35,6 +36,7 @@ RichNotificationData::RichNotificationData(const RichNotificationData& other)
expanded_message(other.expanded_message),
image(other.image),
items(other.items),
+ progress(other.progress),
buttons(other.buttons) {}
RichNotificationData::~RichNotificationData() {}
« no previous file with comments | « ui/message_center/notification.h ('k') | ui/message_center/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698