Chromium Code Reviews| Index: chrome/browser/resources/md_history/history_item.js |
| diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js |
| index 27c576f2a82a8fc720c2d6d538e2bc7e9ea8f2b0..369393f50c328443ac6a83ecda32b06411fc9cb6 100644 |
| --- a/chrome/browser/resources/md_history/history_item.js |
| +++ b/chrome/browser/resources/md_history/history_item.js |
| @@ -50,6 +50,10 @@ cr.define('md_history', function() { |
| * @private |
| */ |
| onRemoveBookmarkTap_: function() { |
| + if (this.$['bookmark-star'] == this.root.activeElement) { |
|
tsergeant
2016/07/15 04:50:01
Nit: Remove {}
lshang
2016/07/19 07:55:10
Done.
|
| + this.$['menu-button'].focus(); |
| + } |
| + |
| md_history.BrowserService.getInstance() |
| .removeBookmark(this.item.url); |
| this.fire('remove-bookmark-stars', this.item.url); |