| 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 721e621ac3142c69ce9fc27d7e5ced01f381345a..fe23b4fab35cad632ef88cba05ac232d417122ee 100644
|
| --- a/chrome/browser/resources/md_history/app.js
|
| +++ b/chrome/browser/resources/md_history/app.js
|
| @@ -85,18 +85,8 @@ Polymer({
|
| toolbar.count = 0;
|
| },
|
|
|
| - /**
|
| - * Listens for call to delete all selected items and loops through all items
|
| - * to determine which ones are selected and deletes these.
|
| - */
|
| deleteSelected: function() {
|
| - if (!loadTimeData.getBoolean('allowDeletingHistory'))
|
| - return;
|
| -
|
| - // TODO(hsampson): add a popup to check whether the user definitely
|
| - // wants to delete the selected items.
|
| - /** @type {HistoryListContainerElement} */ (this.$['history'])
|
| - .deleteSelected();
|
| + this.$.history.deleteSelectedWithPrompt();
|
| },
|
|
|
| /**
|
|
|