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

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: 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/cr_elements/cr_button/cr_button. 4 <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.
5 html"> 5 html">
6 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox. 6 <link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox.
7 html"> 7 html">
8 <link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html"> 8 <link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
9 9
10 <polymer-element name="cr-settings-downloads-page" layout vertical> 10 <polymer-element name="cr-settings-downloads-page">
11 <template> 11 <template>
12 <link rel="stylesheet" href="chrome://md-settings/settings_page/settings_pag e.css">
12 <link rel="stylesheet" href="downloads_page.css"> 13 <link rel="stylesheet" href="downloads_page.css">
13 <div horizontal layout center> 14 <section layout vertical cross-fade>
14 <core-label horizontal layout center> 15 <cr-settings-page-header page="{{}}"></cr-settings-page-header>
Kyle Horimoto 2015/03/17 23:53:48 page="{{}}"?
michaelpg 2015/03/18 00:18:00 Like "this". We're giving the cr-settings-page-hea
Kyle Horimoto 2015/03/18 18:29:01 Interesting, I had no idea that you could do this!
15 <span class="location-label">Download location:</span> 16 <div horizontal layout center>
16 <cr-input id="downloadsPath" floatingLabel="false" 17 <core-label horizontal layout center>
17 value="{{prefs.settings.download.defaultDirectory}}" readonly for> 18 <span class="location-label">Download location:</span>
18 </cr-input> 19 <cr-input id="downloadsPath" floatingLabel="false"
20 value="{{prefs.settings.download.defaultDirectory}}" readonly for>
21 </cr-input>
22 </core-label>
23 <cr-button id="changeDownloadsPath"
24 on-click="{{selectDownloadLocation}}">Change</cr-button>
25 </div>
26 <core-label horizontal layout>
27 <cr-checkbox checked="{{prefs.settings.download.promptForDownload}}" for >
28 </cr-checkbox>
29 <span>Ask where to save each file before downloading</span>
19 </core-label> 30 </core-label>
20 <cr-button id="changeDownloadsPath" 31 </section>
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> 32 </template>
29 <script src="downloads_page.js"></script> 33 <script src="downloads_page.js"></script>
30 </polymer-element> 34 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698