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

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-progress/paper-pr ogress.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
9 <link rel="import" href="chrome://downloads/action_service.html"> 9 <link rel="import" href="chrome://downloads/action_service.html">
10 <link rel="import" href="chrome://downloads/constants.html"> 10 <link rel="import" href="chrome://downloads/constants.html">
11 <link rel="import" href="chrome://downloads/throttled_icon_loader.html">
12 11
13 <dom-module id="downloads-item"> 12 <dom-module id="downloads-item">
14 <template> 13 <template>
15 <template is="dom-if" if="[[!hideDate]]"> 14 <template is="dom-if" if="[[!hideDate]]">
16 <h3 id="date">[[computeDate_(hideDate, data.since_string, data.date_string )]]</h3> 15 <h3 id="date">[[computeDate_(hideDate, data.since_string, data.date_string )]]</h3>
17 </template> 16 </template>
18 17
19 <div id="content" on-dragstart="onDragStart_" 18 <div id="content" on-dragstart="onDragStart_"
20 class$="[[computeClass_(isActive_, isDangerous_, showProgress_)]]"> 19 class$="[[computeClass_(isActive_, isDangerous_, showProgress_)]]">
21 <div id="file-icon-wrapper" class="icon-wrapper"> 20 <div id="file-icon-wrapper" class="icon-wrapper">
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 <div id="incognito" i18n-values="title:inIncognito" 99 <div id="incognito" i18n-values="title:inIncognito"
101 hidden="[[!data.otr]]"></div> 100 hidden="[[!data.otr]]"></div>
102 </div> 101 </div>
103 102
104 </template> 103 </template>
105 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> 104 <link rel="import" type="css" href="chrome://resources/css/action_link.css">
106 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> 105 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
107 <link rel="import" type="css" href="chrome://downloads/item.css"> 106 <link rel="import" type="css" href="chrome://downloads/item.css">
108 <script src="chrome://downloads/item.js"></script> 107 <script src="chrome://downloads/item.js"></script>
109 </dom-module> 108 </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