1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

LibWeb: Remove FrameLoader

This class is no longer used, now that we've moved to navigables.
This commit is contained in:
Andreas Kling 2023-09-19 19:16:50 +02:00
parent 693d602b2f
commit 51caa14381
26 changed files with 47 additions and 458 deletions

View file

@ -52,11 +52,6 @@ void Page::load_html(StringView html)
(void)top_level_traversable()->navigate("about:srcdoc"sv, *top_level_traversable()->active_document(), String::from_utf8(html).release_value_but_fixme_should_propagate_errors());
}
bool Page::has_ongoing_navigation() const
{
return top_level_browsing_context().loader().is_pending();
}
Gfx::Palette Page::palette() const
{
return m_client.palette();

View file

@ -62,8 +62,6 @@ public:
void load_html(StringView);
bool has_ongoing_navigation() const;
CSSPixelPoint device_to_css_point(DevicePixelPoint) const;
DevicePixelPoint css_to_device_point(CSSPixelPoint) const;
CSSPixelRect device_to_css_rect(DevicePixelRect) const;