mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
WebContent: Notify client when web content selection changes
The WebContentView widgets reacts to this by requesting a repaint.
This commit is contained in:
@@ -104,4 +104,9 @@ void PageHost::page_did_invalidate(const Gfx::IntRect& content_rect)
|
||||
m_client.post_message(Messages::WebContentClient::DidInvalidateContentRect(content_rect));
|
||||
}
|
||||
|
||||
void PageHost::page_did_change_selection()
|
||||
{
|
||||
m_client.post_message(Messages::WebContentClient::DidChangeSelection());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user