summaryrefslogtreecommitdiffstats
path: root/browser/base/content/webrtcIndicator.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /browser/base/content/webrtcIndicator.xhtml
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--browser/base/content/webrtcIndicator.xhtml86
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..f47837774b
--- /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/. -->
+
+<!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="stylesheet" href="chrome://global/skin/global.css" />
+ <link rel="stylesheet" href="chrome://browser/skin/webRTC-indicator.css" />
+
+ <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>