diff options
Diffstat (limited to '')
-rw-r--r-- | browser/base/content/webrtcIndicator.xhtml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/browser/base/content/webrtcIndicator.xhtml b/browser/base/content/webrtcIndicator.xhtml new file mode 100644 index 0000000000..d466d27f68 --- /dev/null +++ b/browser/base/content/webrtcIndicator.xhtml @@ -0,0 +1,86 @@ +<?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://browser/skin/webRTC-indicator.css" type="text/css"?> + +<!DOCTYPE html> + +<html + xmlns="http://www.w3.org/1999/xhtml" + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + id="webrtcIndicator" + windowtype="Browser:WebRTCGlobalIndicator" + chromemargin="0,0,0,0" +> + <head> + <link rel="localization" href="branding/brand.ftl" /> + <link rel="localization" href="browser/webrtcIndicator.ftl" /> + <title data-l10n-id="webrtc-indicator-title"></title> + <script src="chrome://global/content/customElements.js" /> + <script src="chrome://browser/content/webrtcIndicator.js"></script> + </head> + + <xul:menu + id="webRTC-sharingCamera-menu" + data-l10n-id="webrtc-camera-system-menu" + > + <xul:menupopup type="Camera"> </xul:menupopup> + </xul:menu> + <xul:menu + id="webRTC-sharingMicrophone-menu" + data-l10n-id="webrtc-microphone-system-menu" + > + <xul:menupopup type="Microphone"> </xul:menupopup> + </xul:menu> + <xul:menu + id="webRTC-sharingScreen-menu" + data-l10n-id="webrtc-screen-system-menu" + > + <xul:menupopup type="Screen"> </xul:menupopup> + </xul:menu> + + <body role="alert"> + <div id="drag-indicator" /> + <div id="display-share" class="row-item" role="group" aria-labelledby=""> + <image id="display-share-icon" /> + + <span id="window-share-info" data-l10n-id="webrtc-sharing-window" /> + <span + id="browser-window-share-info" + data-l10n-id="webrtc-sharing-browser-window" + /> + <span id="screen-share-info" data-l10n-id="webrtc-sharing-screen" /> + <button + id="stop-sharing" + class="stop-button" + data-l10n-id="webrtc-stop-sharing-button" + /> + </div> + <div class="row-item separator" /> + <div id="device-share" class="row-item"> + <input + type="checkbox" + id="microphone-mute-toggle" + class="control-icon" + data-l10n-id="webrtc-microphone-unmuted" + /> + <input + type="checkbox" + id="camera-mute-toggle" + class="control-icon" + data-l10n-id="webrtc-camera-unmuted" + /> + </div> + <div class="row-item separator" /> + <div id="window-controls" class="row-item"> + <button + id="minimize" + class="control-icon" + data-l10n-id="webrtc-minimize" + /> + </div> + </body> +</html> |