fune/browser/components/downloads/content/contentAreaDownloadsView.xhtml
Sam Foster 866fb885cf Bug 1747422 - Rename the allDownloads list box. r=dao
* Having a different id for the container of download items in the download panel vs the all-downloads view (about:downloads and the library/places view) is one of the main reasons we need the %define item, to allow the same included stylesheet to apply to the different markup by virtue of the different selector produced when @item@ is expanded
* As these IDs aren't particularly descriptive, and the distinction isn't meaningful, having each list use the same id allows more direct stylesheet reuse in both places

Differential Revision: https://phabricator.services.mozilla.com/D135399
2022-01-16 10:54:32 +00:00

51 lines
2 KiB
HTML

<?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/global.css"?>
<?xml-stylesheet href="chrome://browser/content/downloads/contentAreaDownloadsView.css"?>
<?xml-stylesheet href="chrome://browser/skin/downloads/contentAreaDownloadsView.css"?>
<?xml-stylesheet href="chrome://browser/content/downloads/downloads.css"?>
<?xml-stylesheet href="chrome://browser/skin/downloads/allDownloadsView.css"?>
<!DOCTYPE window [
<!ENTITY % editMenuDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
%editMenuDTD;
]>
<window id="contentAreaDownloadsView"
data-l10n-id="downloads-window"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
csp="default-src chrome:; img-src chrome: moz-icon:; object-src 'none'">
<linkset>
<html:link rel="localization" href="toolkit/global/textActions.ftl"/>
<html:link rel="localization" href="browser/downloads.ftl" />
</linkset>
<script src="chrome://global/content/globalOverlay.js"/>
<script src="chrome://browser/content/downloads/contentAreaDownloadsView.js"/>
<script src="chrome://browser/content/downloads/allDownloadsView.js"/>
<script src="chrome://global/content/contentAreaUtils.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
#include ../../../../toolkit/content/editMenuKeys.inc.xhtml
#ifdef XP_MACOSX
<keyset id="editMenuKeysExtra">
<key id="key_delete2" keycode="VK_BACK" command="cmd_delete"/>
</keyset>
#endif
<richlistbox flex="1"
seltype="multiple"
id="downloadsListBox"
class="allDownloadsListBox"
context="downloadsContextMenu"/>
<description id="downloadsListEmptyDescription"
data-l10n-id="downloads-list-empty"/>
#include downloadsCommands.inc.xhtml
#include downloadsContextMenu.inc.xhtml
</window>