| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 4 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> | 4 <link rel="import" href="chrome://md-settings/controls/settings_checkbox.html"> |
| 5 <link rel="import" href="chrome://md-settings/input/input.html"> | 5 <link rel="import" href="chrome://md-settings/controls/settings_input.html"> |
| 6 | 6 |
| 7 <dom-module id="cr-settings-downloads-page"> | 7 <dom-module id="cr-settings-downloads-page"> |
| 8 <link rel="import" type="css" | 8 <link rel="import" type="css" |
| 9 href="chrome://md-settings/settings_page/settings_page.css"> | 9 href="chrome://md-settings/settings_page/settings_page.css"> |
| 10 <link rel="import" type="css" href="downloads_page.css"> | 10 <link rel="import" type="css" href="downloads_page.css"> |
| 11 <template> | 11 <template> |
| 12 <div class="horizontal layout center"> | 12 <div class="horizontal layout center"> |
| 13 <div class="layout horizontal center"> | 13 <div class="layout horizontal center"> |
| 14 <div id="locationLabel" i18n-content="downloadLocation"></div> | 14 <div id="locationLabel" i18n-content="downloadLocation"></div> |
| 15 <cr-settings-input id="downloadsPath" no-label-float readonly | 15 <settings-input id="downloadsPath" no-label-float readonly |
| 16 pref="{{prefs.download.default_directory}}" | 16 pref="{{prefs.download.default_directory}}" |
| 17 aria-labelledby="locationLabel"> | 17 aria-labelledby="locationLabel"> |
| 18 </cr-settings-input> | 18 </settings-input> |
| 19 </div> | 19 </div> |
| 20 <paper-button id="changeDownloadsPath" on-tap="selectDownloadLocation_" | 20 <paper-button id="changeDownloadsPath" on-tap="selectDownloadLocation_" |
| 21 i18n-content="changeDownloadLocation"> | 21 i18n-content="changeDownloadLocation"> |
| 22 </paper-button> | 22 </paper-button> |
| 23 </div> | 23 </div> |
| 24 <cr-settings-checkbox pref="{{prefs.download.prompt_for_download}}" | 24 <settings-checkbox pref="{{prefs.download.prompt_for_download}}" |
| 25 i18n-values="label:promptForDownload"> | 25 i18n-values="label:promptForDownload"> |
| 26 </cr-settings-checkbox> | 26 </settings-checkbox> |
| 27 </template> | 27 </template> |
| 28 <script src="downloads_page.js"></script> | 28 <script src="downloads_page.js"></script> |
| 29 </dom-module> | 29 </dom-module> |
| OLD | NEW |