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"> |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 29 --><span id="name"></span> | 29 --><span id="name"></span> |
| 30 <span id="tag"></span> | 30 <span id="tag"></span> |
| 31 </div> | 31 </div> |
| 32 | 32 |
| 33 <a id="url" target="_blank" column-type="url"></a> | 33 <a id="url" target="_blank" column-type="url"></a> |
| 34 | 34 |
| 35 <div id="description"></div> | 35 <div id="description"></div> |
| 36 | 36 |
| 37 <paper-progress id="progress"></paper-progress> | 37 <paper-progress id="progress"></paper-progress> |
| 38 | 38 |
| 39 <div id="safe" class="controls" hidden$="[[isDangerous_]]"> | 39 <div id="safe" class="controls" hidden$="[[isDangerous_]]"> |
|
Dan Beam
2015/07/31 22:39:51
^
| |
| 40 <cr-button id="show" column-type="show" on-click="onShowClick_" | 40 <cr-button id="show" column-type="show" on-click="onShowClick_" |
| 41 i18n-content="controlShowInFolder"></cr-button> | 41 i18n-content="controlShowInFolder"></cr-button> |
| 42 <cr-button id="retry" column-type="retry" on-click="onRetryClick_" | 42 <cr-button id="retry" column-type="retry" on-click="onRetryClick_" |
| 43 i18n-content="controlRetry"></cr-button> | 43 i18n-content="controlRetry"></cr-button> |
| 44 <cr-button id="pause" column-type="pause" on-click="onPauseClick_" | 44 <cr-button id="pause" column-type="pause" on-click="onPauseClick_" |
| 45 i18n-content="controlPause"></cr-button> | 45 i18n-content="controlPause"></cr-button> |
| 46 <cr-button id="resume" column-type="resume" | 46 <cr-button id="resume" column-type="resume" |
| 47 on-click="onResumeClick_" | 47 on-click="onResumeClick_" |
| 48 i18n-content="controlResume"></cr-button> | 48 i18n-content="controlResume"></cr-button> |
| 49 <cr-button id="cancel" column-type="cancel" | 49 <cr-button id="cancel" column-type="cancel" |
| 50 on-click="onCancelClick_" | 50 on-click="onCancelClick_" |
| 51 i18n-content="controlCancel"></cr-button> | 51 i18n-content="controlCancel"></cr-button> |
| 52 <span id="controlled-by" | 52 <span id="controlled-by" |
| 53 i18n-values=".innerHTML:controlByExtension"></span> | 53 i18n-values=".innerHTML:controlByExtension"></span> |
| 54 </div> | 54 </div> |
| 55 | 55 |
| 56 <div id="dangerous" class="controls" hidden$="[[!isDangerous_]]"> | 56 <div id="dangerous" class="controls" hidden$="[[!isDangerous_]]"> |
|
Dan Beam
2015/07/31 22:39:51
^
| |
| 57 <cr-button column-type="save" i18n-content="dangerRestore" | 57 <cr-button column-type="save" i18n-content="dangerRestore" |
| 58 on-click="onRestoreOrSaveClick_" | 58 on-click="onRestoreOrSaveClick_" |
| 59 hidden$="[[!isMalware_]]"></cr-button> | 59 hidden$="[[!isMalware_]]"></cr-button> |
|
Dan Beam
2015/07/31 22:39:51
^
| |
| 60 <cr-button column-type="save" i18n-content="dangerSave" | 60 <cr-button column-type="save" i18n-content="dangerSave" |
| 61 on-click="onRestoreOrSaveClick_" | 61 on-click="onRestoreOrSaveClick_" |
| 62 hidden$="[[isMalware_]]"></cr-button> | 62 hidden$="[[isMalware_]]"></cr-button> |
|
Dan Beam
2015/07/31 22:39:51
^
| |
| 63 </div> | 63 </div> |
| 64 </div> | 64 </div> |
| 65 | 65 |
| 66 <div id="incognito" class="icon-wrapper" | |
| 67 hidden$="[[!isIncognito_]]"></div> | |
|
tommycli
2015/07/31 22:37:50
$= ?
Dan Beam
2015/07/31 22:39:51
https://www.polymer-project.org/1.0/docs/devguide/
| |
| 68 | |
| 66 <div id="remove-wrapper" class="icon-wrapper"> | 69 <div id="remove-wrapper" class="icon-wrapper"> |
| 67 <paper-icon-button id="remove" column-type="remove" icon="clear" | 70 <paper-icon-button id="remove" column-type="remove" icon="clear" |
| 68 on-click="onRemoveClick_"></paper-icon-button> | 71 on-click="onRemoveClick_"></paper-icon-button> |
| 69 </div> | 72 </div> |
| 70 </paper-material> | 73 </paper-material> |
| 71 </div> | 74 </div> |
| 72 | 75 |
| 73 <div id="end-cap"></div> | 76 <div id="end-cap"></div> |
| 74 | 77 |
| 75 </template> | 78 </template> |
| 76 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> | 79 <link rel="import" type="css" href="chrome://resources/css/action_link.css"> |
| 77 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> | 80 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> |
| 78 <link rel="import" type="css" href="chrome://downloads/item.css"> | 81 <link rel="import" type="css" href="chrome://downloads/item.css"> |
| 79 <script src="chrome://downloads/item.js"></script> | 82 <script src="chrome://downloads/item.js"></script> |
| 80 </dom-module> | 83 </dom-module> |
| OLD | NEW |