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

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

Issue 1268023002: MD downloads: implement real warning icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dl-search-x
Patch Set: Created 5 years, 4 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_downloads/item.html
diff --git a/chrome/browser/resources/md_downloads/item.html b/chrome/browser/resources/md_downloads/item.html
index 7539d6d82bbeedef65bc2ed5ddfe36404cc9ce71..abbfd6d320b2c38bec3ebbc65d84b6c1329c4eb3 100644
--- a/chrome/browser/resources/md_downloads/item.html
+++ b/chrome/browser/resources/md_downloads/item.html
@@ -19,7 +19,8 @@
<div id="content-wrapper">
<paper-material id="content" on-dragstart="onDragStart_">
<div class="icon-wrapper">
- <img id="icon" alt="">
+ <img id="icon" alt="" hidden="[[isDangerous_]]">
+ <div class="warning" hidden="[[!isDangerous_]]"></div>
groby-ooo-7-16 2015/08/04 00:56:06 Curious - why one image, one div?
Dan Beam 2015/08/04 01:11:20 using <img> without any possibility of setting its
</div>
<div id="details">

Powered by Google App Engine
This is Rietveld 408576698