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

Issue 1447933002: Implement an indeterminate progress-bar (Closed)

Created:
5 years, 1 month ago by yoshiki
Modified:
5 years ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement an indeterminate progress-bar This patch implements indeterminate progress-bar in notifications, which will be used by download notification. Major changes: - Implement indeterminate progress bar in the NotificationProgressBar class. - Extract NotificationProgressBar into notification_progress_bar.[cc|h] - Add NotificationProgressBar::SetIndeterminate(bool) method which set the indetermination. BUG=554916 TEST=manual test Committed: https://crrev.com/fc16346c607d1eff870269962062c20170f5475f Cr-Commit-Position: refs/heads/master@{#361861}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Split into two class #

Total comments: 8

Patch Set 3 : Addressed the comment #

Patch Set 4 : Fix test failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -66 lines) Patch
M ui/message_center/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/message_center.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A ui/message_center/views/notification_progress_bar.h View 1 2 3 1 chunk +64 lines, -0 lines 0 comments Download
A ui/message_center/views/notification_progress_bar.cc View 1 2 1 chunk +185 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_view.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ui/message_center/views/notification_view.cc View 1 2 4 chunks +16 lines, -65 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
yoshiki
Mukai-san, could you take a look? This feature will be used by donwload notification (Issue: ...
5 years, 1 month ago (2015-11-16 02:44:38 UTC) #3
yoshiki
Mukai-san, could you take a look? This feature will be used by donwload notification (Issue: ...
5 years, 1 month ago (2015-11-16 02:44:39 UTC) #4
Jun Mukai
Could we split the class implementation, such as NotificationProgressBar and IntermediateProgressBar class? I think the ...
5 years, 1 month ago (2015-11-16 08:29:31 UTC) #5
Jun Mukai
also -- I'm wondering whether we could adopt some of tween types rather than those ...
5 years, 1 month ago (2015-11-16 22:58:55 UTC) #6
yoshiki
On 2015/11/16 22:58:55, Jun Mukai wrote: > also -- I'm wondering whether we could adopt ...
5 years ago (2015-11-24 16:37:26 UTC) #7
yoshiki
Mukai-san, sorry for late. I splitted the class. Could you take a look again? https://codereview.chromium.org/1447933002/diff/1/ui/message_center/views/notification_progress_bar.cc ...
5 years ago (2015-11-24 16:39:24 UTC) #8
yoshiki
As I checked the MD official document, it has only one bar. http://www.google.com/design/spec/components/progress-activity.html Hence my ...
5 years ago (2015-11-24 16:49:39 UTC) #9
Jun Mukai
https://codereview.chromium.org/1447933002/diff/1/ui/message_center/views/notification_progress_bar.cc File ui/message_center/views/notification_progress_bar.cc (right): https://codereview.chromium.org/1447933002/diff/1/ui/message_center/views/notification_progress_bar.cc#newcode90 ui/message_center/views/notification_progress_bar.cc:90: bar2_width = 0; On 2015/11/24 16:39:24, yoshiki wrote: > ...
5 years ago (2015-11-24 17:51:12 UTC) #10
yoshiki
I confirmed the animation is correct and same as the MD lite's one, sorry for ...
5 years ago (2015-11-25 15:14:28 UTC) #13
Jun Mukai
lgtm
5 years ago (2015-11-26 08:43:46 UTC) #14
yoshiki
Thanks!
5 years ago (2015-11-26 10:04:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1447933002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1447933002/100001
5 years ago (2015-11-26 10:04:55 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years ago (2015-11-26 10:09:34 UTC) #20
commit-bot: I haz the power
5 years ago (2015-11-26 10:10:32 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fc16346c607d1eff870269962062c20170f5475f
Cr-Commit-Position: refs/heads/master@{#361861}

Powered by Google App Engine
This is Rietveld 408576698