diff options
Diffstat (limited to 'browser/base/content/popup-notifications.inc')
-rw-r--r-- | browser/base/content/popup-notifications.inc | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/browser/base/content/popup-notifications.inc b/browser/base/content/popup-notifications.inc new file mode 100644 index 000000000..bdc2d0bd3 --- /dev/null +++ b/browser/base/content/popup-notifications.inc @@ -0,0 +1,81 @@ +# to be included inside a popupset element + + <panel id="notification-popup" + type="arrow" + position="after_start" + hidden="true" + orient="vertical" + noautofocus="true" + role="alert"/> + + <popupnotification id="webRTC-shareDevices-notification" hidden="true"> + <popupnotificationcontent id="webRTC-selectCamera" orient="vertical"> + <label value="&getUserMedia.selectCamera.label;" + accesskey="&getUserMedia.selectCamera.accesskey;" + control="webRTC-selectCamera-menulist"/> + <menulist id="webRTC-selectCamera-menulist"> + <menupopup id="webRTC-selectCamera-menupopup"/> + </menulist> + </popupnotificationcontent> + + <popupnotificationcontent id="webRTC-selectWindowOrScreen" orient="vertical"> + <label id="webRTC-selectWindow-label" + control="webRTC-selectWindow-menulist"/> + <menulist id="webRTC-selectWindow-menulist" + oncommand="webrtcUI.updateMainActionLabel(this);"> + <menupopup id="webRTC-selectWindow-menupopup"/> + </menulist> + <description id="webRTC-all-windows-shared" hidden="true">&getUserMedia.allWindowsShared.message;</description> + </popupnotificationcontent> + + <popupnotificationcontent id="webRTC-preview" hidden="true"> + <html:video id="webRTC-previewVideo"/> + <vbox id="webRTC-previewWarningBox"> + <spacer flex="1"/> + <description id="webRTC-previewWarning"/> + </vbox> + </popupnotificationcontent> + + <popupnotificationcontent id="webRTC-selectMicrophone" orient="vertical"> + <label value="&getUserMedia.selectMicrophone.label;" + accesskey="&getUserMedia.selectMicrophone.accesskey;" + control="webRTC-selectMicrophone-menulist"/> + <menulist id="webRTC-selectMicrophone-menulist"> + <menupopup id="webRTC-selectMicrophone-menupopup"/> + </menulist> + </popupnotificationcontent> + </popupnotification> + + <popupnotification id="servicesInstall-notification" hidden="true"> + <popupnotificationcontent orient="vertical" align="start"> + <!-- XXX bug 974146, tests are looking for this, can't remove yet. --> + </popupnotificationcontent> + </popupnotification> + + <popupnotification id="password-notification" hidden="true"> + <popupnotificationcontent orient="vertical"> + <textbox id="password-notification-username"/> + <textbox id="password-notification-password" type="password" show-content=""/> + <checkbox id="password-notification-visibilityToggle" hidden="true"/> + </popupnotificationcontent> + </popupnotification> + + + <popupnotification id="addon-progress-notification" hidden="true"> + <popupnotificationcontent orient="vertical"> + <progressmeter id="addon-progress-notification-progressmeter"/> + <label id="addon-progress-notification-progresstext" crop="end"/> + </popupnotificationcontent> + <button id="addon-progress-cancel" + oncommand="this.parentNode.cancel();"/> + <button id="addon-progress-accept" disabled="true"/> + </popupnotification> + + <popupnotification id="addon-install-confirmation-notification" hidden="true"> + <popupnotificationcontent id="addon-install-confirmation-content" orient="vertical"/> + <button id="addon-install-confirmation-cancel" + oncommand="PopupNotifications.getNotification('addon-install-confirmation').remove();"/> + <button id="addon-install-confirmation-accept" + oncommand="gXPInstallObserver.acceptInstallation(); + PopupNotifications.getNotification('addon-install-confirmation').remove();"/> + </popupnotification> |