1# This Source Code Form is subject to the terms of the Mozilla Public
2# License, v. 2.0. If a copy of the MPL was not distributed with this
3# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5<!-- General panel -->
6
7<script src="chrome://browser/content/preferences/main.js"/>
8
9#ifdef MOZ_UPDATER
10  <script src="chrome://browser/content/aboutDialog-appUpdater.js"/>
11#endif
12
13<script src="chrome://mozapps/content/preferences/fontbuilder.js"/>
14
15<html:template id="template-paneGeneral">
16<hbox id="generalCategory"
17      class="subcategory"
18      hidden="true"
19      data-category="paneGeneral">
20  <html:h1 data-l10n-id="pane-general-title"/>
21</hbox>
22
23<!-- Startup -->
24<groupbox id="startupGroup"
25          data-category="paneGeneral"
26          hidden="true">
27  <label><html:h2 data-l10n-id="startup-header"/></label>
28
29  <vbox id="startupPageBox">
30    <checkbox id="browserRestoreSession"
31              data-l10n-id="startup-restore-previous-session"/>
32    <hbox class="indent">
33      <checkbox id="browserRestoreSessionQuitWarning"
34                preference="browser.sessionstore.warnOnQuit"
35                disabled="true"
36                data-l10n-id="startup-restore-warn-on-quit"/>
37    </hbox>
38  </vbox>
39
40#ifdef HAVE_SHELL_SERVICE
41  <vbox id="defaultBrowserBox">
42    <checkbox id="alwaysCheckDefault" preference="browser.shell.checkDefaultBrowser"
43              disabled="true"
44              data-l10n-id="always-check-default"/>
45    <stack id="setDefaultPane">
46      <hbox id="isNotDefaultPane" align="center" class="indent">
47        <image class="face-sad"/>
48        <label id="isNotDefaultLabel" flex="1" data-l10n-id="is-not-default"/>
49        <button id="setDefaultButton"
50                is="highlightable-button"
51                class="accessory-button"
52                data-l10n-id="set-as-my-default-browser"
53                preference="pref.general.disable_button.default_browser"/>
54      </hbox>
55      <hbox id="isDefaultPane" align="center" class="indent">
56        <image class="face-smile"/>
57        <label id="isDefaultLabel" flex="1" data-l10n-id="is-default"/>
58      </hbox>
59    </stack>
60  </vbox>
61#endif
62
63</groupbox>
64
65<!-- Tab preferences -->
66<groupbox data-category="paneGeneral"
67          hidden="true">
68    <label><html:h2 data-l10n-id="tabs-group-header"/></label>
69
70    <checkbox id="ctrlTabRecentlyUsedOrder" data-l10n-id="ctrl-tab-recently-used-order"
71              preference="browser.ctrlTab.sortByRecentlyUsed"/>
72
73    <checkbox id="linkTargeting" data-l10n-id="open-new-link-as-tabs"
74              preference="browser.link.open_newwindow"/>
75
76    <checkbox id="warnCloseMultiple" data-l10n-id="warn-on-close-multiple-tabs"
77              preference="browser.tabs.warnOnClose"/>
78
79    <checkbox id="warnOpenMany" data-l10n-id="warn-on-open-many-tabs"
80              preference="browser.tabs.warnOnOpen"/>
81
82    <checkbox id="switchToNewTabs" data-l10n-id="switch-to-new-tabs"
83              preference="browser.tabs.loadInBackground"/>
84
85#ifdef XP_WIN
86    <checkbox id="showTabsInTaskbar" data-l10n-id="show-tabs-in-taskbar"
87              preference="browser.taskbar.previews.enable"/>
88#endif
89
90    <vbox id="browserContainersbox" hidden="true">
91      <hbox id="browserContainersExtensionContent"
92            align="center" class="extension-controlled">
93        <description control="disableContainersExtension" flex="1" />
94        <button id="disableContainersExtension"
95                is="highlightable-button"
96                class="extension-controlled-button accessory-button"
97                data-l10n-id="disable-extension" />
98      </hbox>
99      <hbox align="center">
100        <checkbox id="browserContainersCheckbox"
101                  class="tail-with-learn-more"
102                  data-l10n-id="browser-containers-enabled"
103                  preference="privacy.userContext.enabled"/>
104        <label id="browserContainersLearnMore" is="text-link" class="learnMore" data-l10n-id="browser-containers-learn-more"/>
105        <spacer flex="1"/>
106        <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
107        <hbox>
108          <button id="browserContainersSettings"
109                  is="highlightable-button"
110                  class="accessory-button"
111                  data-l10n-id="browser-containers-settings"
112                  search-l10n-ids="containers-add-button.label,
113                    containers-settings-button.label,
114                    containers-remove-button.label"
115                  />
116        </hbox>
117      </hbox>
118    </vbox>
119</groupbox>
120
121<hbox id="languageAndAppearanceCategory"
122      class="subcategory"
123      hidden="true"
124      data-category="paneGeneral">
125  <html:h1 data-l10n-id="language-and-appearance-header"/>
126</hbox>
127
128<!-- Fonts and Colors -->
129<groupbox id="fontsGroup" data-category="paneGeneral" hidden="true">
130  <label><html:h2 data-l10n-id="fonts-and-colors-header"/></label>
131
132  <hbox id="fontSettings">
133    <hbox align="center" flex="1">
134      <label control="defaultFont" data-l10n-id="default-font"/>
135      <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
136      <hbox flex="1">
137        <menulist id="defaultFont" flex="1" delayprefsave="true"/>
138      </hbox>
139      <label id="defaultFontSizeLabel" control="defaultFontSize" data-l10n-id="default-font-size"></label>
140      <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
141      <hbox>
142        <menulist id="defaultFontSize" delayprefsave="true">
143          <menupopup>
144            <menuitem value="9" label="9"/>
145            <menuitem value="10" label="10"/>
146            <menuitem value="11" label="11"/>
147            <menuitem value="12" label="12"/>
148            <menuitem value="13" label="13"/>
149            <menuitem value="14" label="14"/>
150            <menuitem value="15" label="15"/>
151            <menuitem value="16" label="16"/>
152            <menuitem value="17" label="17"/>
153            <menuitem value="18" label="18"/>
154            <menuitem value="20" label="20"/>
155            <menuitem value="22" label="22"/>
156            <menuitem value="24" label="24"/>
157            <menuitem value="26" label="26"/>
158            <menuitem value="28" label="28"/>
159            <menuitem value="30" label="30"/>
160            <menuitem value="32" label="32"/>
161            <menuitem value="34" label="34"/>
162            <menuitem value="36" label="36"/>
163            <menuitem value="40" label="40"/>
164            <menuitem value="44" label="44"/>
165            <menuitem value="48" label="48"/>
166            <menuitem value="56" label="56"/>
167            <menuitem value="64" label="64"/>
168            <menuitem value="72" label="72"/>
169          </menupopup>
170        </menulist>
171      </hbox>
172    </hbox>
173
174    <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
175    <hbox>
176      <button id="advancedFonts"
177              is="highlightable-button"
178              class="accessory-button"
179              data-l10n-id="advanced-fonts"
180              search-l10n-ids="
181                fonts-window.title,
182                fonts-langgroup-header,
183                fonts-proportional-size,
184                fonts-proportional-header,
185                fonts-serif,
186                fonts-sans-serif,
187                fonts-monospace,
188                fonts-langgroup-arabic.label,
189                fonts-langgroup-armenian.label,
190                fonts-langgroup-bengali.label,
191                fonts-langgroup-simpl-chinese.label,
192                fonts-langgroup-trad-chinese-hk.label,
193                fonts-langgroup-trad-chinese.label,
194                fonts-langgroup-cyrillic.label,
195                fonts-langgroup-devanagari.label,
196                fonts-langgroup-ethiopic.label,
197                fonts-langgroup-georgian.label,
198                fonts-langgroup-el.label,
199                fonts-langgroup-gujarati.label,
200                fonts-langgroup-gurmukhi.label,
201                fonts-langgroup-japanese.label,
202                fonts-langgroup-hebrew.label,
203                fonts-langgroup-kannada.label,
204                fonts-langgroup-khmer.label,
205                fonts-langgroup-korean.label,
206                fonts-langgroup-latin.label,
207                fonts-langgroup-malayalam.label,
208                fonts-langgroup-math.label,
209                fonts-langgroup-odia.label,
210                fonts-langgroup-sinhala.label,
211                fonts-langgroup-tamil.label,
212                fonts-langgroup-telugu.label,
213                fonts-langgroup-thai.label,
214                fonts-langgroup-tibetan.label,
215                fonts-langgroup-canadian.label,
216                fonts-langgroup-other.label,
217                fonts-minsize,
218                fonts-minsize-none.label,
219                fonts-default-serif.label,
220                fonts-default-sans-serif.label,
221                fonts-allow-own.label,
222              " />
223    </hbox>
224  </hbox>
225  <hbox id="colorsSettings">
226    <spacer flex="1" />
227    <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
228    <hbox>
229      <button id="colors"
230              is="highlightable-button"
231              class="accessory-button"
232              data-l10n-id="colors-settings"
233              search-l10n-ids="
234                colors-page-override,
235                colors-page-override-option-always.label,
236                colors-page-override-option-auto.label,
237                colors-page-override-option-never.label,
238                colors-text-and-background,
239                colors-text-header,
240                colors-background,
241                colors-use-system,
242                colors-underline-links,
243                colors-links-header,
244                colors-unvisited-links,
245                colors-visited-links
246              "/>
247    </hbox>
248  </hbox>
249</groupbox>
250
251<!-- Zoom -->
252<groupbox id="zoomGroup" data-category="paneGeneral" hidden="true">
253  <label><html:h2 data-l10n-id="preferences-zoom-header"/></label>
254
255  <hbox id="zoomBox" align="center" hidden="true">
256    <label control="defaultZoom" data-l10n-id="preferences-default-zoom"/>
257    <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
258    <hbox>
259      <menulist id="defaultZoom">
260        <menupopup/>
261      </menulist>
262    </hbox>
263  </hbox>
264
265  <checkbox id="zoomText"
266    data-l10n-id="preferences-zoom-text-only"/>
267
268</groupbox>
269
270<!-- Languages -->
271<groupbox id="languagesGroup" data-category="paneGeneral" hidden="true">
272  <label><html:h2 data-l10n-id="language-header"/></label>
273
274  <vbox id="browserLanguagesBox" align="start" hidden="true">
275    <description flex="1" controls="chooseBrowserLanguage" data-l10n-id="choose-browser-language-description"/>
276    <hbox>
277      <menulist id="defaultBrowserLanguage">
278        <menupopup/>
279      </menulist>
280      <button id="manageBrowserLanguagesButton"
281              is="highlightable-button"
282              class="accessory-button"
283              data-l10n-id="manage-browser-languages-button"/>
284    </hbox>
285  </vbox>
286  <hbox id="confirmBrowserLanguage" class="message-bar" align="center" hidden="true">
287    <image class="message-bar-icon"/>
288    <vbox class="message-bar-content-container" align="stretch" flex="1"/>
289  </hbox>
290
291  <hbox id="languagesBox" align="center">
292    <description flex="1" control="chooseLanguage" data-l10n-id="choose-language-description"/>
293    <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
294    <hbox>
295      <button id="chooseLanguage"
296              is="highlightable-button"
297              class="accessory-button"
298              data-l10n-id="choose-button"
299              search-l10n-ids="
300                webpage-languages-window.title,
301                languages-description,
302                languages-customize-moveup.label,
303                languages-customize-movedown.label,
304                languages-customize-remove.label,
305                languages-customize-select-language.placeholder,
306                languages-customize-add.label,
307              " />
308    </hbox>
309  </hbox>
310
311  <checkbox id="useSystemLocale" hidden="true"
312            data-l10n-id="use-system-locale"
313            data-l10n-args='{"localeName": "und"}'
314            preference="intl.regional_prefs.use_os_locales"/>
315
316  <hbox id="translationBox" hidden="true">
317    <hbox align="center" flex="1">
318      <checkbox id="translate" preference="browser.translation.detectLanguage"
319                data-l10n-id="translate-web-pages"/>
320      <hbox id="bingAttribution" hidden="true" align="center">
321        <label data-l10n-id="translate-attribution">
322          <html:img id="translationAttributionImage" aria-label="Microsoft Translator"
323            src="chrome://browser/content/microsoft-translator-attribution.png"
324            data-l10n-name="logo"/>
325        </label>
326      </hbox>
327    </hbox>
328    <button id="translateButton"
329            is="highlightable-button"
330            class="accessory-button"
331            data-l10n-id="translate-exceptions"/>
332  </hbox>
333  <checkbox id="checkSpelling"
334          data-l10n-id="check-user-spelling"
335          preference="layout.spellcheckDefault"/>
336</groupbox>
337
338<!-- Files and Applications -->
339<hbox id="filesAndApplicationsCategory"
340      class="subcategory"
341      hidden="true"
342      data-category="paneGeneral">
343  <html:h1 data-l10n-id="files-and-applications-title"/>
344</hbox>
345
346<!--Downloads-->
347<groupbox id="downloadsGroup" data-category="paneGeneral" hidden="true">
348  <label><html:h2 data-l10n-id="download-header"/></label>
349
350  <radiogroup id="saveWhere"
351              preference="browser.download.useDownloadDir">
352    <hbox>
353      <radio id="saveTo"
354             value="true"
355             data-l10n-id="download-save-to"/>
356      <html:input id="downloadFolder"
357                  type="text"
358                  readonly="readonly"
359                  aria-labelledby="saveTo"/>
360      <button id="chooseFolder"
361              is="highlightable-button"
362              class="accessory-button"
363              data-l10n-id="download-choose-folder"/>
364    </hbox>
365    <!-- Additional radio button added to support CloudStorage - Bug 1357171 -->
366    <radio id="saveToCloud"
367           value="true"
368           hidden="true"/>
369    <radio id="alwaysAsk"
370           value="false"
371           data-l10n-id="download-always-ask-where"/>
372  </radiogroup>
373</groupbox>
374
375<groupbox id="applicationsGroup" data-category="paneGeneral" hidden="true">
376  <label><html:h2 data-l10n-id="applications-header"/></label>
377  <description data-l10n-id="applications-description"/>
378  <search-textbox id="filter" flex="1"
379                  data-l10n-id="applications-filter"
380                  data-l10n-attrs="placeholder"
381                  aria-controls="handlersView"/>
382
383  <listheader equalsize="always">
384    <treecol id="typeColumn" data-l10n-id="applications-type-column" value="type"
385             persist="sortDirection"
386             flex="1" sortDirection="ascending"/>
387    <treecol id="actionColumn" data-l10n-id="applications-action-column" value="action"
388             persist="sortDirection"
389             flex="1"/>
390  </listheader>
391  <richlistbox id="handlersView"
392               preference="pref.downloads.disable_button.edit_actions"/>
393</groupbox>
394
395
396<!-- DRM Content -->
397<groupbox id="drmGroup" data-category="paneGeneral" data-subcategory="drm" hidden="true">
398  <label><html:h2 data-l10n-id="drm-content-header"/></label>
399  <hbox align="center">
400    <checkbox id="playDRMContent" preference="media.eme.enabled"
401              class="tail-with-learn-more" data-l10n-id="play-drm-content" />
402    <label id="playDRMContentLink" class="learnMore" data-l10n-id="play-drm-content-learn-more" is="text-link"/>
403  </hbox>
404</groupbox>
405
406<hbox id="updatesCategory"
407      class="subcategory"
408      hidden="true"
409      data-category="paneGeneral">
410  <html:h1 data-l10n-id="update-application-title"/>
411</hbox>
412
413<!-- Update -->
414<groupbox id="updateApp" data-category="paneGeneral" hidden="true">
415  <label class="search-header" hidden="true"><html:h2 data-l10n-id="update-application-title"/></label>
416
417  <label data-l10n-id="update-application-description"/>
418  <hbox align="center">
419    <vbox flex="1">
420      <description id="updateAppInfo">
421        <html:a id="releasenotes" target="_blank" data-l10n-name="learn-more" class="learnMore text-link" hidden="true"/>
422      </description>
423      <description id="distribution" class="text-blurb" hidden="true"/>
424      <description id="distributionId" class="text-blurb" hidden="true"/>
425    </vbox>
426#ifdef MOZ_UPDATER
427    <spacer flex="1"/>
428    <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
429    <vbox>
430      <button id="showUpdateHistory"
431              is="highlightable-button"
432              class="accessory-button"
433              data-l10n-id="update-history"
434              preference="app.update.disable_button.showUpdateHistory"
435              search-l10n-ids="
436                history-title,
437                history-intro
438              "/>
439    </vbox>
440#endif
441  </hbox>
442#ifdef MOZ_UPDATER
443  <vbox id="updateBox">
444    <stack id="updateDeck" orient="vertical">
445      <hbox id="checkForUpdates" align="start">
446        <spacer flex="1"/>
447        <button id="checkForUpdatesButton"
448                is="highlightable-button"
449                data-l10n-id="update-checkForUpdatesButton"/>
450      </hbox>
451      <hbox id="downloadAndInstall" align="start">
452        <spacer flex="1"/>
453        <button id="downloadAndInstallButton"
454                is="highlightable-button"/>
455                <!-- label and accesskey will be filled by JS -->
456      </hbox>
457      <hbox id="apply" align="start">
458        <spacer flex="1"/>
459        <button id="updateButton"
460                is="highlightable-button"
461                data-l10n-id="update-updateButton"/>
462      </hbox>
463      <hbox id="checkingForUpdates" align="start">
464        <image class="update-throbber"/>
465        <label data-l10n-id="update-checkingForUpdates"></label>
466        <spacer flex="1"/>
467        <button data-l10n-id="update-checkForUpdatesButton"
468                is="highlightable-button"
469                disabled="true"/>
470      </hbox>
471      <hbox id="downloading" align="start" data-l10n-id="update-downloading">
472        <html:img class="update-throbber" src="chrome://global/skin/icons/loading.png" data-l10n-name="icon"/>
473        <label id="downloadStatus" data-l10n-name="download-status"/>
474      </hbox>
475      <hbox id="applying" align="start">
476        <image class="update-throbber"/>
477        <label data-l10n-id="update-applying"></label>
478      </hbox>
479      <hbox id="downloadFailed" align="start">
480        <label data-l10n-id="update-failed-main">
481          <html:a id="failedLink" target="_blank" class="learnMore text-link" data-l10n-name="failed-link-main"></html:a>
482        </label>
483        <spacer flex="1"/>
484        <button id="checkForUpdatesButton2"
485                data-l10n-id="update-checkForUpdatesButton"
486                is="highlightable-button"/>
487      </hbox>
488      <hbox id="policyDisabled" align="start">
489        <label data-l10n-id="update-adminDisabled"></label>
490        <spacer flex="1"/>
491        <button data-l10n-id="update-checkForUpdatesButton"
492                is="highlightable-button"
493                disabled="true"/>
494      </hbox>
495      <hbox id="noUpdatesFound" align="start">
496        <image class="face-smile"/>
497        <label data-l10n-id="update-noUpdatesFound"></label>
498        <spacer flex="1"/>
499        <button id="checkForUpdatesButton3"
500                data-l10n-id="update-checkForUpdatesButton"
501                is="highlightable-button"/>
502      </hbox>
503      <hbox id="otherInstanceHandlingUpdates" align="start">
504        <label data-l10n-id="update-otherInstanceHandlingUpdates"></label>
505        <spacer flex="1"/>
506        <button data-l10n-id="update-checkForUpdatesButton"
507                is="highlightable-button"
508                disabled="true"/>
509      </hbox>
510      <hbox id="manualUpdate" align="start">
511        <image class="face-sad"/>
512        <description flex="1" data-l10n-id="update-manual">
513          <label id="manualLink" data-l10n-name="manual-link" is="text-link"/>
514        </description>
515        <spacer flex="1"/>
516        <button data-l10n-id="update-checkForUpdatesButton"
517                is="highlightable-button"
518                disabled="true"/>
519      </hbox>
520      <hbox id="unsupportedSystem" align="start">
521        <description flex="1" data-l10n-id="update-unsupported">
522          <label id="unsupportedLink" class="learnMore" data-l10n-name="unsupported-link" is="text-link"></label>
523        </description>
524        <spacer flex="1"/>
525        <button data-l10n-id="update-checkForUpdatesButton"
526                is="highlightable-button"
527                disabled="true"/>
528      </hbox>
529      <hbox id="restarting" align="start">
530        <image class="update-throbber"/><label data-l10n-id="update-restarting"></label>
531        <spacer flex="1"/>
532        <button data-l10n-id="update-updateButton"
533                is="highlightable-button"
534                disabled="true"/>
535      </hbox>
536    </stack>
537  </vbox>
538#endif
539
540#ifdef MOZ_UPDATER
541  <description id="updateAllowDescription" data-l10n-id="update-application-allow-description"></description>
542  <vbox id="updateSettingsContainer">
543    <radiogroup id="updateRadioGroup">
544      <radio id="autoDesktop"
545             value="true"
546             data-l10n-id="update-application-auto"/>
547#ifdef MOZ_UPDATE_AGENT
548      <checkbox id="backgroundUpdate"
549                class="indent"
550                hidden="true"
551                data-l10n-id="update-application-background-enabled"/>
552#endif
553      <radio id="manualDesktop"
554             value="false"
555             data-l10n-id="update-application-check-choose"/>
556    </radiogroup>
557    <description id="updateSettingCrossUserWarning" hidden="true"
558                 data-l10n-id="update-application-warning-cross-user-setting">
559    </description>
560  </vbox>
561#ifdef MOZ_MAINTENANCE_SERVICE
562  <checkbox id="useService"
563            data-l10n-id="update-application-use-service"
564            preference="app.update.service.enabled"/>
565#endif
566#endif
567</groupbox>
568
569<hbox id="performanceCategory"
570      class="subcategory"
571      hidden="true"
572      data-category="paneGeneral">
573  <html:h1 data-l10n-id="performance-title"/>
574</hbox>
575
576<!-- Performance -->
577<groupbox id="performanceGroup" data-category="paneGeneral" hidden="true">
578  <label class="search-header" hidden="true"><html:h2 data-l10n-id="performance-title"/></label>
579
580  <hbox align="center">
581    <checkbox id="useRecommendedPerformanceSettings"
582              class="tail-with-learn-more"
583              data-l10n-id="performance-use-recommended-settings-checkbox"
584              preference="browser.preferences.defaultPerformanceSettings.enabled"/>
585    <label id="performanceSettingsLearnMore" class="learnMore" data-l10n-id="performance-settings-learn-more" is="text-link"/>
586  </hbox>
587  <description class="indent tip-caption" data-l10n-id="performance-use-recommended-settings-desc"/>
588
589  <vbox id="performanceSettings" class="indent" hidden="true">
590    <checkbox id="allowHWAccel"
591              data-l10n-id="performance-allow-hw-accel"
592              preference="layers.acceleration.disabled"/>
593    <hbox align="center">
594      <label id="limitContentProcess" data-l10n-id="performance-limit-content-process-option" control="contentProcessCount"/>
595      <menulist id="contentProcessCount" preference="dom.ipc.processCount">
596        <menupopup>
597          <menuitem label="1" value="1"/>
598          <menuitem label="2" value="2"/>
599          <menuitem label="3" value="3"/>
600          <menuitem label="4" value="4"/>
601          <menuitem label="5" value="5"/>
602          <menuitem label="6" value="6"/>
603          <menuitem label="7" value="7"/>
604          <menuitem label="8" value="8"/>
605        </menupopup>
606      </menulist>
607    </hbox>
608    <description id="contentProcessCountEnabledDescription" class="tip-caption" data-l10n-id="performance-limit-content-process-enabled-desc"/>
609    <description id="contentProcessCountDisabledDescription" class="tip-caption" data-l10n-id="performance-limit-content-process-blocked-desc">
610      <html:a class="text-link" data-l10n-name="learn-more" href="https://wiki.mozilla.org/Electrolysis"/>
611    </description>
612  </vbox>
613</groupbox>
614
615<hbox id="browsingCategory"
616      class="subcategory"
617      hidden="true"
618      data-category="paneGeneral">
619  <html:h1 data-l10n-id="browsing-title"/>
620</hbox>
621
622<!-- Browsing -->
623<groupbox id="browsingGroup" data-category="paneGeneral" hidden="true">
624  <label class="search-header" hidden="true"><html:h2 data-l10n-id="browsing-title"/></label>
625
626  <checkbox id="useAutoScroll"
627            data-l10n-id="browsing-use-autoscroll"
628            preference="general.autoScroll"/>
629  <checkbox id="useSmoothScrolling"
630            data-l10n-id="browsing-use-smooth-scrolling"
631            preference="general.smoothScroll"/>
632
633#ifdef XP_WIN
634  <checkbox id="useOnScreenKeyboard"
635            hidden="true"
636            data-l10n-id="browsing-use-onscreen-keyboard"
637            preference="ui.osk.enabled"/>
638#endif
639  <checkbox id="useCursorNavigation"
640            data-l10n-id="browsing-use-cursor-navigation"
641            preference="accessibility.browsewithcaret"/>
642  <checkbox id="searchStartTyping"
643            data-l10n-id="browsing-search-on-start-typing"
644            preference="accessibility.typeaheadfind"/>
645  <hbox id="pictureInPictureBox" align="center" hidden="true">
646    <checkbox id="pictureInPictureToggleEnabled"
647            class="tail-with-learn-more"
648            data-l10n-id="browsing-picture-in-picture-toggle-enabled"
649            preference="media.videocontrols.picture-in-picture.video-toggle.enabled"/>
650    <label id="pictureInPictureLearnMore" class="learnMore" data-l10n-id="browsing-picture-in-picture-learn-more" is="text-link"/>
651  </hbox>
652  <hbox id="mediaControlBox" align="center" hidden="true">
653    <checkbox id="mediaControlToggleEnabled"
654            class="tail-with-learn-more"
655            data-l10n-id="browsing-media-control"
656            preference="media.hardwaremediakeys.enabled"/>
657    <label id="mediaControlLearnMore" class="learnMore" data-l10n-id="browsing-media-control-learn-more" is="text-link"/>
658  </hbox>
659  <hbox align="center" data-subcategory="cfraddons">
660    <checkbox id="cfrRecommendations"
661            class="tail-with-learn-more"
662            data-l10n-id="browsing-cfr-recommendations"
663            preference="browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons"/>
664    <label id="cfrLearnMore" class="learnMore" data-l10n-id="browsing-cfr-recommendations-learn-more" is="text-link"/>
665  </hbox>
666  <hbox align="center" data-subcategory="cfrfeatures">
667    <checkbox id="cfrRecommendations-features"
668            class="tail-with-learn-more"
669            data-l10n-id="browsing-cfr-features"
670            preference="browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features"/>
671    <label id="cfrFeaturesLearnMore" class="learnMore" data-l10n-id="browsing-cfr-recommendations-learn-more" is="text-link"/>
672  </hbox>
673</groupbox>
674
675<hbox id="networkProxyCategory"
676      class="subcategory"
677      hidden="true"
678      data-category="paneGeneral">
679  <html:h1 data-l10n-id="network-settings-title"/>
680</hbox>
681
682<!-- Network Settings-->
683<groupbox id="connectionGroup" data-category="paneGeneral" hidden="true">
684  <label class="search-header" hidden="true"><html:h2 data-l10n-id="network-settings-title"/></label>
685
686  <hbox align="center">
687    <hbox align="center" flex="1">
688      <description id="connectionSettingsDescription" control="connectionSettings"/>
689      <spacer width="5"/>
690      <label id="connectionSettingsLearnMore" class="learnMore" is="text-link"
691        data-l10n-id="network-proxy-connection-learn-more">
692      </label>
693      <separator orient="vertical"/>
694    </hbox>
695
696    <!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
697    <hbox>
698      <button id="connectionSettings"
699              is="highlightable-button"
700              class="accessory-button"
701              data-l10n-id="network-proxy-connection-settings"
702              searchkeywords="doh trr"
703              search-l10n-ids="
704                connection-window.title,
705                connection-proxy-option-no.label,
706                connection-proxy-option-auto.label,
707                connection-proxy-option-system.label,
708                connection-proxy-option-manual.label,
709                connection-proxy-http,
710                connection-proxy-https,
711                connection-proxy-http-port,
712                connection-proxy-socks,
713                connection-proxy-socks4,
714                connection-proxy-socks5,
715                connection-proxy-noproxy,
716                connection-proxy-noproxy-desc,
717                connection-proxy-https-sharing.label,
718                connection-proxy-autotype.label,
719                connection-proxy-reload.label,
720                connection-proxy-autologin.label,
721                connection-proxy-socks-remote-dns.label,
722                connection-dns-over-https.label,
723                connection-dns-over-https-url-custom.label,
724            " />
725    </hbox>
726  </hbox>
727</groupbox>
728</html:template>
729