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

WebContent: Plumb hovered links from WebContent process over to widget

Also add a little GUI::StatusBar to the demo app so we can see the
hovered link URL's live. :^)
This commit is contained in:
Andreas Kling 2020-07-05 16:59:20 +02:00
parent aac362b883
commit 58b1ba2545
8 changed files with 61 additions and 1 deletions

View file

@ -134,4 +134,14 @@ void PageHost::page_did_request_scroll_into_view(const Gfx::IntRect& rect)
m_client.post_message(Messages::WebContentClient::DidRequestScrollIntoView(rect));
}
void PageHost::page_did_hover_link(const URL& url)
{
m_client.post_message(Messages::WebContentClient::DidHoverLink(url));
}
void PageHost::page_did_unhover_link()
{
m_client.post_message(Messages::WebContentClient::DidUnhoverLink());
}
}