mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 03:45:07 +00:00
LibWeb: Remove page_did_set_document_in_top_level_browsing_context()
This PageClient callback was never used for anything.
This commit is contained in:
parent
ffb23db57f
commit
69a45adfbe
3 changed files with 0 additions and 8 deletions
|
@ -98,9 +98,6 @@ void BrowsingContext::set_active_document(DOM::Document* document)
|
|||
if (m_page && is_top_level())
|
||||
m_page->client().page_did_change_title(m_active_document->title());
|
||||
}
|
||||
|
||||
if (m_page)
|
||||
m_page->client().page_did_set_document_in_top_level_browsing_context(m_active_document);
|
||||
}
|
||||
|
||||
void BrowsingContext::set_viewport_rect(Gfx::IntRect const& rect)
|
||||
|
|
|
@ -84,7 +84,6 @@ public:
|
|||
virtual Gfx::Palette palette() const = 0;
|
||||
virtual Gfx::IntRect screen_rect() const = 0;
|
||||
virtual CSS::PreferredColorScheme preferred_color_scheme() const = 0;
|
||||
virtual void page_did_set_document_in_top_level_browsing_context(DOM::Document*) { }
|
||||
virtual void page_did_change_title(String const&) { }
|
||||
virtual void page_did_start_loading(const AK::URL&) { }
|
||||
virtual void page_did_finish_loading(const AK::URL&) { }
|
||||
|
|
|
@ -125,10 +125,6 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
virtual void page_did_set_document_in_top_level_browsing_context(Web::DOM::Document*) override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void page_did_start_loading(AK::URL const&) override
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue