Chromium Code Reviews| 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..710861e7568c25fa54f1b31ff74f9422cc25ff73 100644 |
| --- a/chrome/browser/resources/md_history/history_toolbar.js |
| +++ b/chrome/browser/resources/md_history/history_toolbar.js |
| @@ -96,6 +96,10 @@ Polymer({ |
| this.fire('delete-selected'); |
| }, |
| + onFindCommand: function() { |
|
tsergeant
2016/07/05 07:47:22
Since there's nothing about this function that tie
lshang
2016/07/06 05:03:08
Done.
|
| + this.$['main-toolbar'].$['search'].showAndFocus(); |
|
tsergeant
2016/07/05 07:47:22
Use
this.$['main-toolbar'].getSearchField().showA
lshang
2016/07/06 05:03:08
Done. Good point!
|
| + }, |
| + |
| /** |
| * If the user is a supervised user the delete button is not shown. |
| * @private |