| 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-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-material/paper-ma
terial.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma
terial.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://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"> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 <div id="details"> | 28 <div id="details"> |
| 29 <div id="title-area"><!-- | 29 <div id="title-area"><!-- |
| 30 Can't have any line breaks. | 30 Can't have any line breaks. |
| 31 --><a is="action-link" id="file-link" href$="[[data_.url]]" | 31 --><a is="action-link" id="file-link" href$="[[data_.url]]" |
| 32 on-click="onFileLinkClick_" | 32 on-click="onFileLinkClick_" |
| 33 hidden$="[[!completelyOnDisk_]]">[[data_.file_name]]</a><!-- | 33 hidden$="[[!completelyOnDisk_]]">[[data_.file_name]]</a><!-- |
| 34 Before #name. | 34 Before #name. |
| 35 --><span id="name" | 35 --><span id="name" |
| 36 hidden$="[[completelyOnDisk_]]">[[data_.file_name]]</span> | 36 hidden$="[[completelyOnDisk_]]">[[data_.file_name]]</span> |
| 37 <span id="tag"></span> | 37 <span id="tag">[[computeTag_(data_.state, data_.last_reason_text, data
_.file_externally_removed)]]</span> |
| 38 </div> | 38 </div> |
| 39 | 39 |
| 40 <a id="url" target="_blank" href$="[[data_.url]]">[[data_.url]]</a> | 40 <a id="url" target="_blank" href$="[[data_.url]]">[[data_.url]]</a> |
| 41 | 41 |
| 42 <div id="description"></div> | 42 <div id="description">[[computeDescription_(data_.state, data_.danger_ty
pe, data_.file_name, data_.progress_status_text)]]</div> |
| 43 | 43 |
| 44 <template is="dom-if" if="[[showProgress_]]"> | 44 <template is="dom-if" if="[[showProgress_]]"> |
| 45 <paper-progress id="progress" | 45 <paper-progress id="progress" |
| 46 indeterminate$="[[isIndeterminate_(data_.percent)]]" | 46 indeterminate$="[[isIndeterminate_(data_.percent)]]" |
| 47 value$="[[data_.percent]]"></paper-progress> | 47 value$="[[data_.percent]]"></paper-progress> |
| 48 </template> | 48 </template> |
| 49 | 49 |
| 50 <div id="safe" class="controls" hidden$="[[isDangerous_]]"> | 50 <div id="safe" class="controls" hidden$="[[isDangerous_]]"> |
| 51 <template is="dom-if" if="[[completelyOnDisk_]]"> | 51 <template is="dom-if" if="[[completelyOnDisk_]]"> |
| 52 <paper-button id="show" on-click="onShowClick_" | 52 <paper-button id="show" on-click="onShowClick_" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 </paper-material> | 103 </paper-material> |
| 104 | 104 |
| 105 <div id="end-cap"></div> | 105 <div id="end-cap"></div> |
| 106 | 106 |
| 107 </template> | 107 </template> |
| 108 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> | 108 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> |
| 109 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> | 109 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> |
| 110 <link rel="import" type="css" href="chrome://downloads/item.css"> | 110 <link rel="import" type="css" href="chrome://downloads/item.css"> |
| 111 <script src="chrome://downloads/item.js"></script> | 111 <script src="chrome://downloads/item.js"></script> |
| 112 </dom-module> | 112 </dom-module> |
| OLD | NEW |