OLD | NEW |
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"> | 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-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
4 <link rel="import" href="/controls/settings_checkbox.html"> | 4 <link rel="import" href="/controls/settings_checkbox.html"> |
5 <link rel="import" href="/controls/settings_input.html"> | 5 <link rel="import" href="/controls/settings_input.html"> |
6 <link rel="import" href="/settings_shared_css.html"> | 6 <link rel="import" href="/settings_shared_css.html"> |
7 | 7 |
8 <dom-module id="settings-downloads-page"> | 8 <dom-module id="settings-downloads-page"> |
9 <template> | 9 <template> |
10 <style include="settings-shared"> | 10 <style include="settings-shared"> |
(...skipping 19 matching lines...) Expand all Loading... |
30 $i18n{changeDownloadLocation} | 30 $i18n{changeDownloadLocation} |
31 </paper-button> | 31 </paper-button> |
32 </div> | 32 </div> |
33 </div> | 33 </div> |
34 <div class="settings-box block"> | 34 <div class="settings-box block"> |
35 <settings-checkbox pref="{{prefs.download.prompt_for_download}}" | 35 <settings-checkbox pref="{{prefs.download.prompt_for_download}}" |
36 label="$i18n{promptForDownload}"> | 36 label="$i18n{promptForDownload}"> |
37 </settings-checkbox> | 37 </settings-checkbox> |
38 <if expr="chromeos"> | 38 <if expr="chromeos"> |
39 <settings-checkbox pref="{{prefs.gdata.disabled}}" | 39 <settings-checkbox pref="{{prefs.gdata.disabled}}" |
40 label="$i18n{disconnectGoogleDriveAccount}"> | 40 label="$i18n{disconnectGoogleDriveAccount}" |
| 41 hidden="[[!pageVisibility.downloads.googleDrive]]"> |
41 </settings-checkbox> | 42 </settings-checkbox> |
42 </if> | 43 </if> |
43 </div> | 44 </div> |
44 </template> | 45 </template> |
45 <script src="downloads_page.js"></script> | 46 <script src="downloads_page.js"></script> |
46 </dom-module> | 47 </dom-module> |
OLD | NEW |