webapprt/content/getUserMediaDialog.xul
author Timothy Nikkel <tnikkel@gmail.com>
Fri, 01 Nov 2013 22:47:22 -0500
changeset 153215 a96aea73b2cf2d8954ef06db5748abf70517d9a0
parent 152498 0217f42f106c46f7c967025765bb557f2f0b3e7a
permissions -rw-r--r--
Bug 932419. Stop NS_ASSERT's from popping up a modal dialog in non-release builds, and fix aurora builds to be considered non-release builds for such purposes. r=dao

<?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/" type="text/css"?>

<!DOCTYPE dialog [
<!ENTITY % gum-askDTD SYSTEM "chrome://webapprt/locale/getUserMediaDialog.dtd">
%gum-askDTD;
]>

<dialog id="getUserMediaDialog" title="&getUserMediaDialog.title;"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        buttons="accept,cancel"
        buttonlabelaccept="&getUserMediaDialog.button.accept.label;"
        buttonaccesskeyaccept="&getUserMediaDialog.button.accept.accesskey;"
        onload="onLoad()"
        ondialogaccept="return onOK()"
        buttonlabelcancel="&getUserMediaDialog.button.cancel.label;"
        buttonaccesskeycancel="&getUserMediaDialog.button.cancel.accesskey;">

<script type="application/javascript"
        src="chrome://webapprt/content/getUserMediaDialog.js"/>

  <groupbox id="videoGroup" flex="1">
    <caption label="&getUserMediaDialog.video.label;"/>
    <menulist id="video">
      <menupopup>
        <menuitem label="&getUserMediaDialog.video.noVideo;" value="-1"/>
      </menupopup>
    </menulist>
  </groupbox>

  <groupbox id="audioGroup" flex="1">
    <caption label="&getUserMediaDialog.audio.label;"/>
    <menulist id="audio">
      <menupopup>
        <menuitem label="&getUserMediaDialog.audio.noAudio;" value="-1"/>
      </menupopup>
    </menulist>
  </groupbox>

</dialog>