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

Unified Diff: ui/file_manager/file_manager/foreground/elements/files_quick_view.js

Issue 2060983003: Quick View: Add functinoality to show generic metadata (size and modificationTime). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 6 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
Index: ui/file_manager/file_manager/foreground/elements/files_quick_view.js
diff --git a/ui/file_manager/file_manager/foreground/elements/files_quick_view.js b/ui/file_manager/file_manager/foreground/elements/files_quick_view.js
index 539e4583b0231789e657fcc3870dfe04a409e640..2ae1925a2ef2e1220f9a78184d95552334e0bdb8 100644
--- a/ui/file_manager/file_manager/foreground/elements/files_quick_view.js
+++ b/ui/file_manager/file_manager/foreground/elements/files_quick_view.js
@@ -6,10 +6,18 @@ var FilesQuickView = Polymer({
is: 'files-quick-view',
properties: {
+ filePath: String, // TODO(oka): Fill filePath. Show it on toolbar.
image: String,
video: String,
videoPoster: String,
audio: String,
+
+ // metadata-box-active-changed event is fired on attribute change.
+ metadataBoxActive: {
+ value: true,
+ type: Boolean,
+ notify: true,
+ }
},
listeners: {
@@ -53,4 +61,8 @@ var FilesQuickView = Polymer({
// Update ['opened'] to .opened.
return (/** @type{Object} */ (this.$.dialog))['opened'];
},
+
+ getFilesMetadataBox: function() {
+ return this.$['metadata-box'];
+ }
});

Powered by Google App Engine
This is Rietveld 408576698