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="../controls/settings_toggle_button.html"> | 2 <link rel="import" href="../controls/settings_toggle_button.html"> |
3 <link rel="import" href="../settings_shared_css.html"> | 3 <link rel="import" href="../settings_shared_css.html"> |
4 | 4 |
5 <dom-module id="settings-pdf-documents"> | 5 <dom-module id="settings-pdf-documents"> |
6 <template> | 6 <template> |
7 <style include="settings-shared"> | 7 <style include="settings-shared"> |
8 .secondary { | 8 .secondary { |
9 margin-top: 0; /* Cancel separation between main and secondary text. */ | 9 margin-top: 0; /* Cancel separation between main and secondary text. */ |
10 } | 10 } |
11 </style> | 11 </style> |
12 <div class="settings-box first two-line"> | 12 <div class="settings-box first two-line"> |
13 <settings-toggle-button id="toggle" class="start" | 13 <settings-toggle-button id="toggle" class="start" |
14 label="$i18n{siteSettingsPdfDifferentApplication}" | 14 label="$i18n{siteSettingsPdfDownloadPdfs}" |
15 pref="{{prefs.plugins.always_open_pdf_externally}}"> | 15 pref="{{prefs.plugins.always_open_pdf_externally}}"> |
16 </settings-toggle-button> | 16 </settings-toggle-button> |
17 </div> | 17 </div> |
18 </template> | 18 </template> |
19 <script src="pdf_documents.js"></script> | 19 <script src="pdf_documents.js"></script> |
20 </dom-module> | 20 </dom-module> |
OLD | NEW |