| OLD | NEW |
| 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-material/paper-ma
terial.html"> | 5 <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-progress/paper-pr
ogress.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr
ogress.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button
.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"> | 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"> | 10 <link rel="import" href="chrome://downloads/throttled_icon_loader.html"> |
| 11 | 11 |
| 12 <dom-module id="downloads-item"> | 12 <dom-module id="downloads-item"> |
| 13 <template> | 13 <template> |
| 14 <div id="date-container"> | 14 <div id="date-container"> |
| 15 <div id="since"></div> | 15 <div id="since"></div> |
| 16 <div id="date"></div> | 16 <div id="date"></div> |
| 17 </div> | 17 </div> |
| 18 | 18 |
| 19 <paper-material id="content" on-dragstart="onDragStart_"> | 19 <paper-material id="content" on-dragstart="onDragStart_"> |
| 20 <div class="icon-wrapper"> | 20 <div id="file-icon-wrapper" class="icon-wrapper"> |
| 21 <img class="icon" id="file-icon" alt="" hidden="[[isDangerous_]]"> | 21 <img class="icon" id="file-icon" alt="" hidden="[[isDangerous_]]"> |
| 22 <div class="icon" id="warning" hidden="[[!isDangerous_]]"></div> | 22 <div class="icon" id="warning" hidden="[[!isDangerous_]]"></div> |
| 23 </div> | 23 </div> |
| 24 | 24 |
| 25 <div id="details"> | 25 <div id="details"> |
| 26 <div id="title-area"><!-- Can't have any line breaks. | 26 <div id="title-area"><!-- Can't have any line breaks. |
| 27 --><a is="action-link" id="file-link" focus-type="name" | 27 --><a is="action-link" id="file-link" focus-type="name" |
| 28 on-click="onFileLinkClick_"></a><!-- Before #name. | 28 on-click="onFileLinkClick_"></a><!-- Before #name. |
| 29 --><span id="name"></span> | 29 --><span id="name"></span> |
| 30 <span id="tag"></span> | 30 <span id="tag"></span> |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 </paper-material> | 83 </paper-material> |
| 84 | 84 |
| 85 <div id="end-cap"></div> | 85 <div id="end-cap"></div> |
| 86 | 86 |
| 87 </template> | 87 </template> |
| 88 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> | 88 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> |
| 89 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> | 89 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> |
| 90 <link rel="import" type="css" href="chrome://downloads/item.css"> | 90 <link rel="import" type="css" href="chrome://downloads/item.css"> |
| 91 <script src="chrome://downloads/item.js"></script> | 91 <script src="chrome://downloads/item.js"></script> |
| 92 </dom-module> | 92 </dom-module> |
| OLD | NEW |