| 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/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr
ogress.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr
ogress.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
| 9 <link rel="import" href="chrome://downloads/action_service.html"> | 9 <link rel="import" href="chrome://downloads/action_service.html"> |
| 10 <link rel="import" href="chrome://downloads/constants.html"> | 10 <link rel="import" href="chrome://downloads/constants.html"> |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 Can't have any line breaks. | 251 Can't have any line breaks. |
| 252 --><a is="action-link" id="file-link" href="[[data.url]]" | 252 --><a is="action-link" id="file-link" href="[[data.url]]" |
| 253 on-tap="onFileLinkTap_" | 253 on-tap="onFileLinkTap_" |
| 254 hidden="[[!completelyOnDisk_]]">[[data.file_name]]</a><!-- | 254 hidden="[[!completelyOnDisk_]]">[[data.file_name]]</a><!-- |
| 255 Before #name. | 255 Before #name. |
| 256 --><span id="name" | 256 --><span id="name" |
| 257 hidden="[[completelyOnDisk_]]">[[data.file_name]]</span> | 257 hidden="[[completelyOnDisk_]]">[[data.file_name]]</span> |
| 258 <span id="tag">[[computeTag_(data.state, data.last_reason_text, data.f
ile_externally_removed)]]</span> | 258 <span id="tag">[[computeTag_(data.state, data.last_reason_text, data.f
ile_externally_removed)]]</span> |
| 259 </div> | 259 </div> |
| 260 | 260 |
| 261 <a id="url" target="_blank">[[data.url]]</a> | 261 <a id="url" target="_blank">[[chopUrl_(data.url)]]</a> |
| 262 | 262 |
| 263 <div id="description">[[computeDescription_(data.state, data.danger_type
, data.file_name, data.progress_status_text)]]</div> | 263 <div id="description">[[computeDescription_(data.state, data.danger_type
, data.file_name, data.progress_status_text)]]</div> |
| 264 | 264 |
| 265 <template is="dom-if" if="[[showProgress_]]"> | 265 <template is="dom-if" if="[[showProgress_]]"> |
| 266 <paper-progress id="progress" | 266 <paper-progress id="progress" |
| 267 indeterminate="[[isIndeterminate_(data.percent)]]" | 267 indeterminate="[[isIndeterminate_(data.percent)]]" |
| 268 value="[[data.percent]]"></paper-progress> | 268 value="[[data.percent]]"></paper-progress> |
| 269 </template> | 269 </template> |
| 270 | 270 |
| 271 <div id="safe" class="controls" hidden="[[isDangerous_]]"> | 271 <div id="safe" class="controls" hidden="[[isDangerous_]]"> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 </div> | 318 </div> |
| 319 | 319 |
| 320 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]"> | 320 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]"> |
| 321 </div> | 321 </div> |
| 322 </div> | 322 </div> |
| 323 | 323 |
| 324 </template> | 324 </template> |
| 325 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> | 325 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> |
| 326 <script src="chrome://downloads/item.js"></script> | 326 <script src="chrome://downloads/item.js"></script> |
| 327 </dom-module> | 327 </dom-module> |
| OLD | NEW |