diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-03-03 19:52:43 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2023-03-04 21:32:09 +0800 |
commit | 60d420fe715cbdd8e2db5bad0a390312383ca0a3 (patch) | |
tree | 71d77be8a91e7fbf2d58c2f0cca491785e4139a5 /dom/base/nsDocument.h | |
parent | 9e2c43705b62ecd6d1e6271d6072859c73957b34 (diff) | |
download | uxp-60d420fe715cbdd8e2db5bad0a390312383ca0a3.tar.gz |
Issue #2135 - Bug 1430305: Implement ShadowRoot.fullscreenElement
Diffstat (limited to 'dom/base/nsDocument.h')
-rw-r--r-- | dom/base/nsDocument.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h index 010f95ae25..1c10d7b5c3 100644 --- a/dom/base/nsDocument.h +++ b/dom/base/nsDocument.h @@ -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); |