Chromium Code Reviews| Index: chrome/browser/resources/md_history/app.js |
| diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js |
| index 9ccc9ceccbf6ecf897375e57b03058517e9ceae6..0b64b6b25add74f4087da16b3ea65452ff46f06e 100644 |
| --- a/chrome/browser/resources/md_history/app.js |
| +++ b/chrome/browser/resources/md_history/app.js |
| @@ -214,6 +214,15 @@ Polymer({ |
| }, |
| /** |
| + * Called when browsing data is cleared. |
| + */ |
| + historyDeleted: function() { |
| + this.$['history'].clearingHistory(); |
|
tsergeant
2016/08/17 06:58:28
Nit: this.$.history
lshang
2016/08/18 08:41:54
Done.
|
| + // Call into list-container to restore search state. |
| + this.$['history'].queryHistory(false); |
|
tsergeant
2016/08/17 06:58:28
Maybe move this call into the clearHistory() metho
lshang
2016/08/18 08:41:54
Done.
|
| + }, |
| + |
| + /** |
| * Update sign in state of synced device manager after user logs in or out. |
| * @param {boolean} isUserSignedIn |
| */ |