Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2697)

Unified Diff: chrome/browser/resources/md_history/history_toolbar.html

Issue 1586373002: MD History: Delete button in the toolbar allows deletion of multiple history-items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patch_to_be_uploaded
Patch Set: Rebase. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_history/history_toolbar.html
diff --git a/chrome/browser/resources/md_history/history_toolbar.html b/chrome/browser/resources/md_history/history_toolbar.html
index 7e46840aaecb2f0b335050475f80a812eb09b247..72233d1021c9f542a338599e796b5bff5d5cbf9d 100644
--- a/chrome/browser/resources/md_history/history_toolbar.html
+++ b/chrome/browser/resources/md_history/history_toolbar.html
@@ -66,7 +66,11 @@
<paper-button id="cancel-button" on-tap="onClearSelectionTap_">
CANCEL
</paper-button>
- <paper-button id="delete-button">DELETE</paper-button>
+ <template is="dom-if" if="{{deletingAllowed_()}}">
tsergeant 2016/02/01 22:47:53 When deleting is disabled, you disable selection,
hsampson 2016/02/02 00:45:10 Done.
+ <paper-button id="delete-button" on-tap="onDeleteTap_">
+ DELETE
+ </paper-button>
+ </template>
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698