mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Delete unused Document::set_visibility_state()
This commit is contained in:
parent
4853e2ffb1
commit
207f313b4b
Notes:
github-actions[bot]
2025-10-14 09:24:33 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 207f313b4b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6465
2 changed files with 0 additions and 8 deletions
|
@ -3329,11 +3329,6 @@ StringView Document::visibility_state() const
|
||||||
VERIFY_NOT_REACHED();
|
VERIFY_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Document::set_visibility_state(Badge<HTML::BrowsingContext>, HTML::VisibilityState visibility_state)
|
|
||||||
{
|
|
||||||
m_visibility_state = visibility_state;
|
|
||||||
}
|
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/interaction.html#update-the-visibility-state
|
// https://html.spec.whatwg.org/multipage/interaction.html#update-the-visibility-state
|
||||||
void Document::update_the_visibility_state(HTML::VisibilityState visibility_state)
|
void Document::update_the_visibility_state(HTML::VisibilityState visibility_state)
|
||||||
{
|
{
|
||||||
|
|
|
@ -542,9 +542,6 @@ public:
|
||||||
// https://html.spec.whatwg.org/multipage/interaction.html#update-the-visibility-state
|
// https://html.spec.whatwg.org/multipage/interaction.html#update-the-visibility-state
|
||||||
void update_the_visibility_state(HTML::VisibilityState);
|
void update_the_visibility_state(HTML::VisibilityState);
|
||||||
|
|
||||||
// NOTE: This does not fire any events, unlike update_the_visibility_state().
|
|
||||||
void set_visibility_state(Badge<HTML::BrowsingContext>, HTML::VisibilityState);
|
|
||||||
|
|
||||||
void run_the_resize_steps();
|
void run_the_resize_steps();
|
||||||
void run_the_scroll_steps();
|
void run_the_scroll_steps();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue