mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
LibWeb: Support Document.hidden and Document.visibilityState
These just act as if the document is always visible for now.
This commit is contained in:
parent
484f6a7cfa
commit
e26e85a3d2
Notes:
sideshowbarker
2024-07-18 03:24:18 +09:00
Author: https://github.com/awesomekling
Commit: e26e85a3d2
3 changed files with 18 additions and 0 deletions
|
@ -298,6 +298,9 @@ public:
|
|||
bool page_showing() const { return m_page_showing; }
|
||||
void set_page_showing(bool value) { m_page_showing = value; }
|
||||
|
||||
bool hidden() const;
|
||||
String visibility_state() const;
|
||||
|
||||
private:
|
||||
explicit Document(const AK::URL&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue