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

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

Issue 1241363002: Settings Rewrite: Make a common settings-section component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0300-webui-settings-structure
Patch Set: Created 5 years, 5 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/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-input/paper-input .html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html">
5 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html"> 4 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html">
6 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.h tml"> 5 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.h tml">
7 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html"> 6 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
8 7
9 <dom-module id="cr-settings-downloads-page"> 8 <dom-module id="cr-settings-downloads-page">
10 <link rel="import" type="css" href="chrome://md-settings/settings_page/setting s_page.css"> 9 <link rel="import" type="css"
10 href="chrome://md-settings/settings_page/settings_page.css">
11 <link rel="import" type="css" href="downloads_page.css"> 11 <link rel="import" type="css" href="downloads_page.css">
12 <template> 12 <template>
13 <paper-material> 13 <div class="horizontal layout center">
14 <div class="horizontal layout center"> 14 <div class="layout horizontal center">
15 <div class="layout horizontal center"> 15 <div id="locationLabel" i18n-content="downloadLocation"></div>
16 <div id="locationLabel" i18n-content="downloadLocation"></div> 16 <cr-input id="downloadsPath" floating-label="false"
17 <cr-input id="downloadsPath" floating-label="false" 17 value="{{prefs.download.default_directory.value}}"
18 value="{{prefs.download.default_directory.value}}" 18 readonly aria-labelledby="locationLabel">
19 readonly aria-labelledby="locationLabel"> 19 </cr-input>
20 </cr-input>
21 </div>
22 <cr-button id="changeDownloadsPath" on-click="selectDownloadLocation_"
23 i18n-content="changeDownloadLocation">
24 </cr-button>
25 </div> 20 </div>
26 <cr-settings-checkbox pref="{{prefs.download.prompt_for_download}}" 21 <cr-button id="changeDownloadsPath" on-click="selectDownloadLocation_"
27 i18n-values="label:promptForDownload"> 22 i18n-content="changeDownloadLocation">
28 </cr-settings-checkbox> 23 </cr-button>
29 </paper-material> 24 </div>
25 <cr-settings-checkbox pref="{{prefs.download.prompt_for_download}}"
26 i18n-values="label:promptForDownload">
27 </cr-settings-checkbox>
30 </template> 28 </template>
31 <script src="downloads_page.js"></script> 29 <script src="downloads_page.js"></script>
32 </dom-module> 30 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698