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

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

Issue 1224623013: Port downloads.ItemView to a Polymer component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@p-dl-rough-draft2
Patch Set: more imports Created 5 years, 5 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
(Empty)
1 <dom-module id="item-view">
2 <template>
3 <div id="date-container" hidden$="{{hideDate}}">
4 <div id="since"></div>
5 <div id="date"></div>
6 </div>
7
8 <div id="safe" hidden$="{{isDangerous}}">
9 <div id="progress"></div>
10 <img id="safe-icon" alt="">
11 <div id="title-area">
12 <a is="action-link" id="file-link" column-type="name"></a>
13 <span id="name"></span>
14 <span id="status"></span>
15 </div>
16 <div>
17 <a id="src-url" target="_blank" column-type="url"></a>
18 </div>
19 <div>
20 <a is="action-link" id="show" column-type="show"
21 i18n-content="control_showinfolder"></a>
22 <a id="retry" column-type="retry" i18n-content="control_retry"
23 download></a>
24 <a is="action-link" id="pause" column-type="pause"
25 i18n-content="control_pause"></a>
26 <a is="action-link" id="resume" column-type="resume"
27 i18n-content="control_resume"></a>
28 <a is="action-link" id="safe-remove" column-type="remove"
29 i18n-content="control_removefromlist"></a>
30 <a is="action-link" id="cancel" column-type="cancel"
31 i18n-content="control_cancel"></a>
32 <span id="controlled-by"
33 i18n-values=".innerHTML:control_by_extension"></span>
34 </div>
35 </div>
36
37 <div id="dangerous" hidden$="{{!isDangerous}}">
38 <img id="dangerous-icon" alt="">
39 <div id="description"></div>
40 <div id="malware-controls" hidden$="{{!isMalware}}">
41 <a is="action-link" id="restore" column-type="save"
42 i18n-content="danger_restore"></a>
43 <a is="action-link" id="dangerous-remove" column-type="discard"
44 i18n-content="control_removefromlist"></a>
45 </div>
46 <button id="save" column-type="save" i18n-content="danger_save"
47 hidden$="{{isMalware}}"></button>
48 <button id="discard" column-type="discard" i18n-content="danger_discard"
49 hidden$="{{isMalware}}"></button>
50 </div>
51 </template>
52 <link rel="import" href="chrome://resources/html/cr.html">
53 <link rel="import" href="chrome://resources/html/load_time_data.html">
54 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html" >
michaelpg 2015/07/10 00:56:26 Is there a difference between putting these links
Dan Beam 2015/07/10 01:02:29 ¯\_(ツ)_/¯ https://github.com/Polymer/docs/issues/
55 <link rel="import" href="chrome://downloads/constants.html">
56 <link rel="import" href="chrome://downloads/throttled_icon_loader.html">
57 <script src="chrome://downloads/item_view.js"></script>
58 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/downloads.html ('k') | chrome/browser/resources/md_downloads/item_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698