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

Unified Diff: chrome/browser/resources/md_history/history_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
Index: chrome/browser/resources/md_history/history_toolbar.js
diff --git a/chrome/browser/resources/md_history/history_toolbar.js b/chrome/browser/resources/md_history/history_toolbar.js
index 8842be95ef7bd5c11a463be2174ccde058411ef9..882bf037278832d0ed47061e7b92f1f095d0333d 100644
--- a/chrome/browser/resources/md_history/history_toolbar.js
+++ b/chrome/browser/resources/md_history/history_toolbar.js
@@ -67,12 +67,7 @@ Polymer({
// Whether to show the menu promo (a tooltip that points at the menu button
// in narrow mode).
- showMenuPromo_: {
- type: Boolean,
- value: function() {
- return loadTimeData.getBoolean('showMenuPromo');
- },
- },
+ showMenuPromo: Boolean,
},
/** @return {CrToolbarSearchFieldElement} */
@@ -105,11 +100,6 @@ Polymer({
}
},
- /** @private */
- onMenuPromoShown_: function() {
- md_history.BrowserService.getInstance().menuPromoShown();
- },
-
/**
* @param {!CustomEvent} event
* @private

Powered by Google App Engine
This is Rietveld 408576698