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

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: tweaks 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
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 */
« chrome/browser/resources/md_history/app.js ('K') | « 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