mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 20:45:09 +00:00
LibWeb: Make the WebContentView::on_load_start hook actually work :^)
This commit is contained in:
parent
a94ef9e021
commit
9169c8ca94
7 changed files with 20 additions and 0 deletions
|
@ -150,6 +150,12 @@ void WebContentView::notify_server_did_middle_click_link(Badge<WebContentClient>
|
|||
on_link_middle_click(url, target, modifiers);
|
||||
}
|
||||
|
||||
void WebContentView::notify_server_did_start_loading(Badge<WebContentClient>, const URL& url)
|
||||
{
|
||||
if (on_load_start)
|
||||
on_load_start(url);
|
||||
}
|
||||
|
||||
void WebContentView::did_scroll()
|
||||
{
|
||||
client().post_message(Messages::WebContentServer::SetViewportRect(visible_content_rect()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue