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

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

Issue 2450663003: MD History: hide tooltip promo when drawer is swiped open (Closed)
Patch Set: on-lonely="fixUpCode_" Created 4 years, 2 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
« no previous file with comments | « chrome/browser/ui/webui/md_history_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4b607fec117f9488300fa44e4251b4b2ac5d5cd3 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-menu-promo-close');
},
/** @private */
onMenuTap_: function() {
- this.fire('cr-menu-tap');
- this.onClosePromoTap_();
+ this.fire('cr-toolbar-menu-tap');
},
/** @private */
@@ -83,7 +82,7 @@ Polymer({
duration: 500,
fill: 'forwards'
}));
- this.fire('cr-menu-promo-shown');
+ this.fire('cr-toolbar-menu-promo-shown');
}
}.bind(this));
},
« no previous file with comments | « chrome/browser/ui/webui/md_history_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698