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

Issue 93633009: Files.app: Fix the animation of progress items. (Closed)

Created:
7 years ago by hirono
Modified:
7 years ago
Reviewers:
mtomasz
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, arv+watch_chromium.org
Visibility:
Public.

Description

Files.app: Fix the animation of progress items. Previously the animation of progress items is broken and sometimes we cannot detect the end of animation. This causes to remain the completed progress item. The root cause is the progress track's width becomes 100% before the animation starts. The ProgressCenterPanel is passed the reference of ProgressItem, and refers it in a callback function, where the item value can be updated. This CL make the ProgressCenterPanel save the item value in a local variable and refer the variable in a callback function. BUG=329400 TEST=Create 5 file and 5 directory, delete them in debug build. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242076

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Remove the TODO comments. #

Patch Set 3 : Quick Fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js View 1 2 3 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
hirono
PTAL the CL? Thanks!
7 years ago (2013-12-19 07:32:01 UTC) #1
mtomasz
https://codereview.chromium.org/93633009/diff/20001/chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js File chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js (right): https://codereview.chromium.org/93633009/diff/20001/chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js#newcode70 chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js:70: * TODO(hirono): Stop to use CSS transition. It is ...
7 years ago (2013-12-19 07:52:00 UTC) #2
hirono
Thanks! https://codereview.chromium.org/93633009/diff/20001/chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js File chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js (right): https://codereview.chromium.org/93633009/diff/20001/chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js#newcode70 chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js:70: * TODO(hirono): Stop to use CSS transition. It ...
7 years ago (2013-12-19 08:17:05 UTC) #3
mtomasz
https://codereview.chromium.org/93633009/diff/20001/chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js File chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js (right): https://codereview.chromium.org/93633009/diff/20001/chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js#newcode70 chrome/browser/resources/file_manager/foreground/js/ui/progress_center_panel.js:70: * TODO(hirono): Stop to use CSS transition. It is ...
7 years ago (2013-12-19 09:13:18 UTC) #4
hirono
> (2) I don't think it works this way. As long as the style.width != ...
7 years ago (2013-12-20 03:23:00 UTC) #5
mtomasz
On 2013/12/20 03:23:00, hirono wrote: > > (2) I don't think it works this way. ...
7 years ago (2013-12-20 03:27:59 UTC) #6
hirono
On 2013/12/20 03:27:59, mtomasz wrote: > On 2013/12/20 03:23:00, hirono wrote: > > > (2) ...
7 years ago (2013-12-20 03:34:02 UTC) #7
mtomasz
On 2013/12/20 03:34:02, hirono wrote: > On 2013/12/20 03:27:59, mtomasz wrote: > > On 2013/12/20 ...
7 years ago (2013-12-20 03:36:01 UTC) #8
hirono
On 2013/12/20 03:36:01, mtomasz wrote: > On 2013/12/20 03:34:02, hirono wrote: > > On 2013/12/20 ...
7 years ago (2013-12-20 03:41:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/93633009/80001
7 years ago (2013-12-20 07:19:06 UTC) #10
commit-bot: I haz the power
7 years ago (2013-12-20 12:41:55 UTC) #11
Message was sent while issue was closed.
Change committed as 242076

Powered by Google App Engine
This is Rietveld 408576698