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

Unified Diff: chrome/browser/resources/md_history/app.vulcanized.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/app.vulcanized.html
diff --git a/chrome/browser/resources/md_history/app.vulcanized.html b/chrome/browser/resources/md_history/app.vulcanized.html
index 54a544e1f816e7e45628b19b7c8545bfa99d6fae..febda9f84316bc50b70b7c16299ed2f25a8c6da5 100644
--- a/chrome/browser/resources/md_history/app.vulcanized.html
+++ b/chrome/browser/resources/md_history/app.vulcanized.html
@@ -3569,7 +3569,7 @@ dialog .body {
<paper-item id="menuMoreButton" class="menu-item" on-tap="onMoreFromSiteTap_">
$i18n{moreFromSite}
</paper-item>
- <paper-item id="menuRemoveButton" class="menu-item" on-tap="onRemoveFromHistoryTap_">
+ <paper-item id="menuRemoveButton" class="menu-item" disabled="[[!canDeleteHistory_()]]" on-tap="onRemoveFromHistoryTap_">
$i18n{removeFromHistory}
</paper-item>
</cr-shared-menu>
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | chrome/browser/resources/md_history/lazy_load.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698