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 13f9c35d6c704424fc288305e4f4d533a484c1ca..d9e85ec15b600f13cc9f29b66a309fdf775c540a 100644 |
--- a/chrome/browser/resources/md_history/history_toolbar.js |
+++ b/chrome/browser/resources/md_history/history_toolbar.js |
@@ -96,6 +96,12 @@ Polymer({ |
this.fire('delete-selected'); |
}, |
+ showSearchField: function() { |
+ /** @type {!CrToolbarElement} */(this.$['main-toolbar']) |
+ .getSearchField() |
+ .showAndFocus(); |
+ }, |
+ |
/** |
* If the user is a supervised user the delete button is not shown. |
* @private |