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

Unified Diff: ui/message_center/notification.cc

Issue 1645843003: Implement Non-Closable Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed the comments Created 4 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 9de5ccb36759a070141fd26e28d497438e4c71be..7c57de9273ce6aff407bf3be87a269711c6faacb 100644
--- a/ui/message_center/notification.cc
+++ b/ui/message_center/notification.cc
@@ -34,6 +34,7 @@ RichNotificationData::RichNotificationData()
progress(0),
should_make_spoken_feedback_for_popup_updates(true),
clickable(true),
+ pinned(false),
silent(false) {}
RichNotificationData::RichNotificationData(const RichNotificationData& other)
@@ -49,6 +50,7 @@ RichNotificationData::RichNotificationData(const RichNotificationData& other)
should_make_spoken_feedback_for_popup_updates(
other.should_make_spoken_feedback_for_popup_updates),
clickable(other.clickable),
+ pinned(other.pinned),
vibration_pattern(other.vibration_pattern),
silent(other.silent) {}

Powered by Google App Engine
This is Rietveld 408576698