Chromium Code Reviews| Index: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js |
| diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js |
| index d69e634e6efad675b2df266494ae744f1951f205..198d08c3f6bde16f07be47edc8d8d184786b542e 100644 |
| --- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js |
| +++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js |
| @@ -64,13 +64,12 @@ Polymer({ |
| /** @private */ |
| onClosePromoTap_: function() { |
| - this.showMenuPromo = false; |
| + this.fire('cr-toolbar-promo-close'); |
| }, |
| /** @private */ |
| onMenuTap_: function() { |
| this.fire('cr-menu-tap'); |
|
calamity
2016/10/27 03:20:31
nit: This is a very confusing event name, especial
Dan Beam
2016/10/27 03:42:18
Done.
|
| - this.onClosePromoTap_(); |
| }, |
| /** @private */ |