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

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

Issue 1013833003: Show Pages in chrome://md-settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jlklein's feedback 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
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/core-label/core-label.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 "> 3 <link rel="import" href="chrome://resources/polymer/paper-input/paper-input.html ">
4 <link rel="import" href="chrome://resources/polymer/paper-shadow/paper-shadow.ht ml">
4 <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button. 5 <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.
5 html"> 6 html">
6 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox. 7 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox.
7 html"> 8 html">
8 <link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html"> 9 <link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
9 10
10 <polymer-element name="cr-settings-downloads-page" layout vertical> 11 <polymer-element name="cr-settings-downloads-page">
11 <template> 12 <template>
13 <link rel="stylesheet" href="chrome://md-settings/settings_page/settings_pag e.css">
12 <link rel="stylesheet" href="downloads_page.css"> 14 <link rel="stylesheet" href="downloads_page.css">
13 <div horizontal layout center> 15 <paper-shadow layout vertical cross-fade>
14 <core-label horizontal layout center> 16 <cr-settings-page-header page="{{}}"></cr-settings-page-header>
15 <span class="location-label">Download location:</span> 17 <div horizontal layout center>
16 <cr-input id="downloadsPath" floatingLabel="false" 18 <core-label horizontal layout center>
17 value="{{prefs.settings.download.defaultDirectory}}" readonly for> 19 <span class="location-label">Download location:</span>
18 </cr-input> 20 <cr-input id="downloadsPath" floatingLabel="false"
21 value="{{prefs.settings.download.defaultDirectory}}" readonly for>
22 </cr-input>
23 </core-label>
24 <cr-button id="changeDownloadsPath"
25 on-click="{{selectDownloadLocation}}">Change</cr-button>
26 </div>
27 <core-label horizontal layout>
28 <cr-checkbox checked="{{prefs.settings.download.promptForDownload}}" for >
29 </cr-checkbox>
30 <span>Ask where to save each file before downloading</span>
19 </core-label> 31 </core-label>
20 <cr-button id="changeDownloadsPath" 32 </paper-shadow>
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> 33 </template>
29 <script src="downloads_page.js"></script> 34 <script src="downloads_page.js"></script>
30 </polymer-element> 35 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698