gecko/webapprt/content/getUserMediaDialog.xul

46 lines
1.6 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/" 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>