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

Side by Side Diff: chrome/browser/resources/settings/site_settings/pdf_documents.html

Issue 2506803002: [MD settings] label for opening PDF in different application (Closed)
Patch Set: Created 4 years, 1 month 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="/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"></style> 7 <style include="settings-shared">
8 .secondary {
9 margin-top: 0; /* Cancel separation between main and secondary text. */
dschuyler 2016/11/16 00:06:11 Since there is no main text on this secondary text
10 }
11 </style>
8 <div class="settings-box first two-line"> 12 <div class="settings-box first two-line">
9 <div class="start secondary"> 13 <div class="start secondary">
10 $i18n{siteSettingsPdfInBrowser} 14 $i18n{siteSettingsPdfDifferentApplication}
11 </div> 15 </div>
12 <settings-toggle-button id="toggle" checked="{{categoryEnabled}}" 16 <settings-toggle-button id="toggle" checked="{{categoryEnabled}}"
13 inverted on-change="onToggleChange_" 17 on-change="onToggleChange_"
dschuyler 2016/11/16 00:06:11 The setting now matches the way the pref is stored
14 pref="{{prefs.plugins.always_open_pdf_externally}}"> 18 pref="{{prefs.plugins.always_open_pdf_externally}}">
15 </settings-toggle-button> 19 </settings-toggle-button>
16 </div> 20 </div>
17 </template> 21 </template>
18 <script src="pdf_documents.js"></script> 22 <script src="pdf_documents.js"></script>
19 </dom-module> 23 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698