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

Unified Diff: chrome/browser/resources/md_downloads/item.html

Issue 1302293008: MD Downloads: use computed data binding to hide removal (X) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dom-if2
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/item.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/item.html
diff --git a/chrome/browser/resources/md_downloads/item.html b/chrome/browser/resources/md_downloads/item.html
index 4b0470e08a7cc656bcdea5d3b3464639e3450680..046f0407d64829470326bbd3979b41ba1c946306 100644
--- a/chrome/browser/resources/md_downloads/item.html
+++ b/chrome/browser/resources/md_downloads/item.html
@@ -87,6 +87,7 @@
<div id="remove-wrapper" class="icon-wrapper">
tommycli 2015/09/08 22:45:19 I assume you want to leave a 'space' visually for
Dan Beam 2015/09/08 23:07:35 Yes
<paper-icon-button id="remove" icon="clear"
+ style$="[[computeRemoveStyle_(isDangerous_, showCancel_)]]"
tommycli 2015/09/08 22:45:19 This is called with two parameters, but the Javasc
Dan Beam 2015/09/08 23:07:35 these also act as dependencies as well (e.g. if is
on-click="onRemoveClick_"></paper-icon-button>
</div>
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698