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

Issue 127763002: Files.app: Make ProgressCenterItemGroup class to manage the states of items. (Closed)

Created:
6 years, 11 months ago by hirono
Modified:
6 years, 11 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, nkostylev+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Files.app: Make ProgressCenterItemGroup class to manage the states of items. Previously the logic of progress center is implemented in ProgressCenter. But the logic does not follow the item's animation states so another logic is needed in the ProgressCenterItemPanel and it is getting more complex. This CL adds ProgressCenterItemGroup to manage the states of items. This class responsible for creating the summarized item for the close view of progress center and controling life time error items. This CL also adds the test of the group. It does not start to use the group actually. BUG=315438 TEST=file_browser_jstest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243873

Patch Set 1 #

Total comments: 26

Patch Set 2 : Fixed. #

Patch Set 3 : Remove an unused member. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+938 lines, -11 lines) Patch
M chrome/browser/chromeos/file_manager/file_manager_jstest.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/file_manager/common/js/progress_center_common.js View 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js View 1 2 1 chunk +414 lines, -0 lines 0 comments Download
A + chrome/test/data/file_manager/unit_tests/progress_center_item_group_unittest.html View 1 chunk +3 lines, -11 lines 0 comments Download
A chrome/test/data/file_manager/unit_tests/progress_center_item_group_unittest.js View 1 1 chunk +498 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hirono
PTAL the CL? In the future change, we need to introduce progress items that has ...
6 years, 11 months ago (2014-01-08 08:11:23 UTC) #1
mtomasz
https://codereview.chromium.org/127763002/diff/1/chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js File chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js (right): https://codereview.chromium.org/127763002/diff/1/chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js#newcode43 chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js:43: this.animated_ = {}; nit: Why not using an Array ...
6 years, 11 months ago (2014-01-08 08:33:57 UTC) #2
hirono
Thanks! https://codereview.chromium.org/127763002/diff/1/chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js File chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js (right): https://codereview.chromium.org/127763002/diff/1/chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js#newcode43 chrome/browser/resources/file_manager/foreground/js/progress_center_item_group.js:43: this.animated_ = {}; On 2014/01/08 08:33:57, mtomasz wrote: ...
6 years, 11 months ago (2014-01-09 04:43:42 UTC) #3
mtomasz
lgtm!
6 years, 11 months ago (2014-01-09 09:15:59 UTC) #4
hirono
On 2014/01/09 09:15:59, mtomasz wrote: > lgtm! Thanks!
6 years, 11 months ago (2014-01-09 09:57:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/127763002/190001
6 years, 11 months ago (2014-01-09 09:57:24 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 12:45:11 UTC) #7
Message was sent while issue was closed.
Change committed as 243873

Powered by Google App Engine
This is Rietveld 408576698