summaryrefslogtreecommitdiffstats
path: root/browser/components/downloads/content/contentAreaDownloadsView.xhtml
blob: 2ff9deb34d301d20e3ac6f9bb1cd2e3794f52a3d (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
<?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/.

<!DOCTYPE window>

<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="stylesheet" href="chrome://global/skin/global.css" />
    <html:link
      rel="stylesheet"
      href="chrome://browser/content/downloads/contentAreaDownloadsView.css"
    />
    <html:link
      rel="stylesheet"
      href="chrome://browser/skin/downloads/contentAreaDownloadsView.css"
    />
    <html:link
      rel="stylesheet"
      href="chrome://browser/content/downloads/downloads.css"
    />
    <html:link
      rel="stylesheet"
      href="chrome://browser/skin/downloads/allDownloadsView.css"
    />

    <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>