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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/action_link.html"> 1 <link rel="import" href="chrome://resources/html/action_link.html">
2 <link rel="import" href="chrome://resources/html/cr.html"> 2 <link rel="import" href="chrome://resources/html/cr.html">
3 <link rel="import" href="chrome://resources/html/load_time_data.html"> 3 <link rel="import" href="chrome://resources/html/load_time_data.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
7 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html"> 7 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html">
8 <link rel="import" href="chrome://downloads/action_service.html"> 8 <link rel="import" href="chrome://downloads/action_service.html">
9 <link rel="import" href="chrome://downloads/constants.html"> 9 <link rel="import" href="chrome://downloads/constants.html">
10 <link rel="import" href="chrome://downloads/throttled_icon_loader.html"> 10 <link rel="import" href="chrome://downloads/throttled_icon_loader.html">
11 11
12 <dom-module id="downloads-item"> 12 <dom-module id="downloads-item">
13 <template> 13 <template>
14 <div id="date-container"> 14 <div id="date-container">
15 <div id="since"></div> 15 <div id="since"></div>
16 <div id="date"></div> 16 <div id="date"></div>
17 </div> 17 </div>
18 18
19 <div id="content-wrapper"> 19 <div id="content-wrapper">
20 <paper-material id="content" on-dragstart="onDragStart_"> 20 <paper-material id="content" on-dragstart="onDragStart_">
21 <div class="icon-wrapper"> 21 <div class="icon-wrapper">
22 <img id="icon" alt=""> 22 <img class="icon" id="file-icon" alt="" hidden="[[isDangerous_]]">
23 <div class="icon" id="warning" hidden="[[!isDangerous_]]"></div>
23 </div> 24 </div>
24 25
25 <div id="details"> 26 <div id="details">
26 <div id="title-area"><!-- Can't have any line breaks. 27 <div id="title-area"><!-- Can't have any line breaks.
27 --><a is="action-link" id="file-link" column-type="name" 28 --><a is="action-link" id="file-link" column-type="name"
28 on-click="onFileLinkClick_"></a><!-- Before #name. 29 on-click="onFileLinkClick_"></a><!-- Before #name.
29 --><span id="name"></span> 30 --><span id="name"></span>
30 <span id="tag"></span> 31 <span id="tag"></span>
31 </div> 32 </div>
32 33
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 </div> 75 </div>
75 76
76 <div id="end-cap"></div> 77 <div id="end-cap"></div>
77 78
78 </template> 79 </template>
79 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> 80 <link rel="import" type="css" href="chrome://resources/css/action_link.css">
80 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> 81 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
81 <link rel="import" type="css" href="chrome://downloads/item.css"> 82 <link rel="import" type="css" href="chrome://downloads/item.css">
82 <script src="chrome://downloads/item.js"></script> 83 <script src="chrome://downloads/item.js"></script>
83 </dom-module> 84 </dom-module>
OLDNEW
« 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