| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 <div id="description">[[computeDescription_(data_.state, data_.danger_ty
pe, data_.file_name, data_.progress_status_text)]]</div> | 40 <div id="description">[[computeDescription_(data_.state, data_.danger_ty
pe, data_.file_name, data_.progress_status_text)]]</div> |
| 41 | 41 |
| 42 <template is="dom-if" if="[[showProgress_]]"> | 42 <template is="dom-if" if="[[showProgress_]]"> |
| 43 <paper-progress id="progress" | 43 <paper-progress id="progress" |
| 44 indeterminate$="[[isIndeterminate_(data_.percent)]]" | 44 indeterminate$="[[isIndeterminate_(data_.percent)]]" |
| 45 value$="[[data_.percent]]"></paper-progress> | 45 value$="[[data_.percent]]"></paper-progress> |
| 46 </template> | 46 </template> |
| 47 | 47 |
| 48 <div id="safe" class="controls" hidden$="[[isDangerous_]]"> | 48 <div id="safe" class="controls" hidden$="[[isDangerous_]]"> |
| 49 <template is="dom-if" if="[[completelyOnDisk_]]"> | 49 <a is="action-link" id="show" i18n-content="controlShowInFolder" |
| 50 <paper-button id="show" on-click="onShowClick_" | 50 on-click="onShowClick_" hidden$="[[!completelyOnDisk_]]"></a> |
| 51 lowercase noink>[[i18n_.show]]</paper-button> | |
| 52 </template> | |
| 53 <template is="dom-if" if="[[data_.retry]]"> | 51 <template is="dom-if" if="[[data_.retry]]"> |
| 54 <paper-button id="retry" | 52 <paper-button id="retry" |
| 55 on-click="onRetryClick_">[[i18n_.retry]]</paper-button> | 53 on-click="onRetryClick_">[[i18n_.retry]]</paper-button> |
| 56 </template> | 54 </template> |
| 57 <template is="dom-if" if="[[isInProgress_]]"> | 55 <template is="dom-if" if="[[isInProgress_]]"> |
| 58 <paper-button id="pause" | 56 <paper-button id="pause" |
| 59 on-click="onPauseClick_">[[i18n_.pause]]</paper-button> | 57 on-click="onPauseClick_">[[i18n_.pause]]</paper-button> |
| 60 </template> | 58 </template> |
| 61 <template is="dom-if" if="[[data_.resume]]"> | 59 <template is="dom-if" if="[[data_.resume]]"> |
| 62 <paper-button id="resume" | 60 <paper-button id="resume" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 <div id="incognito" i18n-values="title:inIncognito" | 98 <div id="incognito" i18n-values="title:inIncognito" |
| 101 hidden$="[[!data_.otr]]"></div> | 99 hidden$="[[!data_.otr]]"></div> |
| 102 </paper-material> | 100 </paper-material> |
| 103 | 101 |
| 104 </template> | 102 </template> |
| 105 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> | 103 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> |
| 106 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> | 104 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> |
| 107 <link rel="import" type="css" href="chrome://downloads/item.css"> | 105 <link rel="import" type="css" href="chrome://downloads/item.css"> |
| 108 <script src="chrome://downloads/item.js"></script> | 106 <script src="chrome://downloads/item.js"></script> |
| 109 </dom-module> | 107 </dom-module> |
| OLD | NEW |