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 5a3fa265364c27cd8df7618ddb807c0c770451e1..91882e91f0e4cdb2190eabe7f43d16727527be8b 100644 |
| --- a/chrome/browser/resources/md_history/history_item.js |
| +++ b/chrome/browser/resources/md_history/history_item.js |
| @@ -31,7 +31,10 @@ cr.define('md_history', function() { |
| hasTimeGap: {type: Boolean}, |
| - numberOfItems: {type: Number} |
| + numberOfItems: {type: Number}, |
| + |
| + // The path of this history item inside its parent. |
| + path: String, |
| }, |
| /** |
| @@ -41,6 +44,7 @@ cr.define('md_history', function() { |
| */ |
| onCheckboxSelected_: function() { |
| this.fire('history-checkbox-select', { |
|
tsergeant
2016/08/05 01:39:09
I think we should consider making this fire on sel
calamity
2016/08/09 02:56:00
Yeah, I agree. Added a TODO.
|
| + element: this, |
| countAddition: this.$.checkbox.checked ? 1 : -1 |
| }); |
| }, |