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

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

Issue 931603002: Update the thumbnail when a file is updated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failed test case. Created 5 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
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/file_grid.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/ui/file_table.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_table.js b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
index 5297aa3421f563604e57e7caa9ede8a3e09f8de8..d007e96130488e08d1baa2c333869a317b5f5996 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_table.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
@@ -829,6 +829,7 @@ FileTable.prototype.renderThumbnail_ = function(entry) {
* @private
*/
FileTable.prototype.setThumbnailImage_ = function(box, dataUrl) {
+ // TODO(yawano): Add transition animation for thumbnail update.
box.style.backgroundImage = 'url(' + dataUrl + ')';
box.classList.add('loaded');
};
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/file_grid.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698