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

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: groby@ review 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
« no previous file with comments | « chrome/browser/resources/md_downloads/item.css ('k') | 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 7539d6d82bbeedef65bc2ed5ddfe36404cc9ce71..98b7fdfcc0a04b42b46449b3a7237b2e371b17f2 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 class="icon" id="file-icon" alt="" hidden="[[isDangerous_]]">
+ <div class="icon" id="warning" hidden="[[!isDangerous_]]"></div>
</div>
<div id="details">
« no previous file with comments | « chrome/browser/resources/md_downloads/item.css ('k') | chrome/browser/resources/md_downloads/item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698