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

Side by Side Diff: chrome/browser/resources/md_downloads/item.html

Issue 1375333004: MD Downloads: use <iron-list> to render download items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iron-list2
Patch Set: merge Created 5 years, 2 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/iron-icon/iron-icon.htm l"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
10 <link rel="import" href="chrome://downloads/action_service.html"> 10 <link rel="import" href="chrome://downloads/action_service.html">
11 <link rel="import" href="chrome://downloads/constants.html"> 11 <link rel="import" href="chrome://downloads/constants.html">
12 <link rel="import" href="chrome://downloads/throttled_icon_loader.html">
13 12
14 <dom-module id="downloads-item"> 13 <dom-module id="downloads-item">
15 <template> 14 <template>
16 <template is="dom-if" if="[[!hideDate]]"> 15 <template is="dom-if" if="[[!hideDate]]">
17 <h3 id="date">[[computeDate_(hideDate, data.since_string, data.date_string )]]</h3> 16 <h3 id="date">[[computeDate_(hideDate, data.since_string, data.date_string )]]</h3>
18 </template> 17 </template>
19 18
20 <div id="content" on-dragstart="onDragStart_" 19 <div id="content" on-dragstart="onDragStart_"
21 class$="[[computeClass_(isActive_, isDangerous_, showProgress_)]]"> 20 class$="[[computeClass_(isActive_, isDangerous_, showProgress_)]]">
22 <div id="file-icon-wrapper" class="icon-wrapper"> 21 <div id="file-icon-wrapper" class="icon-wrapper">
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 <div id="incognito" i18n-values="title:inIncognito" 100 <div id="incognito" i18n-values="title:inIncognito"
102 hidden="[[!data.otr]]"></div> 101 hidden="[[!data.otr]]"></div>
103 </div> 102 </div>
104 103
105 </template> 104 </template>
106 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> 105 <link rel="import" type="css" href="chrome://resources/css/action_link.css">
107 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> 106 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
108 <link rel="import" type="css" href="chrome://downloads/item.css"> 107 <link rel="import" type="css" href="chrome://downloads/item.css">
109 <script src="chrome://downloads/item.js"></script> 108 <script src="chrome://downloads/item.js"></script>
110 </dom-module> 109 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698