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 2497db1bdbde186501d92266724742850b638673..519ce625ffaa190f4731c2a15ad1785e50878381 100644 |
| --- a/chrome/browser/resources/md_history/history_item.js |
| +++ b/chrome/browser/resources/md_history/history_item.js |
| @@ -89,5 +89,9 @@ Polymer({ |
| }); |
| // Stops the 'tap' event from closing the menu when it opens. |
| e.stopPropagation(); |
| + }, |
| + |
| + selectionAllowed_: function() { |
| + return !loadTimeData.getBoolean('allowDeletingHistory'); |
|
calamity
2016/01/21 00:11:09
It's sad that this needs to be retrieved twice. Ti
hsampson
2016/01/21 05:34:47
Acknowledged.
|
| } |
| }); |