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

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

Issue 1137343003: Files.app: Mark RAW files as filename-hidable files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | 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 bf208d09be39df6e77c793801a35854b3619a4d7..fc1c58d5c2f4f9c1c002e76c264a951d91a8493f 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
@@ -593,7 +593,8 @@ FileGrid.prototype.decorateThumbnailBox_ = function(li, entry) {
box.setAttribute('generic-thumbnail', mediaType);
li.classList.toggle('thumbnail-loaded', false);
}
- li.classList.toggle('can-hide-filename', FileType.isImage(entry));
+ li.classList.toggle('can-hide-filename',
+ FileType.isImage(entry) || FileType.isRaw(entry));
};
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698