<?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/.
 -->

<!-- Modeled on browserRequest used by the OAuth module -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/browserRequest.css" type="text/css"?>

<!DOCTYPE window SYSTEM "chrome://messenger/locale/cloudfile/Box/auth.dtd" >

<window id="boxAuth"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        buttons=","
        onload="onLoad()"
        onclose="reportUserClosed()"
        title="&auth.title;">

  <script type="application/javascript" src="chrome://messenger/content/cloudfile/Box/auth.js"/>

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

  <hbox id="header">
    <hbox id="addressbox" flex="1" disabled="true">
      <image id="security-button"/>
      <description id="headerMessage"/>
    </hbox>
  </hbox>

  <browser type="content"
           disablehistory="true"
           src="about:blank"
           id="requestFrame"
           flex="1"/>

</window>
