forked from mirrors/gecko-dev
Move functionality out of XULDocument::AddElementToDocumentPost: 1) Convert all XUL link elements into HTML link elements which have code to handle when they are added to the DOM. 2) Move handling of the end of a linkset element into nsXULElement's DoneAddingChildren callback. 3) Move document direction reset to where the root element is created. Differential Revision: https://phabricator.services.mozilla.com/D19739 --HG-- extra : moz-landing-system : lando
48 lines
1.6 KiB
XML
48 lines
1.6 KiB
XML
<?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/content/safeMode.css"?>
|
|
|
|
<dialog id="safeModeDialog"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
data-l10n-id="safe-mode-window"
|
|
data-l10n-attrs="title,style"
|
|
buttons="accept,extra1"
|
|
buttonidaccept="start-safe-mode"
|
|
buttonidextra1="refresh-profile"
|
|
ondialogaccept="return onDefaultButton()"
|
|
ondialogcancel="onCancel();"
|
|
ondialogextra1="return onExtra1()"
|
|
onload="onLoad()">
|
|
|
|
<linkset>
|
|
<html:link rel="localization" href="branding/brand.ftl"/>
|
|
<html:link rel="localization" href="browser/safeMode.ftl"/>
|
|
</linkset>
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/safeMode.js"/>
|
|
|
|
|
|
<vbox id="autoSafeMode" hidden="true">
|
|
<description data-l10n-id="auto-safe-mode-description"/>
|
|
</vbox>
|
|
|
|
<vbox id="safeMode">
|
|
<label data-l10n-id="safe-mode-description" />
|
|
<separator class="thin"/>
|
|
<label data-l10n-id="safe-mode-description-details" />
|
|
<separator class="thin"/>
|
|
<label id="resetProfileInstead" data-l10n-id="refresh-profile-instead"/>
|
|
</vbox>
|
|
|
|
<vbox id="resetProfile" hidden="true">
|
|
<label data-l10n-id="refresh-profile-instead" />
|
|
</vbox>
|
|
|
|
<separator class="thin"/>
|
|
</dialog>
|