mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-27 02:20:17 +00:00
LibWeb: Avoid including Navigable.h in headers
This greatly reduces how much is recompiled when changing Navigable.h, from >1000 to 82.
This commit is contained in:
parent
7bccd65b4a
commit
eeb5446c1b
Notes:
github-actions[bot]
2025-10-20 09:18:20 +00:00
Author: https://github.com/Lubrsi
Commit: eeb5446c1b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6491
Reviewed-by: https://github.com/AtkinsSJ ✅
55 changed files with 170 additions and 64 deletions
|
|
@ -351,4 +351,18 @@ bool NavigableContainer::currently_delays_the_load_event() const
|
|||
return false;
|
||||
}
|
||||
|
||||
bool NavigableContainer::content_navigable_has_session_history_entry_and_ready_for_navigation() const
|
||||
{
|
||||
if (!content_navigable())
|
||||
return false;
|
||||
return m_content_navigable->has_session_history_entry_and_ready_for_navigation();
|
||||
}
|
||||
|
||||
void NavigableContainer::set_content_navigable_has_session_history_entry_and_ready_for_navigation()
|
||||
{
|
||||
if (!content_navigable())
|
||||
return;
|
||||
content_navigable()->set_has_session_history_entry_and_ready_for_navigation();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue