Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/core-label/core-label.html"> | |
| 3 <link rel="import" href="chrome://resources/polymer/paper-input/paper-input.html "> | |
| 4 <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button. | |
| 5 html"> | |
| 6 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox. | |
| 7 html"> | |
| 8 <link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html"> | |
| 9 | |
| 10 <polymer-element name="cr-settings-downloads-page" layout vertical> | |
| 11 <template> | |
| 12 <link rel="stylesheet" href="downloads_page.css"> | |
| 13 <div horizontal layout center> | |
| 14 <core-label horizontal layout center> | |
| 15 <span class="location-label">Download location:</span> | |
| 16 <cr-input id="downloadsPath" floatingLabel="false" | |
| 17 value="{{prefs.settings.download.defaultDirectory}}" | |
| 18 readonly | |
| 19 for> | |
|
michaelpg
2015/03/09 21:24:08
Why the separate lines?
Oren Blasberg
2015/03/09 21:39:13
Done.
| |
| 20 </cr-input> | |
| 21 </core-label> | |
| 22 <cr-button id="changeDownloadsPath" | |
| 23 on-click="{{selectDownloadLocation}}">Change</cr-button> | |
| 24 </div> | |
| 25 <core-label horizontal layout> | |
| 26 <cr-checkbox checked="{{prefs.settings.download.promptForDownload}}" for> | |
| 27 </cr-checkbox> | |
| 28 <span>Ask where to save each file before downloading</span> | |
| 29 </core-label> | |
| 30 </template> | |
| 31 <script src="downloads_page.js"></script> | |
| 32 </polymer-element> | |
| OLD | NEW |