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

Unified Diff: chrome/browser/resources/file_manager/js/photo/ribbon.js

Issue 12304013: Introduce Image loader extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified. Created 7 years, 10 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
Index: chrome/browser/resources/file_manager/js/photo/ribbon.js
diff --git a/chrome/browser/resources/file_manager/js/photo/ribbon.js b/chrome/browser/resources/file_manager/js/photo/ribbon.js
index 66c3689bcce730f547c9c02344a5fd58bf3d81cb..9f595c08c5d06be49366dceb7601a17bd52757e7 100644
--- a/chrome/browser/resources/file_manager/js/photo/ribbon.js
+++ b/chrome/browser/resources/file_manager/js/photo/ribbon.js
@@ -333,6 +333,7 @@ Ribbon.prototype.setThumbnailImage_ = function(thumbnail, url, metadata) {
new ThumbnailLoader(url, ThumbnailLoader.LoaderType.IMAGE, metadata).load(
thumbnail.querySelector('.image-wrapper'),
ThumbnailLoader.FillMode.FILL /* fill */,
+ ThumbnailLoader.OptimizationMode.NEVER_DISCARD,
null /* success callback */,
this.onThumbnailError_.bind(null, url));
};

Powered by Google App Engine
This is Rietveld 408576698