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

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

Issue 1170913006: Add material design toggle ripple element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove changes to menu_button.js. Created 5 years, 6 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 2dd61692875ae837a854754fb89cfd80c5b05612..5af4cc593750ba15b49edd7a78e67d1133c03ca0 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
@@ -185,6 +185,15 @@ function FileManagerUI(providersModel, element, launchParam) {
'#gear-button', cr.ui.MenuButton);
/**
+ * Ripple effect in gear button.
+ * @type {!FilesToggleRipple}
+ * @const
+ */
+ this.gearButtonToggleRipple =
+ /** @type {!FilesToggleRipple} */ (queryRequiredElement(
+ this.gearButton, 'files-toggle-ripple'));
+
+ /**
* @type {!GearMenu}
* @const
*/

Powered by Google App Engine
This is Rietveld 408576698