forked from mirrors/gecko-dev
This overlay was used in two places: places.xul and contentAreaDownloadsView.xul. Move the commandset, menuppop and downloadsRichListBox into include files. Inline the scripts and DTDs. MozReview-Commit-ID: LroiQlRTE2T --HG-- rename : browser/components/downloads/content/allDownloadsViewOverlay.js => browser/components/downloads/content/allDownloadsView.js rename : browser/components/downloads/content/allDownloadsViewOverlay.xul => browser/components/downloads/content/downloadsCommands.inc.xul rename : browser/components/downloads/content/allDownloadsViewOverlay.xul => browser/components/downloads/content/downloadsContextMenu.inc.xul rename : browser/components/downloads/content/allDownloadsViewOverlay.xul => browser/components/downloads/content/downloadsRichListBox.inc.xul rename : browser/themes/linux/downloads/allDownloadsViewOverlay.css => browser/themes/linux/downloads/allDownloadsView.css rename : browser/themes/osx/downloads/allDownloadsViewOverlay.css => browser/themes/osx/downloads/allDownloadsView.css rename : browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css => browser/themes/shared/downloads/allDownloadsView.inc.css rename : browser/themes/windows/downloads/allDownloadsViewOverlay.css => browser/themes/windows/downloads/allDownloadsView.css extra : rebase_source : 978d2ddd1e177374b0fc354ca46f11bfc447fe59
51 lines
2 KiB
XML
51 lines
2 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/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 % downloadsDTD SYSTEM "chrome://browser/locale/downloads/downloads.dtd">
|
|
%downloadsDTD;
|
|
<!ENTITY % editMenuDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
|
|
%editMenuDTD;
|
|
]>
|
|
|
|
<window id="contentAreaDownloadsView"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="&downloads.title;"
|
|
onload="ContentAreaDownloadsView.init();">
|
|
|
|
<script type="application/javascript"
|
|
src="chrome://global/content/globalOverlay.js"/>
|
|
<script type="application/javascript"
|
|
src="chrome://browser/content/downloads/contentAreaDownloadsView.js"/>
|
|
<script type="application/javascript"
|
|
src="chrome://browser/content/downloads/allDownloadsView.js"/>
|
|
<script type="application/javascript"
|
|
src="chrome://global/content/contentAreaUtils.js"/>
|
|
|
|
#include ../../../../toolkit/content/editMenuCommands.inc.xul
|
|
|
|
#include ../../../../toolkit/content/editMenuKeys.inc.xul
|
|
#ifdef XP_MACOSX
|
|
<keyset id="editMenuKeysExtra">
|
|
<key id="key_delete2" keycode="VK_BACK" command="cmd_delete"/>
|
|
</keyset>
|
|
#endif
|
|
|
|
<stack flex="1">
|
|
#include downloadsRichListBox.inc.xul
|
|
<description id="downloadsListEmptyDescription"
|
|
value="&downloadsListEmpty.label;"
|
|
mousethrough="always"/>
|
|
</stack>
|
|
#include downloadsCommands.inc.xul
|
|
#include downloadsContextMenu.inc.xul
|
|
</window>
|