| Index: ui/file_manager/gallery/js/gallery.js
|
| diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js
|
| index 4f986de4285e4f9b50cbd272b062438d3899c8ff..71aaac3f29b6d6f0f97e38adffc690418a099a4f 100644
|
| --- a/ui/file_manager/gallery/js/gallery.js
|
| +++ b/ui/file_manager/gallery/js/gallery.js
|
| @@ -228,13 +228,6 @@ function Gallery(volumeManager) {
|
| }
|
|
|
| /**
|
| - * Tools fade-out timeout in milliseconds.
|
| - * @const
|
| - * @type {number}
|
| - */
|
| -Gallery.FADE_TIMEOUT = 2000;
|
| -
|
| -/**
|
| * First time tools fade-out timeout in milliseconds.
|
| * @const
|
| * @type {number}
|
| @@ -250,14 +243,6 @@ Gallery.FIRST_FADE_TIMEOUT = 1000;
|
| Gallery.MOSAIC_BACKGROUND_INIT_DELAY = 1000;
|
|
|
| /**
|
| - * Types of metadata Gallery uses (to query the metadata cache).
|
| - * @const
|
| - * @type {!Array<string>}
|
| - */
|
| -Gallery.PREFETCH_PROPERTY_NAMES =
|
| - ['imageWidth', 'imageHeight', 'imageRotation', 'size', 'present'];
|
| -
|
| -/**
|
| * Modes in Gallery.
|
| * @enum {string}
|
| */
|
| @@ -395,7 +380,7 @@ Gallery.prototype.loadInternal_ = function(entries, selectedEntries) {
|
| var item = items[index];
|
| var entry = item.getEntry();
|
| var metadataPromise = self.metadataModel_.get([entry],
|
| - Gallery.PREFETCH_PROPERTY_NAMES);
|
| + GalleryItem.PREFETCH_PROPERTY_NAMES);
|
| var thumbnailPromise = thumbnailModel.get([entry]);
|
| return Promise.all([metadataPromise, thumbnailPromise]).then(
|
| function(metadataLists) {
|
|
|