Integrate ListThumbnailLoader to list view and grid view.
commite3ef182d6c4a760249728211a4278a1b224c4b50
authoryawano <yawano@chromium.org>
Fri, 13 Feb 2015 07:35:10 +0000 (12 23:35 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Feb 2015 07:35:45 +0000 (13 07:35 +0000)
tree5bb5459bc6842338f34168753005e83a2d67ee83
parentb7a72eaaa731a39ef36b6aa79ee808222f2aac96
Integrate ListThumbnailLoader to list view and grid view.

This CL also contains following fixes.
* Add error handling to ThumbnailLoader.loadAsDataUrl.
* Removed unnecessary document argument from ListThumbnailLoader.

BUG=438050
TEST=manually tested;Open a folder which contains photos in it with list view and grid view.

Review URL: https://codereview.chromium.org/912783002

Cr-Commit-Position: refs/heads/master@{#316185}
13 files changed:
ui/file_manager/file_manager/foreground/css/file_manager.css
ui/file_manager/file_manager/foreground/js/compiled_resources.gyp
ui/file_manager/file_manager/foreground/js/directory_model.js
ui/file_manager/file_manager/foreground/js/file_manager.js
ui/file_manager/file_manager/foreground/js/list_thumbnail_loader.js
ui/file_manager/file_manager/foreground/js/list_thumbnail_loader_unittest.js
ui/file_manager/file_manager/foreground/js/main_scripts.js
ui/file_manager/file_manager/foreground/js/thumbnail_loader.js
ui/file_manager/file_manager/foreground/js/ui/file_grid.js
ui/file_manager/file_manager/foreground/js/ui/file_table.js
ui/file_manager/file_manager/foreground/js/ui/file_table_list.js [new file with mode: 0644]
ui/file_manager/file_manager/foreground/js/ui/list_container.js
ui/file_manager/file_manager/main.html