summaryrefslogtreecommitdiffstats
path: root/comm/mail/base/content/browserRequest.xhtml
blob: b9a77766a9771a955f32cfab7b86f98c1a2bfafb (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
<?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" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/tabmail.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/searchBox.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/browserRequest.css" type="text/css"?>

<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd">
%messengerDTD;
]>
<window id="browserRequest"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
        buttons=","
        onload="loadRequestedUrl()"
        onclose="reportUserClosed()"
        title=""
        width="800"
        height="500"
        orient="vertical">
  <popupset id="mainPopupSet">
#define NO_BROWSERCONTEXT
#include widgets/browserPopups.inc.xhtml
  </popupset>

  <script src="chrome://messenger/content/globalOverlay.js"/>
  <script src="chrome://global/content/editMenuOverlay.js"/>
  <script src="chrome://messenger/content/viewZoomOverlay.js"/>
  <script src="chrome://messenger/content/browserRequest.js"/>

  <html:link rel="localization" href="messenger/messenger.ftl"/>

  <keyset id="mainKeyset">
    <key id="key_close" key="w" modifiers="accel" oncommand="cancelRequest()"/>
    <key id="key_close2"  keycode="VK_ESCAPE" oncommand="cancelRequest()"/>
  </keyset>

  <!-- Use the same styling and semantics as content tabs. -->
  <html:div id="header" class="contentTabAddress">
    <html:img id="security-icon" class="contentTabSecurity" />
    <html:input id="headerMessage" class="contentTabUrlInput themeableSearchBox"
                readonly="readonly">
    </html:input>
  </html:div>
  <browser id="requestFrame"
           type="content"
           nodefaultsrc="true"
           maychangeremoteness="true"
           flex="1"
           autocompletepopup="PopupAutoComplete"/>
</window>