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

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/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <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-material/paper-ma terial.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.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">
esprehn 2015/10/03 05:11:54 Does anything use this now?
Dan Beam 2015/10/04 08:27:08 the pre-Polymer page. I didn't want to move the fi
11 10
12 <dom-module id="downloads-item"> 11 <dom-module id="downloads-item">
13 <template> 12 <template>
14 <template is="dom-if" if="[[!hideDate]]"> 13 <template is="dom-if" if="[[!hideDate]]">
15 <h3 id="date">[[computeDate_(data.since_string, data.date_string)]]</h3> 14 <h3 id="date">[[computeDate_(data.since_string, data.date_string)]]</h3>
16 </template> 15 </template>
17 16
18 <div id="content" on-dragstart="onDragStart_" 17 <div id="content" on-dragstart="onDragStart_"
19 class$="[[computeClass_(isActive_, isDangerous_, showProgress_)]]"> 18 class$="[[computeClass_(isActive_, isDangerous_, showProgress_)]]">
20 <div id="file-icon-wrapper" class="icon-wrapper"> 19 <div id="file-icon-wrapper" class="icon-wrapper">
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 <div id="incognito" i18n-values="title:inIncognito" 96 <div id="incognito" i18n-values="title:inIncognito"
98 hidden="[[!data.otr]]"></div> 97 hidden="[[!data.otr]]"></div>
99 </div> 98 </div>
100 99
101 </template> 100 </template>
102 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> 101 <link rel="import" type="css" href="chrome://resources/css/action_link.css">
103 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> 102 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
104 <link rel="import" type="css" href="chrome://downloads/item.css"> 103 <link rel="import" type="css" href="chrome://downloads/item.css">
105 <script src="chrome://downloads/item.js"></script> 104 <script src="chrome://downloads/item.js"></script>
106 </dom-module> 105 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698