mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 14:57:32 +09:00
Issue #2135 - Bug 1430305: Implement ShadowRoot.fullscreenElement
This commit is contained in:
parent
3dfffeaeca
commit
e286eb8adb
10 changed files with 105 additions and 40 deletions
|
|
@ -896,8 +896,6 @@ public:
|
|||
//
|
||||
already_AddRefed<nsSimpleContentList> BlockedTrackingNodes() const;
|
||||
|
||||
static bool IsUnprefixedFullscreenEnabled(JSContext* aCx, JSObject* aObject);
|
||||
|
||||
// Do the "fullscreen element ready check" from the fullscreen spec.
|
||||
// It returns true if the given element is allowed to go into fullscreen.
|
||||
bool FullscreenElementReadyCheck(Element* aElement, bool aWasCallerChrome);
|
||||
|
|
@ -921,11 +919,10 @@ public:
|
|||
void FullScreenStackPop();
|
||||
|
||||
// Returns the top element from the full-screen stack.
|
||||
Element* FullScreenStackTop();
|
||||
Element* FullScreenStackTop() override;
|
||||
|
||||
// DOM-exposed fullscreen API
|
||||
bool FullscreenEnabled() override;
|
||||
Element* GetFullscreenElement() override;
|
||||
|
||||
void RequestPointerLock(Element* aElement) override;
|
||||
bool SetPointerLock(Element* aElement, int aCursorStyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue