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

Issue 885323002: Initial implementation for ListThumbnailLoader. (Closed)

Created:
5 years, 10 months ago by yawano
Modified:
5 years, 10 months ago
Reviewers:
fukino
CC:
chromium-reviews, nkostylev+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initial implementation for ListThumbnailLoader. ListThumbnailLoader is a thumbnail loader for list style ui. For the images in the viewport, either thumbnailLoaded event is dispatched or getThumbnailFromCache will return from cache. BUG=438050 TEST=out/Release/browser_tests --gtest_filter=FileManagerJsTest.ListThumbnailLoader Committed: https://crrev.com/b299dee8b65c721428aca1973bf257024c4ab4b7 Cr-Commit-Position: refs/heads/master@{#314295}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rename setViewport to setHighPriorityRange. #

Patch Set 3 : Add todo. #

Total comments: 11

Patch Set 4 : Fix nits. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+500 lines, -0 lines) Patch
M chrome/browser/chromeos/file_manager/file_manager_jstest.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/compiled_resources.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js View 1 2 3 1 chunk +275 lines, -0 lines 0 comments Download
A ui/file_manager/file_manager/foreground/js/list_thumbnail_loader_unittest.html View 1 chunk +18 lines, -0 lines 0 comments Download
A ui/file_manager/file_manager/foreground/js/list_thumbnail_loader_unittest.js View 1 1 chunk +145 lines, -0 lines 0 comments Download
A ui/file_manager/file_manager/foreground/js/mock_thumbnail_loader.js View 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
yawano
PTAL. Thank you!
5 years, 10 months ago (2015-01-30 10:50:38 UTC) #2
fukino
Thanks! Could you provide brief explanation about what is done and what needs to be ...
5 years, 10 months ago (2015-01-30 11:35:41 UTC) #3
yawano
Thank you for the review! I added TODO list in the class comment. PTAL. https://codereview.chromium.org/885323002/diff/1/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js ...
5 years, 10 months ago (2015-02-02 02:18:25 UTC) #4
fukino
Thanks! lgtm with nits. https://codereview.chromium.org/885323002/diff/1/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js File ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js (right): https://codereview.chromium.org/885323002/diff/1/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js#newcode96 ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js:96: ListThumbnailLoader.prototype.getThumbnailFromCache = function(entry) { On ...
5 years, 10 months ago (2015-02-02 18:55:00 UTC) #5
yawano
Thank you for the review! https://codereview.chromium.org/885323002/diff/40001/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js File ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js (right): https://codereview.chromium.org/885323002/diff/40001/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js#newcode26 ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js:26: * @param {!Document} document ...
5 years, 10 months ago (2015-02-03 02:50:57 UTC) #6
yawano
https://codereview.chromium.org/885323002/diff/40001/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js File ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js (right): https://codereview.chromium.org/885323002/diff/40001/ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js#newcode26 ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js:26: * @param {!Document} document Document. On 2015/02/03 02:50:57, yawano ...
5 years, 10 months ago (2015-02-03 02:53:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885323002/60001
5 years, 10 months ago (2015-02-03 02:59:01 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/19649) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/54706) ios_rel_device_ng ...
5 years, 10 months ago (2015-02-03 03:02:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885323002/80001
5 years, 10 months ago (2015-02-03 03:22:14 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (None)
5 years, 10 months ago (2015-02-03 05:23:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885323002/80001
5 years, 10 months ago (2015-02-03 07:42:52 UTC) #17
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/file_manager/file_manager_jstest.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 10 months ago (2015-02-03 07:43:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885323002/100001
5 years, 10 months ago (2015-02-03 08:05:03 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-03 08:54:05 UTC) #23
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 08:55:07 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b299dee8b65c721428aca1973bf257024c4ab4b7
Cr-Commit-Position: refs/heads/master@{#314295}

Powered by Google App Engine
This is Rietveld 408576698