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

Issue 2807033002: Compile file_table_list in gyp v2 (Closed)

Created:
3 years, 8 months ago by oka
Modified:
3 years, 8 months ago
Reviewers:
fukino
CC:
chromium-reviews, yamaguchi+watch_chromium.org, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, fukino+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Compile file_table_list in gyp v2 To remove circular deps between file_table and file_table_list, - Moved filelist namespace from file_table to file_table_list. - Use observer pattern instead of calling |updateHighPriorityRange| in FileTable from FileTableList. BUG=636289 TEST=run_compiler, try CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2807033002 Cr-Commit-Position: refs/heads/master@{#464336} Committed: https://chromium.googlesource.com/chromium/src/+/1d72f2db0caadf203009ff249b8108daaa4ad8dd

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : address comments. #

Patch Set 5 : Format. #

Patch Set 6 : Revert unintended format. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -334 lines) Patch
M ui/file_manager/file_manager/foreground/js/ui/compiled_resources2.gyp View 1 chunk +12 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_table.js View 1 4 chunks +4 lines, -328 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_table_list.js View 1 2 3 5 4 chunks +346 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (18 generated)
oka
PTAL.
3 years, 8 months ago (2017-04-10 05:18:14 UTC) #7
fukino
Please check the test failures
3 years, 8 months ago (2017-04-10 09:18:55 UTC) #10
oka
.
3 years, 8 months ago (2017-04-12 09:13:31 UTC) #11
oka
.
3 years, 8 months ago (2017-04-12 09:24:15 UTC) #13
oka
Fixed the tests. PTAL.
3 years, 8 months ago (2017-04-12 11:04:44 UTC) #18
fukino
lgtm with nits. https://codereview.chromium.org/2807033002/diff/40001/ui/file_manager/file_manager/foreground/js/ui/file_table_list.js File ui/file_manager/file_manager/foreground/js/ui/file_table_list.js (right): https://codereview.chromium.org/2807033002/diff/40001/ui/file_manager/file_manager/foreground/js/ui/file_table_list.js#newcode33 ui/file_manager/file_manager/foreground/js/ui/file_table_list.js:33: FileTableList.prototype.onMergeItems_; nit: = null, and @type ...
3 years, 8 months ago (2017-04-13 07:08:18 UTC) #20
oka
address comments.
3 years, 8 months ago (2017-04-13 07:31:44 UTC) #21
oka
Format.
3 years, 8 months ago (2017-04-13 07:33:41 UTC) #22
oka
Revert unintended format.
3 years, 8 months ago (2017-04-13 07:34:37 UTC) #23
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/2807033002/100001
3 years, 8 months ago (2017-04-13 07:35:48 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/1d72f2db0caadf203009ff249b8108daaa4ad8dd
3 years, 8 months ago (2017-04-13 08:04:00 UTC) #29
oka
3 years, 8 months ago (2017-04-14 15:39:05 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/2807033002/diff/40001/ui/file_manager/file_ma...
File ui/file_manager/file_manager/foreground/js/ui/file_table_list.js (right):

https://codereview.chromium.org/2807033002/diff/40001/ui/file_manager/file_ma...
ui/file_manager/file_manager/foreground/js/ui/file_table_list.js:33:
FileTableList.prototype.onMergeItems_;
On 2017/04/13 07:08:18, fukino wrote:
> nit: = null, and @type {?function(number, number)}

Done.

https://codereview.chromium.org/2807033002/diff/40001/ui/file_manager/file_ma...
ui/file_manager/file_manager/foreground/js/ui/file_table_list.js:60:
this.onMergeItems_(beginIndex, endIndex);
On 2017/04/13 07:08:18, fukino wrote:
> nit: add "if (this.onMergeItems_)"

Done.

Powered by Google App Engine
This is Rietveld 408576698