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

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

Issue 2532003005: Quick View: show device model metadata. (Closed)
Patch Set: Addressed comments. Created 4 years, 1 month 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/elements/files_metadata_box.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/metadata_box_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js b/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js
index ae8d06cf04b41301c99fffd2812d794eff7c968b..c19aca6f4f09692e5e7e7a4486bd2fcb85722967 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js
@@ -138,6 +138,7 @@ MetadataBoxController.prototype.onGeneralMetadataLoaded_ = function(
.get(
[entry],
[
+ 'ifd',
'imageHeight',
'imageWidth',
'mediaAlbum',
@@ -149,6 +150,7 @@ MetadataBoxController.prototype.onGeneralMetadataLoaded_ = function(
])
.then(function(items) {
var item = items[0];
+ this.metadataBox_.ifd = item.ifd || null;
this.metadataBox_.imageHeight = item.imageHeight || 0;
this.metadataBox_.imageWidth = item.imageWidth || 0;
this.metadataBox_.mediaAlbum = item.mediaAlbum || '';
« no previous file with comments | « ui/file_manager/file_manager/foreground/elements/files_metadata_box.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698