Files
tubestation/browser/base/content/fullscreen-and-pointerlock.inc.xhtml
Emilio Cobos Álvarez d72d48fdeb Bug 1940698 - Use popover for fullscreen / pointer-lock warning. r=dao,desktop-theme-reviewers,tabbrowser-reviewers
So that it shows on top of the fullscreen <browser> element. Note that
the fullscreen toggler and co doesn't need the same treatment, luckily,
because we only use it for the "firefox fullscreen" mode.

Differential Revision: https://phabricator.services.mozilla.com/D233643
2025-01-10 10:45:27 +00:00

28 lines
1.1 KiB
HTML

# 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/.
<html:div id="fullscreen-warning" class="pointerlockfswarning" popover="manual" hidden="">
<html:div class="pointerlockfswarning-domain-text">
<html:span class="pointerlockfswarning-domain" data-l10n-name="domain"/>
</html:div>
<html:div class="pointerlockfswarning-generic-text"
data-l10n-id="fullscreen-warning-no-domain"></html:div>
<html:button id="fullscreen-exit-button"
#ifdef XP_MACOSX
data-l10n-id="fullscreen-exit-mac-button"
#else
data-l10n-id="fullscreen-exit-button"
#endif
>
</html:button>
</html:div>
<html:div id="pointerlock-warning" class="pointerlockfswarning" popover="manual" hidden="">
<html:div class="pointerlockfswarning-domain-text">
<html:span class="pointerlockfswarning-domain" data-l10n-name="domain"/>
</html:div>
<html:div class="pointerlockfswarning-generic-text"
data-l10n-id="pointerlock-warning-no-domain"></html:div>
</html:div>