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

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

Issue 904403002: Make the position of 'n files selected' label synced with the width of navigation list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set initial width for #cancel-selection-button-wrapper, used before the first relayout event. 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 7b62e5b5a0da6fa71bf336097c29852242797082..7523a6e54de89f8a9b95b82e3b2d4fd28daf98e6 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
@@ -136,6 +136,14 @@ function FileManagerUI(element, launchParam) {
queryRequiredElement(this.element, '#cancel-selection-button');
/**
+ * The wrapper for the toolbar button to cancel selection.
+ * @type {!HTMLElement}
+ * @const
+ */
+ this.cancelSelectionButtonWrapper =
+ queryRequiredElement(this.element, '#cancel-selection-button-wrapper');
+
+ /**
* The label showing how many files are selected.
* @type {!HTMLElement}
* @const
@@ -144,6 +152,14 @@ function FileManagerUI(element, launchParam) {
queryRequiredElement(this.element, '#files-selected-label');
/**
+ * The navigation list.
+ * @type {!HTMLElement}
+ * @const
+ */
+ this.dialogNavigationList =
+ queryRequiredElement(this.element, '.dialog-navigation-list');
+
+ /**
* Search box.
* @type {!SearchBox}
* @const
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/directory_tree.js ('k') | ui/file_manager/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698