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

Issue 22021003: Move the initialization code of volume item to VolumeItem constructor. (Closed)

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

Description

Move the initialization code of volume item to VolumeItem constructor. The initialization of volume item has been done in VolumeList.renderRoot_(), but as I wrote in the TODO comment in volume_list.js, it should be done in the constructor of VolumeItem. This patch moves it as the comment. This patch shouldn't change any functionality. BUG=none TEST=Volume list works correctly on mounting/unmounting volume. Folder shortcut can be created and removed. R=mtomasz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215823

Patch Set 1 #

Total comments: 15

Patch Set 2 : addressed comment #

Patch Set 3 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -64 lines) Patch
M chrome/browser/resources/file_manager/js/volume_list.js View 1 2 4 chunks +103 lines, -64 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
yoshiki
@mtomasz: PTAL. Thanks.
7 years, 4 months ago (2013-08-05 15:51:03 UTC) #1
mtomasz
Nice cleanup. lgtm with some small comments. https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js File chrome/browser/resources/file_manager/js/volume_list.js (right): https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js#newcode148 chrome/browser/resources/file_manager/js/volume_list.js:148: if (this.decorated_) ...
7 years, 4 months ago (2013-08-06 01:33:06 UTC) #2
yoshiki
https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js File chrome/browser/resources/file_manager/js/volume_list.js (right): https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js#newcode148 chrome/browser/resources/file_manager/js/volume_list.js:148: if (this.decorated_) On 2013/08/06 01:33:06, mtomasz wrote: > It ...
7 years, 4 months ago (2013-08-06 04:42:20 UTC) #3
mtomasz
lgtm with 3 nits. thanks! https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js File chrome/browser/resources/file_manager/js/volume_list.js (right): https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js#newcode210 chrome/browser/resources/file_manager/js/volume_list.js:210: * Associate a context ...
7 years, 4 months ago (2013-08-06 04:52:23 UTC) #4
yoshiki
https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js File chrome/browser/resources/file_manager/js/volume_list.js (right): https://codereview.chromium.org/22021003/diff/1/chrome/browser/resources/file_manager/js/volume_list.js#newcode210 chrome/browser/resources/file_manager/js/volume_list.js:210: * Associate a context menu with this item. On ...
7 years, 4 months ago (2013-08-06 04:58:44 UTC) #5
yoshiki
Thanks for reviewing. Going to commit.
7 years, 4 months ago (2013-08-06 04:58:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/22021003/16001
7 years, 4 months ago (2013-08-06 04:59:16 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=156581
7 years, 4 months ago (2013-08-06 05:55:32 UTC) #8
yoshiki
7 years, 4 months ago (2013-08-06 06:27:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r215823 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698