| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/cr.html"> | 1 <link rel="import" href="chrome://resources/html/cr.html"> |
| 2 <link rel="import" href="chrome://resources/html/cr/ui.html"> | 2 <link rel="import" href="chrome://resources/html/cr/ui.html"> |
| 3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> | 3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> |
| 4 <link rel="import" href="chrome://resources/html/polymer.html"> | 4 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 5 <link rel="import" href="chrome://resources/html/util.html"> | 5 <link rel="import" href="chrome://resources/html/util.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> |
| 7 <link rel="import" href="chrome://downloads/action_service.html"> | 7 <link rel="import" href="chrome://downloads/action_service.html"> |
| 8 <link rel="import" href="chrome://downloads/constants.html"> | 8 <link rel="import" href="chrome://downloads/constants.html"> |
| 9 <link rel="import" href="chrome://downloads/i18n_setup.html"> | 9 <link rel="import" href="chrome://downloads/i18n_setup.html"> |
| 10 <link rel="import" href="chrome://downloads/item.html"> | 10 <link rel="import" href="chrome://downloads/item.html"> |
| 11 <link rel="import" href="chrome://downloads/toolbar.html"> | 11 <link rel="import" href="chrome://downloads/toolbar.html"> |
| 12 | 12 |
| 13 <dom-module id="downloads-manager"> | 13 <dom-module id="downloads-manager"> |
| 14 <template> | 14 <template> |
| 15 <link rel="stylesheet" href="chrome://resources/css/md_colors.css"> |
| 16 <style> |
| 17 #toolbar { |
| 18 background: var(--md-toolbar-color); |
| 19 } |
| 20 </style> |
| 15 <downloads-toolbar id="toolbar"></downloads-toolbar> | 21 <downloads-toolbar id="toolbar"></downloads-toolbar> |
| 16 <iron-list id="downloads-list" items="{{items_}}" | 22 <iron-list id="downloads-list" items="{{items_}}" |
| 17 hidden="[[!hasDownloads_]]"> | 23 hidden="[[!hasDownloads_]]"> |
| 18 <template> | 24 <template> |
| 19 <downloads-item data="[[item]]" hide-date="[[item.hideDate]]"> | 25 <downloads-item data="[[item]]" hide-date="[[item.hideDate]]"> |
| 20 </downloads-item> | 26 </downloads-item> |
| 21 </template> | 27 </template> |
| 22 </iron-list> | 28 </iron-list> |
| 23 <div id="no-downloads" hidden="[[hasDownloads_]]"> | 29 <div id="no-downloads" hidden="[[hasDownloads_]]"> |
| 24 <div> | 30 <div> |
| 25 <div class="illustration"></div> | 31 <div class="illustration"></div> |
| 26 <span><!-- Text populated dynamically. --></span> | 32 <span><!-- Text populated dynamically. --></span> |
| 27 </div> | 33 </div> |
| 28 </div> | 34 </div> |
| 29 </template> | 35 </template> |
| 30 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> | 36 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> |
| 31 <link rel="import" type="css" href="chrome://downloads/manager.css"> | 37 <link rel="import" type="css" href="chrome://downloads/manager.css"> |
| 32 <script src="chrome://downloads/manager.js"></script> | 38 <script src="chrome://downloads/manager.js"></script> |
| 33 </dom-module> | 39 </dom-module> |
| OLD | NEW |