mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +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:
parent
8476e3933b
commit
a4b5350aff
7 changed files with 27 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue