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

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

Issue 693073002: [fsp] Polish icons in Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/css/file_types.css ('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/directory_tree.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
index b7c094d5464415046603464af64f278f3bd825c2..7243be9a07166b602824f16a215019580a8fa64b 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
@@ -626,12 +626,12 @@ VolumeItem.prototype.isRemovable_ = function() {
*/
VolumeItem.prototype.setupIcon_ = function(icon, volumeInfo) {
icon.classList.add('volume-icon');
- if (volumeInfo.volumeType === 'provided') {
+ if (volumeInfo.volumeType === VolumeManagerCommon.VolumeType.PROVIDED) {
var backgroundImage = '-webkit-image-set(' +
'url(chrome://extension-icon/' + volumeInfo.extensionId +
- '/24/1) 1x, ' +
+ '/16/1) 1x, ' +
'url(chrome://extension-icon/' + volumeInfo.extensionId +
- '/48/1) 2x);';
+ '/32/1) 2x);';
// The icon div is not yet added to DOM, therefore it is impossible to
// use style.backgroundImage.
icon.setAttribute(
« no previous file with comments | « ui/file_manager/file_manager/foreground/css/file_types.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698