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

Issue 2972493002: Implement time stamp in new-style notification. (Closed)

Created:
3 years, 5 months ago by tetsui
Modified:
3 years, 5 months ago
Reviewers:
yoshiki, fukino
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, srahim+watch_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement time stamp in new-style notification. New-style notification should show the notification timestamp relative to now on the header. The format should be consistent with Android's one, so we have to implement our own version of formatter. BUG=737003 TEST=manual Review-Url: https://codereview.chromium.org/2972493002 Cr-Commit-Position: refs/heads/master@{#484220} Committed: https://chromium.googlesource.com/chromium/src/+/0563d2235011452f270d01a7557e50d06e292f5b

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Modify comment. #

Total comments: 4

Patch Set 4 : Resolve review comments. #

Total comments: 2

Patch Set 5 : Resolve review comments. #

Patch Set 6 : Fix UI strings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -4 lines) Patch
M ui/message_center/views/notification_header_view.h View 1 4 chunks +6 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_header_view.cc View 1 2 3 4 8 chunks +67 lines, -4 lines 0 comments Download
M ui/message_center/views/notification_view_md.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/strings/ui_strings.grd View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (21 generated)
tetsui
Please take a look. Thanks!
3 years, 5 months ago (2017-07-04 06:39:42 UTC) #10
fukino
https://codereview.chromium.org/2972493002/diff/40001/ui/message_center/views/notification_header_view.cc File ui/message_center/views/notification_header_view.cc (right): https://codereview.chromium.org/2972493002/diff/40001/ui/message_center/views/notification_header_view.cc#newcode48 ui/message_center/views/notification_header_view.cc:48: constexpr int64_t kMinuteInMillis = 60L * 1000L; Use the ...
3 years, 5 months ago (2017-07-05 06:42:59 UTC) #11
tetsui
https://codereview.chromium.org/2972493002/diff/40001/ui/message_center/views/notification_header_view.cc File ui/message_center/views/notification_header_view.cc (right): https://codereview.chromium.org/2972493002/diff/40001/ui/message_center/views/notification_header_view.cc#newcode48 ui/message_center/views/notification_header_view.cc:48: constexpr int64_t kMinuteInMillis = 60L * 1000L; On 2017/07/05 ...
3 years, 5 months ago (2017-07-05 06:57:19 UTC) #14
fukino
lgtm
3 years, 5 months ago (2017-07-05 07:02:37 UTC) #15
tetsui
fukino@: Thanks! yoshiki@: PTAL for OWNERS review.
3 years, 5 months ago (2017-07-05 07:03:46 UTC) #16
fukino
https://codereview.chromium.org/2972493002/diff/60001/ui/message_center/views/notification_header_view.cc File ui/message_center/views/notification_header_view.cc (right): https://codereview.chromium.org/2972493002/diff/60001/ui/message_center/views/notification_header_view.cc#newcode51 ui/message_center/views/notification_header_view.cc:51: constexpr int64_t kYearInMillis = 365LL * kDayInMillis; BTW, in ...
3 years, 5 months ago (2017-07-05 07:08:27 UTC) #17
tetsui
https://codereview.chromium.org/2972493002/diff/60001/ui/message_center/views/notification_header_view.cc File ui/message_center/views/notification_header_view.cc (right): https://codereview.chromium.org/2972493002/diff/60001/ui/message_center/views/notification_header_view.cc#newcode51 ui/message_center/views/notification_header_view.cc:51: constexpr int64_t kYearInMillis = 365LL * kDayInMillis; On 2017/07/05 ...
3 years, 5 months ago (2017-07-05 07:28:57 UTC) #19
yoshiki
lgtm
3 years, 5 months ago (2017-07-05 07:31:19 UTC) #21
tetsui
Thanks!
3 years, 5 months ago (2017-07-05 07:32:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2972493002/100001
3 years, 5 months ago (2017-07-05 08:50:52 UTC) #29
commit-bot: I haz the power
3 years, 5 months ago (2017-07-05 08:54:22 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/0563d2235011452f270d01a7557e...

Powered by Google App Engine
This is Rietveld 408576698