| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 Polymer({ | 5 Polymer({ |
| 6 is: 'history-list-container', | 6 is: 'history-list-container', |
| 7 | 7 |
| 8 properties: { | 8 properties: { |
| 9 // The path of the currently selected page. | 9 // The path of the currently selected page. |
| 10 selectedPage_: String, | 10 selectedPage_: String, |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 } | 272 } |
| 273 }.bind(this)); | 273 }.bind(this)); |
| 274 menu.closeMenu(); | 274 menu.closeMenu(); |
| 275 }, | 275 }, |
| 276 | 276 |
| 277 /** | 277 /** |
| 278 * @return {HTMLElement} | 278 * @return {HTMLElement} |
| 279 * @private | 279 * @private |
| 280 */ | 280 */ |
| 281 getSelectedList_: function() { return this.$.content.selectedItem; }, | 281 getSelectedList_: function() { return this.$.content.selectedItem; }, |
| 282 |
| 283 /** @private */ |
| 284 canDeleteHistory_: function() { |
| 285 return loadTimeData.getBoolean('allowDeletingHistory'); |
| 286 } |
| 282 }); | 287 }); |
| OLD | NEW |