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

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

Issue 904003002: Files.app: Start to use new metadata models in DirectoryContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/js/metadata/new_metadata_provider.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/ui/file_table.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_table.js b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
index a271a8c440b0d777ba1738128edf7cbbb88cf640..d537bef36e4a90c6b90dc4a0368b805aa6e2a589 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_table.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
@@ -232,6 +232,19 @@ function FileTable() {
}
/**
+ * Metadata property names used by FileTable.
+ * These metadata is expected to be cached.
+ * @const {!Array<string>}
+ */
+FileTable.METADATA_PROPERTY_NAMES = [
+ 'size',
+ 'modificationTime',
+ 'hosted',
+ 'availableOffline',
+ 'customIconUrl'
+];
+
+/**
* Inherits from cr.ui.Table.
*/
FileTable.prototype.__proto__ = cr.ui.Table.prototype;
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/metadata/new_metadata_provider.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698