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 c3cc51fd65b7f68a3c95e030d3a6b5242003783e..413d75d6211e59a0cf9aefc9b5aeaa3543bd3cf9 100644 |
--- a/chrome/browser/resources/md_history/history_toolbar.js |
+++ b/chrome/browser/resources/md_history/history_toolbar.js |
@@ -63,6 +63,15 @@ Polymer({ |
// The end time of the query range. |
queryEndTime: String, |
+ |
+ // 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'); |
+ }, |
+ }, |
}, |
/** |
@@ -90,6 +99,11 @@ Polymer({ |
searchField.setValue(search); |
}, |
+ /** @private */ |
+ onMenuPromoShown_: function() { |
+ md_history.BrowserService.getInstance().menuPromoShown(); |
+ }, |
+ |
/** |
* @param {!CustomEvent} event |
* @private |