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

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

Issue 2221073004: Replace deprecated iron-flex-layout/classes with iron-flex-layout-class in MD Settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.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="/controls/controlled_button.html"> 2 <link rel="import" href="/controls/controlled_button.html">
4 <link rel="import" href="/controls/settings_checkbox.html"> 3 <link rel="import" href="/controls/settings_checkbox.html">
5 <link rel="import" href="/controls/settings_input.html"> 4 <link rel="import" href="/controls/settings_input.html">
6 <link rel="import" href="/settings_shared_css.html"> 5 <link rel="import" href="/settings_shared_css.html">
7 6
8 <dom-module id="settings-downloads-page"> 7 <dom-module id="settings-downloads-page">
9 <template> 8 <template>
10 <style include="settings-shared"> 9 <style include="settings-shared">
11 settings-input { 10 settings-input {
12 /* This ensures that the "Download location" label and the text in the 11 /* This ensures that the "Download location" label and the text in the
(...skipping 12 matching lines...) Expand all
25 <div class="secondary">[[prefs.download.default_directory.value]]</div> 24 <div class="secondary">[[prefs.download.default_directory.value]]</div>
26 </div> 25 </div>
27 <div class="secondary-action"> 26 <div class="secondary-action">
28 <controlled-button class="secondary-button" id="changeDownloadsPath" 27 <controlled-button class="secondary-button" id="changeDownloadsPath"
29 on-tap="selectDownloadLocation_" 28 on-tap="selectDownloadLocation_"
30 pref="[[prefs.download.default_directory]]"> 29 pref="[[prefs.download.default_directory]]">
31 $i18n{changeDownloadLocation} 30 $i18n{changeDownloadLocation}
32 </controlled-button> 31 </controlled-button>
33 </div> 32 </div>
34 </div> 33 </div>
35 <div class="settings-box block"> 34 <div class="settings-box">
36 <settings-checkbox pref="{{prefs.download.prompt_for_download}}" 35 <settings-checkbox pref="{{prefs.download.prompt_for_download}}"
37 label="$i18n{promptForDownload}"> 36 label="$i18n{promptForDownload}">
38 </settings-checkbox> 37 </settings-checkbox>
38 </div>
39 <if expr="chromeos"> 39 <if expr="chromeos">
40 <div class="settings-box continuation">
40 <settings-checkbox pref="{{prefs.gdata.disabled}}" 41 <settings-checkbox pref="{{prefs.gdata.disabled}}"
41 label="$i18n{disconnectGoogleDriveAccount}" 42 label="$i18n{disconnectGoogleDriveAccount}"
42 hidden="[[!pageVisibility.googleDrive]]"> 43 hidden="[[!pageVisibility.googleDrive]]">
43 </settings-checkbox> 44 </settings-checkbox>
44 </if> 45 </if>
45 </div> 46 </div>
dschuyler 2016/08/09 02:24:11 should this close div be moved up two lines? (insi
michaelpg 2016/08/09 02:43:35 yep, great catch!
46 </template> 47 </template>
47 <script src="downloads_page.js"></script> 48 <script src="downloads_page.js"></script>
48 </dom-module> 49 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698