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

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

Issue 2478773002: [MD History] Disable menu button when history deletion is disabled. (Closed)
Patch Set: rebase Created 4 years, 1 month 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/list_container.html
diff --git a/chrome/browser/resources/md_history/list_container.html b/chrome/browser/resources/md_history/list_container.html
index 61df4607d4a97c205cbc2a170aac9ef67a94c526..d28fac588e021723107bdda7d1162104f215e2a2 100644
--- a/chrome/browser/resources/md_history/list_container.html
+++ b/chrome/browser/resources/md_history/list_container.html
@@ -64,6 +64,7 @@
$i18n{moreFromSite}
</paper-item>
<paper-item id="menuRemoveButton" class="menu-item"
+ disabled="[[!canDeleteHistory_()]]"
on-tap="onRemoveFromHistoryTap_">
$i18n{removeFromHistory}
</paper-item>
« no previous file with comments | « chrome/browser/resources/md_history/lazy_load.vulcanized.html ('k') | chrome/browser/resources/md_history/list_container.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698