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 23c71de7a3bb669a2ba80286ca119425d7803e99..488883af151e1edf47f67d7de2b8ce9bbaf0b895 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 |