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

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

Issue 2565333002: Remove details panel. (Closed)
Patch Set: Rebased. Created 4 years 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/js/metadata_update_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata_update_controller.js b/ui/file_manager/file_manager/foreground/js/metadata_update_controller.js
index 00a3209bf47ef08b0e957e9de165b0d8025d7beb..c6fc80e290538e716a1db34372756c6c845e17c0 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata_update_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata_update_controller.js
@@ -5,7 +5,6 @@
/**
* Controller for list contents update.
* @param {!ListContainer} listContainer
- * @param {!DetailsContainer} detailsContainer
* @param {!DirectoryModel} directoryModel
* @param {!MetadataModel} metadataModel
* @param {!FileMetadataFormatter} fileMetadataFormatter
@@ -13,7 +12,6 @@
* @struct
*/
function MetadataUpdateController(listContainer,
- detailsContainer,
directoryModel,
metadataModel,
fileMetadataFormatter) {
@@ -36,12 +34,6 @@ function MetadataUpdateController(listContainer,
this.listContainer_ = listContainer;
/**
- * @private {!DetailsContainer}
- * @const
- */
- this.detailsContainer_ = detailsContainer;
-
- /**
* @private {!FileMetadataFormatter}
* @const
*/
@@ -129,7 +121,6 @@ MetadataUpdateController.prototype.onPreferencesChanged_ = function() {
// TODO(oka): Remove these two lines, and add fileMetadataFormatter to
// constructor for each field instead.
this.listContainer_.table.setDateTimeFormat(use12hourClock);
- this.detailsContainer_.setDateTimeFormat(use12hourClock);
this.refreshCurrentDirectoryMetadata();
}.bind(this));
};

Powered by Google App Engine
This is Rietveld 408576698