1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

LibWeb: Add hook to HtmlView when a new document is set

This commit is contained in:
FalseHonesty 2020-05-23 13:03:13 -04:00 committed by Andreas Kling
parent 391237a8e1
commit 51e79a2bbc
2 changed files with 4 additions and 0 deletions

View file

@ -65,6 +65,7 @@ public:
Function<void(const URL&)> on_load_start;
Function<void(const Gfx::Bitmap&)> on_favicon_change;
Function<void(const URL&)> on_url_drop;
Function<void(Document*)> on_set_document;
virtual bool accepts_focus() const override { return true; }