mirror of
https://github.com/RGBCube/serenity
synced 2026-01-19 16:00:59 +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
|
|
@ -60,3 +60,9 @@ void WebContentClient::handle(const Messages::WebContentClient::DidInvalidateCon
|
|||
// FIXME: Figure out a way to coalesce these messages to reduce unnecessary painting
|
||||
m_view.notify_server_did_invalidate_content_rect({}, message.content_rect());
|
||||
}
|
||||
|
||||
void WebContentClient::handle(const Messages::WebContentClient::DidChangeSelection&)
|
||||
{
|
||||
dbg() << "handle: WebContentClient::DidChangeSelection!";
|
||||
m_view.notify_server_did_change_selection({});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue