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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/file_manager.js

Issue 98213003: Files.app: Remove the ButterBar class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/resources/file_manager/foreground/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/file_manager.js b/chrome/browser/resources/file_manager/foreground/js/file_manager.js
index 2b09f2319125758b96e6ea9f605fe51a7a4adda9..36318da2496d4cecbee3c619ede707401d10bfe0 100644
--- a/chrome/browser/resources/file_manager/foreground/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/foreground/js/file_manager.js
@@ -384,10 +384,7 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
this.fileOperationManager_ = FileOperationManagerWrapper.getInstance(
this.backgroundPage_);
- this.butterBar_ = new ButterBar(
- this.dialogDom_, this.fileOperationManager_);
-
- // CopyManager and ButterBar are required for 'Delete' operation in
+ // CopyManager are required for 'Delete' operation in
// Open and Save dialogs. But drag-n-drop and copy-paste are not needed.
if (this.dialogType != DialogType.FULL_PAGE) return;
@@ -2279,8 +2276,6 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
this.filePopup_.contentWindow &&
this.filePopup_.contentWindow.unload)
this.filePopup_.contentWindow.unload(true /* exiting */);
- if (this.butterBar_)
- this.butterBar_.dispose();
if (this.progressCenterPanel_)
this.backgroundPage_.background.progressCenter.removePanel(
this.progressCenterPanel_);

Powered by Google App Engine
This is Rietveld 408576698