summaryrefslogtreecommitdiffstats
path: root/browser/base/content/webrtcIndicator.xhtml
blob: 0d14150daa0bc48d2568a36a17478578dcb8cd36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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>