| Index: ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/main_window_component.js b/ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| index ae1a11d326a1bfa05699de943269799b10a6c762..10aa8d0b3d35906bcce9ed011e824fc7f30c20b4 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| @@ -124,8 +124,6 @@ function MainWindowComponent(
|
| 'pathclick', this.onBreadcrumbClick_.bind(this));
|
| ui.toggleViewButton.addEventListener(
|
| 'click', this.onToggleViewButtonClick_.bind(this));
|
| - ui.detailsButton.addEventListener(
|
| - 'click', this.onDetailsButtonClick_.bind(this));
|
| directoryModel.addEventListener(
|
| 'directory-changed', this.onDirectoryChanged_.bind(this));
|
| volumeManager.addEventListener(
|
| @@ -134,8 +132,6 @@ function MainWindowComponent(
|
| this.onDriveConnectionChanged_();
|
| document.addEventListener('keydown', this.onKeyDown_.bind(this));
|
| document.addEventListener('keyup', this.onKeyUp_.bind(this));
|
| - selectionHandler.addEventListener('change',
|
| - this.onFileSelectionChanged_.bind(this));
|
| }
|
|
|
| /**
|
| @@ -163,17 +159,6 @@ MainWindowComponent.prototype.onFileListFocus_ = function() {
|
| };
|
|
|
| /**
|
| - * Handles file selection event.
|
| - *
|
| - * @private
|
| - */
|
| -MainWindowComponent.prototype.onFileSelectionChanged_ = function(event) {
|
| - if (this.ui_.detailsContainer) {
|
| - this.ui_.detailsContainer.onFileSelectionChanged(event);
|
| - }
|
| -};
|
| -
|
| -/**
|
| * Handles mouse click or tap.
|
| *
|
| * @param {Event} event The click event.
|
| @@ -251,18 +236,6 @@ MainWindowComponent.prototype.onToggleViewButtonClick_ = function(event) {
|
| };
|
|
|
| /**
|
| - * Handles click event on the toggle-view button.
|
| - * @param {Event} event Click event.
|
| - * @private
|
| - */
|
| -MainWindowComponent.prototype.onDetailsButtonClick_ = function(event) {
|
| - var visible = this.ui_.detailsContainer.visible;
|
| - this.ui_.setDetailsVisibility(!visible);
|
| - this.appStateController_.saveViewOptions();
|
| - this.ui_.listContainer.focus();
|
| -};
|
| -
|
| -/**
|
| * KeyDown event handler for the document.
|
| * @param {Event} event Key event.
|
| * @private
|
|
|