Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Side by Side Diff: chrome/browser/resources/settings/downloads_page/downloads_page.html

Issue 988783002: Add an initial implementation of the downloads MD settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to Michael's comments. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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}}" readonly for>
18 </cr-input>
19 </core-label>
20 <cr-button id="changeDownloadsPath"
21 on-click="{{selectDownloadLocation}}">Change</cr-button>
22 </div>
23 <core-label horizontal layout>
24 <cr-checkbox checked="{{prefs.settings.download.promptForDownload}}" for>
25 </cr-checkbox>
26 <span>Ask where to save each file before downloading</span>
27 </core-label>
28 </template>
29 <script src="downloads_page.js"></script>
30 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698