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

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

Issue 884183006: Files.app: Add UI to toggle and clear item selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. 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/ui/file_manager_ui.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js b/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js
index e48bb5f13a4459c3c2a4c6c92a2da5960a24d7c2..7b62e5b5a0da6fa71bf336097c29852242797082 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js
@@ -128,6 +128,14 @@ function FileManagerUI(element, launchParam) {
this.locationLine = null;
/**
+ * The toolbar button to cancel selection.
+ * @type {!HTMLElement}
+ * @const
+ */
+ this.cancelSelectionButton =
+ queryRequiredElement(this.element, '#cancel-selection-button');
+
+ /**
* The label showing how many files are selected.
* @type {!HTMLElement}
* @const

Powered by Google App Engine
This is Rietveld 408576698