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

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: Remove unnecessary property. 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
« no previous file with comments | « ui/message_center/notification.h ('k') | ui/message_center/views/message_center_button_bar.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 0b5a4dd758cbe34e4ac14922bb97a86cd80e4a00..7c76b2ce930d39d08cd22bbc224412160b56d25e 100644
--- a/ui/message_center/notification.cc
+++ b/ui/message_center/notification.cc
@@ -34,6 +34,9 @@ RichNotificationData::RichNotificationData()
progress(0),
should_make_spoken_feedback_for_popup_updates(true),
clickable(true),
+#if defined(OS_CHROMEOS)
+ pinned(false),
+#endif // defined(OS_CHROMEOS)
renotify(false),
silent(false) {}
@@ -50,6 +53,9 @@ RichNotificationData::RichNotificationData(const RichNotificationData& other)
should_make_spoken_feedback_for_popup_updates(
other.should_make_spoken_feedback_for_popup_updates),
clickable(other.clickable),
+#if defined(OS_CHROMEOS)
+ pinned(other.pinned),
+#endif // defined(OS_CHROMEOS)
vibration_pattern(other.vibration_pattern),
renotify(other.renotify),
silent(other.silent) {}
« no previous file with comments | « ui/message_center/notification.h ('k') | ui/message_center/views/message_center_button_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698