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

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

Issue 885653002: Re-layout grid view and add check marks for selected items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 11 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/images/files/ui/thumbnail_checked.png ('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_grid.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
index a7983a6babcf727b6c1a6b72ce0dd4c03b323259..fcad3f1cd5c8e585780fbd3575821e5219421e71 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
@@ -105,7 +105,7 @@ FileGrid.prototype.updateListItemsMetadata = function(type, entries) {
this.metadataCache_,
this.volumeManager_,
this.historyLoader_,
- ThumbnailLoader.FillMode.AUTO,
+ ThumbnailLoader.FillMode.FILL,
FileGrid.ThumbnailQuality.LOW,
/* animation */ false);
}
@@ -181,12 +181,16 @@ FileGrid.decorateThumbnail = function(
metadataCache,
volumeManager,
historyLoader,
- ThumbnailLoader.FillMode.AUTO,
+ ThumbnailLoader.FillMode.FILL,
FileGrid.ThumbnailQuality.LOW,
/* animation */ !previousBox);
}
frame.appendChild(box);
+ var checkmark = li.ownerDocument.createElement('div');
+ checkmark.className = 'checkmark';
+ frame.appendChild(checkmark);
+
var bottom = li.ownerDocument.createElement('div');
bottom.className = 'thumbnail-bottom';
var badge = li.ownerDocument.createElement('div');
« no previous file with comments | « ui/file_manager/file_manager/foreground/images/files/ui/thumbnail_checked.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698