Chromium Code Reviews| 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 <div id="content-wrapper"> | 19 <div id="content-wrapper"> |
| 20 <paper-material id="content" on-dragstart="onDragStart_"> | 20 <paper-material id="content" on-dragstart="onDragStart_"> |
| 21 <div class="icon-wrapper"> | 21 <div class="icon-wrapper"> |
| 22 <img id="icon" alt=""> | 22 <img id="icon" alt="" hidden="[[isDangerous_]]"> |
| 23 <div class="warning" hidden="[[!isDangerous_]]"></div> | |
|
groby-ooo-7-16
2015/08/04 00:56:06
Curious - why one image, one div?
Dan Beam
2015/08/04 01:11:20
using <img> without any possibility of setting its
| |
| 23 </div> | 24 </div> |
| 24 | 25 |
| 25 <div id="details"> | 26 <div id="details"> |
| 26 <div id="title-area"><!-- Can't have any line breaks. | 27 <div id="title-area"><!-- Can't have any line breaks. |
| 27 --><a is="action-link" id="file-link" column-type="name" | 28 --><a is="action-link" id="file-link" column-type="name" |
| 28 on-click="onFileLinkClick_"></a><!-- Before #name. | 29 on-click="onFileLinkClick_"></a><!-- Before #name. |
| 29 --><span id="name"></span> | 30 --><span id="name"></span> |
| 30 <span id="tag"></span> | 31 <span id="tag"></span> |
| 31 </div> | 32 </div> |
| 32 | 33 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 74 </div> | 75 </div> |
| 75 | 76 |
| 76 <div id="end-cap"></div> | 77 <div id="end-cap"></div> |
| 77 | 78 |
| 78 </template> | 79 </template> |
| 79 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> | 80 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> |
| 80 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> | 81 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> |
| 81 <link rel="import" type="css" href="chrome://downloads/item.css"> | 82 <link rel="import" type="css" href="chrome://downloads/item.css"> |
| 82 <script src="chrome://downloads/item.js"></script> | 83 <script src="chrome://downloads/item.js"></script> |
| 83 </dom-module> | 84 </dom-module> |
| OLD | NEW |