browser/components/preferences/donottrack.xul
author Johann Hofmann <jhofmann@mozilla.com>
Mon, 30 May 2016 12:37:31 +0200
changeset 338649 fae4da38e0b407f53f19f77405ee3b3c4cc33361
parent 314343 6fe85dbddb0cc0b3292f28e8cbc64529c8586939
child 338675 6833ddd73063182bc4569b73cb56787dc1a5863e
permissions -rw-r--r--
Bug 1274712 - Add Tracking Protection info to DNT settings. r=past MozReview-Commit-ID: GKOedxVsUrG

<?xml version="1.0"?>

<!-- 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"?>

<!DOCTYPE prefwindow [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
<!ENTITY % doNotTrackDTD SYSTEM "chrome://browser/locale/preferences/donottrack.dtd">
%brandDTD;
%doNotTrackDTD;
]>

<prefwindow id="DoNotTrackDialog" type="child"
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
            xmlns:html="http://www.w3.org/1999/xhtml"
            title="&window.title;"
            style="width: &window.width;; height: &window.height;;"
            dlgbuttons="accept,cancel">
  <prefpane>
    <preferences>
      <preference id="privacy.donottrackheader.enabled"
                  name="privacy.donottrackheader.enabled"
                  type="bool"/>
    </preferences>
    <hbox align="center" pack="start">
      <!-- Work around focus ring not showing properly. -->
      <spacer style="width: 1em;"/>
      <checkbox label="&doNotTrackCheckbox2.label;"
                accesskey="&doNotTrackCheckbox.accesskey;"
                preference="privacy.donottrackheader.enabled"/>
    </hbox>
    <description flex="1" class="doNotTrackLearnMore">
      &doNotTrackTPInfo.description;
      <label class="text-link"
             value="&doNotTrackLearnMore.label;"
             href="https://www.mozilla.org/dnt"/>
    </description>
  </prefpane>
</prefwindow>