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

Unified Diff: ui/message_center/notification.cc

Issue 965573002: Implement support for silent notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: michael's comments Created 5 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
« ui/message_center/notification.h ('K') | « ui/message_center/notification.h ('k') | no next file » | 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 48c84894b3239ae992f601a72e922f91d0dd3af9..a3f71774e940fd6d0fa6857268d69be11cb7ddeb 100644
--- a/ui/message_center/notification.cc
+++ b/ui/message_center/notification.cc
@@ -30,7 +30,8 @@ RichNotificationData::RichNotificationData()
timestamp(base::Time::Now()),
progress(0),
should_make_spoken_feedback_for_popup_updates(true),
- clickable(true) {}
+ clickable(true),
+ silent(false) {}
RichNotificationData::RichNotificationData(const RichNotificationData& other)
: priority(other.priority),
« ui/message_center/notification.h ('K') | « ui/message_center/notification.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698