summaryrefslogtreecommitdiffstats
path: root/webbrowser/components/preferences/sanitize.xul
blob: 829b5dfc870a197fbb72df014582ffc65063e1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0"?>

<!-- -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- -->
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/"?>
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?> 

<!DOCTYPE dialog [
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  <!ENTITY % sanitizeDTD SYSTEM "chrome://browser/locale/sanitize.dtd">
  %brandDTD;
  %sanitizeDTD;
]>

<prefwindow id="SanitizeDialog" type="child"
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
            dlgbuttons="accept,cancel,help"
            ondialoghelp="openPrefsHelp()"
            style="width: &dialog.width2;;"
            title="&sanitizePrefs2.title;"
            onload="gSanitizeDialog.onClearHistoryChanged();">

  <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
  <script type="application/javascript" src="chrome://browser/content/preferences/sanitize.js"/>

  <prefpane id="SanitizeDialogPane"
            helpTopic="prefs-clear-private-data">

    <preferences>
      <preference id="privacy.clearOnShutdown.history"               name="privacy.clearOnShutdown.history"               type="bool"
                  onchange="return gSanitizeDialog.onClearHistoryChanged();"/>
      <preference id="privacy.clearOnShutdown.formdata"              name="privacy.clearOnShutdown.formdata"              type="bool"/>
      <preference id="privacy.clearOnShutdown.passwords"             name="privacy.clearOnShutdown.passwords"             type="bool"/>
      <preference id="privacy.clearOnShutdown.downloads"             name="privacy.clearOnShutdown.downloads"             type="bool"/>
      <preference id="privacy.clearOnShutdown.cookies"               name="privacy.clearOnShutdown.cookies"               type="bool"/>
      <preference id="privacy.clearOnShutdown.cache"                 name="privacy.clearOnShutdown.cache"                 type="bool"/>
      <preference id="privacy.clearOnShutdown.offlineApps"           name="privacy.clearOnShutdown.offlineApps"           type="bool"/>
      <preference id="privacy.clearOnShutdown.sessions"              name="privacy.clearOnShutdown.sessions"              type="bool"/>
      <preference id="privacy.clearOnShutdown.siteSettings"          name="privacy.clearOnShutdown.siteSettings"          type="bool"/>
      <preference id="privacy.clearOnShutdown.connectivityData"      name="privacy.clearOnShutdown.connectivityData"      type="bool"/>
    </preferences>

    <description>&clearDataSettings2.label;</description>

    <groupbox orient="horizontal">
      <caption label="&historySection.label;"/>
      <grid flex="1">
        <columns>
          <column style="width: &column.width2;"/>
          <column flex="1"/>
        </columns>
        <rows>
          <row>
            <checkbox label="&itemHistoryAndDownloads.label;"
                      accesskey="&itemHistoryAndDownloads.accesskey;"
                      preference="privacy.clearOnShutdown.history"/>
            <checkbox label="&itemCookies.label;"
                      accesskey="&itemCookies.accesskey;"
                      preference="privacy.clearOnShutdown.cookies"/>
          </row>
          <row>
            <checkbox label="&itemActiveLogins.label;"
                      accesskey="&itemActiveLogins.accesskey;"
                      preference="privacy.clearOnShutdown.sessions"/>
            <checkbox label="&itemCache.label;"
                      accesskey="&itemCache.accesskey;"
                      preference="privacy.clearOnShutdown.cache"/>
          </row>
          <row>
            <checkbox label="&itemFormSearchHistory.label;"
                      accesskey="&itemFormSearchHistory.accesskey;"
                      preference="privacy.clearOnShutdown.formdata"/>
          </row>
        </rows>
      </grid>
    </groupbox>
    <groupbox orient="horizontal">
      <caption label="&dataSection.label;"/>
      <grid flex="1">
        <columns>
          <column style="width: &column.width2;"/>
          <column flex="1"/>
        </columns>
        <rows>
          <row>
            <checkbox label="&itemPasswords.label;"
                      accesskey="&itemPasswords.accesskey;"
                      preference="privacy.clearOnShutdown.passwords"/>
            <checkbox label="&itemOfflineApps.label;"
                      accesskey="&itemOfflineApps.accesskey;"
                      preference="privacy.clearOnShutdown.offlineApps"/>
          </row>
          <row>
            <checkbox label="&itemSitePreferences.label;"
                      accesskey="&itemSitePreferences.accesskey;"
                      preference="privacy.clearOnShutdown.siteSettings"/>
            <checkbox label="&itemConnectivityData.label;"
                      accesskey="&itemConnectivityData.accesskey;"
                      preference="privacy.clearOnShutdown.connectivityData"/>
          </row>
        </rows>
      </grid>
    </groupbox>
  </prefpane>
</prefwindow>