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

Unified Diff: ui/file_manager/file_manager/foreground/js/thumbnail_loader.js

Issue 1027283005: Files.app: Start to use PiexLoader in image loader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace dummy .js extension with .txt extension for avoiding licence check. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/file_manager/file_manager_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/thumbnail_loader.js
diff --git a/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js b/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js
index f9d5ce77fa480eb441f85dad64f186c688a3a27f..4cf970a7e3e4e85734c08417d664ff56ea632b15 100644
--- a/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js
+++ b/ui/file_manager/file_manager/foreground/js/thumbnail_loader.js
@@ -67,7 +67,7 @@ function ThumbnailLoader(entry, opt_loaderType, opt_metadata, opt_mediaType,
}
break;
case ThumbnailLoader.LoadTarget.FILE_ENTRY:
- if (FileType.isImage(entry)) {
+ if (FileType.isImage(entry) || FileType.isRaw(entry)) {
this.thumbnailUrl_ = entry.toURL();
this.transform_ =
opt_metadata.media && opt_metadata.media.imageTransform;
« no previous file with comments | « no previous file | ui/file_manager/file_manager_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698