Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / resources / md_downloads / item_view.html
blobe057b0fbcffa7d2de7ed8045a0b89dc2044864ea
1 <link rel="import" href="chrome://resources/html/action_link.html">
2 <link rel="import" href="chrome://resources/html/cr.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">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-material.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-progress.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">
9 <link rel="import" href="chrome://downloads/constants.html">
10 <link rel="import" href="chrome://downloads/throttled_icon_loader.html">
12 <dom-module id="downloads-item-view">
13 <template>
14 <div id="date-container">
15 <div id="since"></div>
16 <div id="date"></div>
17 </div>
19 <paper-material id="safe" hidden$="[[isDangerous_]]"
20 on-dragstart="onDragStart_">
21 <div id="safe-icon-wrapper">
22 <img id="safe-icon" alt="">
23 </div>
24 <div id="details">
25 <div id="title-area">
26 <a is="action-link" id="file-link" column-type="name"
27 on-click="onFileLinkClick_"></a>
28 <div id="name"></div>
29 </div>
30 <a id="src-url" target="_blank" column-type="url"></a>
31 <div id="status"></div>
32 <paper-progress id="progress"></paper-progress>
33 <div id="button-container">
34 <cr-button id="show" column-type="show" on-click="onShowClick_"
35 i18n-content="controlShowInFolder"></cr-button>
36 <cr-button id="retry" column-type="retry" on-click="onRetryClick_"
37 i18n-content="controlRetry"></cr-button>
38 <cr-button id="pause" column-type="pause" on-click="onPauseClick_"
39 i18n-content="controlPause"></cr-button>
40 <cr-button id="resume" column-type="resume" on-click="onResumeClick_"
41 i18n-content="controlResume"></cr-button>
42 <cr-button id="cancel" column-type="cancel" on-click="onCancelClick_"
43 i18n-content="controlCancel"></cr-button>
44 <span id="controlled-by"
45 i18n-values=".innerHTML:controlByExtension"></span>
46 </div>
47 </div>
48 <div id="remove-wrapper">
49 <paper-icon-button id="safe-remove" column-type="remove" icon="clear"
50 on-click="onRemoveClick_"
51 i18n-content="controlRemoveFromList"></paper-icon-button>
52 </div>
53 </paper-material>
55 <paper-material id="dangerous" hidden$="[[!isDangerous_]]">
56 <img id="dangerous-icon" alt="">
57 <div id="description"></div>
58 <div id="malware-controls" hidden$="[[!isMalware_]]">
59 <cr-button id="restore" column-type="save"
60 on-click="onRestoreOrSaveClick_"
61 i18n-content="dangerRestore"></cr-button>
62 <cr-button id="dangerous-remove" column-type="discard"
63 on-click="onDangerousRemoveOrDiscardClick_"
64 i18n-content="controlRemoveFromList"></cr-button>
65 </div>
66 <button id="save" column-type="save" i18n-content="dangerSave"
67 on-click="onRestoreOrSaveClick_" hidden$="[[isMalware_]]"></button>
68 <button id="discard" column-type="discard" i18n-content="dangerDiscard"
69 on-click="onDangerousRemoveOrDiscardClick_"
70 hidden$="[[isMalware_]]"></button>
71 </paper-material>
73 <div id="end-cap"></div>
74 </template>
75 <link rel="import" type="css" href="chrome://resources/css/action_link.css">
76 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
77 <link rel="import" type="css" href="chrome://downloads/item_view.css">
78 <script src="chrome://downloads/item_view.js"></script>
79 </dom-module>