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

Unified Diff: ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js

Issue 2597013002: Run clang-format on ui/webui/resources (Closed)
Patch Set: merge Created 4 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: ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
diff --git a/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js b/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
index 872b4b8e01d2a87f5eee8d2dd59bd228965c838f..413299b9a08e0345c7bf8fa2a600f56c01769c90 100644
--- a/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
+++ b/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
@@ -29,39 +29,23 @@ Polymer({
openAnimationConfig: {
type: Object,
value: function() {
- return [{
- name: 'fade-in-animation',
- timing: {
- delay: 50,
- duration: 200
+ return [
+ {name: 'fade-in-animation', timing: {delay: 50, duration: 200}}, {
+ name: 'paper-menu-grow-width-animation',
+ timing: {delay: 50, duration: 150, easing: SLIDE_CUBIC_BEZIER}
+ },
+ {
+ name: 'paper-menu-grow-height-animation',
+ timing: {delay: 100, duration: 275, easing: SLIDE_CUBIC_BEZIER}
}
- }, {
- name: 'paper-menu-grow-width-animation',
- timing: {
- delay: 50,
- duration: 150,
- easing: SLIDE_CUBIC_BEZIER
- }
- }, {
- name: 'paper-menu-grow-height-animation',
- timing: {
- delay: 100,
- duration: 275,
- easing: SLIDE_CUBIC_BEZIER
- }
- }];
+ ];
}
},
closeAnimationConfig: {
type: Object,
value: function() {
- return [{
- name: 'fade-out-animation',
- timing: {
- duration: 150
- }
- }];
+ return [{name: 'fade-out-animation', timing: {duration: 150}}];
}
}
},

Powered by Google App Engine
This is Rietveld 408576698