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">
14 <div id=
"date-container">
15 <div id=
"since"></div>
19 <div id=
"content-wrapper">
20 <paper-material id=
"content" on-dragstart=
"onDragStart_">
21 <div class=
"icon-wrapper">
22 <img class=
"icon" id=
"file-icon" alt=
"" hidden=
"[[isDangerous_]]">
23 <div class=
"icon" id=
"warning" hidden=
"[[!isDangerous_]]"></div>
27 <div id=
"title-area"><!-- Can't have any line breaks.
28 --><a is=
"action-link" id=
"file-link" column-type=
"name"
29 on-click=
"onFileLinkClick_"></a><!-- Before #name.
30 --><span id=
"name"></span>
31 <span id=
"tag"></span>
34 <a id=
"url" target=
"_blank" column-type=
"url"></a>
36 <div id=
"description"></div>
38 <paper-progress id=
"progress"></paper-progress>
40 <div id=
"safe" class=
"controls" hidden$=
"[[isDangerous_]]">
41 <cr-button id=
"show" column-type=
"show" on-click=
"onShowClick_"
42 i18n-content=
"controlShowInFolder"></cr-button>
43 <cr-button id=
"retry" column-type=
"retry" on-click=
"onRetryClick_"
44 i18n-content=
"controlRetry"></cr-button>
45 <cr-button id=
"pause" column-type=
"pause" on-click=
"onPauseClick_"
46 i18n-content=
"controlPause"></cr-button>
47 <cr-button id=
"resume" column-type=
"resume"
48 on-click=
"onResumeClick_"
49 i18n-content=
"controlResume"></cr-button>
50 <cr-button id=
"cancel" column-type=
"cancel"
51 on-click=
"onCancelClick_"
52 i18n-content=
"controlCancel"></cr-button>
53 <span id=
"controlled-by"
54 i18n-values=
".innerHTML:controlByExtension"></span>
57 <div id=
"dangerous" class=
"controls" hidden$=
"[[!isDangerous_]]">
58 <cr-button column-type=
"save" i18n-content=
"dangerRestore"
59 on-click=
"onRestoreOrSaveClick_"
60 hidden$=
"[[!isMalware_]]"></cr-button>
61 <cr-button column-type=
"save" i18n-content=
"dangerSave"
62 on-click=
"onRestoreOrSaveClick_"
63 hidden$=
"[[isMalware_]]"></cr-button>
67 <div id=
"incognito" class=
"icon-wrapper"
68 hidden$=
"[[!isIncognito_]]"></div>
70 <div id=
"remove-wrapper" class=
"icon-wrapper">
71 <paper-icon-button id=
"remove" column-type=
"remove" icon=
"clear"
72 on-click=
"onRemoveClick_"></paper-icon-button>
77 <div id=
"end-cap"></div>
80 <link rel=
"import" type=
"css" href=
"chrome://resources/css/action_link.css">
81 <link rel=
"import" type=
"css" href=
"chrome://downloads/shared_style.css">
82 <link rel=
"import" type=
"css" href=
"chrome://downloads/item.css">
83 <script src=
"chrome://downloads/item.js"></script>