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

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

Issue 951443002: Files.app: Make delete button on the toolbar standard button instead of CommandButton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add @const for const members of ToolbarController. 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
Index: ui/file_manager/file_manager/foreground/js/file_manager.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js
index 18e244a098f79d2bec2f33a994094e10f7a994d3..8c370c4b77d18ef4fcbac6683b81f37096931dfa 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
@@ -420,12 +420,10 @@ FileManager.prototype = /** @struct */ {
this.directoryModel_,
this.commandHandler);
this.toolbarController_ = new ToolbarController(
- this.ui_.cancelSelectionButton,
- this.ui_.cancelSelectionButtonWrapper,
- this.ui_.filesSelectedLabel,
+ this.ui_.toolbar,
this.ui_.dialogNavigationList,
this.selectionHandler_,
- this.directoryModel_.getFileListSelection());
+ this.directoryModel_);
importer.importEnabled().then(
function(enabled) {

Powered by Google App Engine
This is Rietveld 408576698