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

Unified Diff: ui/message_center/views/notification_view_md.cc

Issue 2972493002: Implement time stamp in new-style notification. (Closed)
Patch Set: Fix UI strings. Created 3 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/views/notification_header_view.cc ('k') | ui/strings/ui_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view_md.cc
diff --git a/ui/message_center/views/notification_view_md.cc b/ui/message_center/views/notification_view_md.cc
index 551a8b0de64d2aa241af01214c07e35f99070649..7a86c5bc7e9e7e2414f81900eaea6e48f5110a06 100644
--- a/ui/message_center/views/notification_view_md.cc
+++ b/ui/message_center/views/notification_view_md.cc
@@ -467,6 +467,7 @@ void NotificationViewMD::RequestFocusOnCloseButton() {
void NotificationViewMD::CreateOrUpdateContextTitleView(
const Notification& notification) {
header_row_->SetAppName(notification.display_source());
+ header_row_->SetTimestamp(notification.timestamp());
}
void NotificationViewMD::CreateOrUpdateTitleView(
« no previous file with comments | « ui/message_center/views/notification_header_view.cc ('k') | ui/strings/ui_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698