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