1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibWeb: Support setting the cursor in OutOfProcessWebView

This commit is contained in:
Adam Hodgen 2021-02-27 21:12:12 +00:00 committed by Andreas Kling
parent fc9225db33
commit bedcd9cd88
7 changed files with 23 additions and 0 deletions

View file

@ -113,6 +113,11 @@ void PageHost::page_did_change_selection()
m_client.post_message(Messages::WebContentClient::DidChangeSelection());
}
void PageHost::page_did_request_cursor_change(Gfx::StandardCursor cursor)
{
m_client.post_message(Messages::WebContentClient::DidRequestCursorChange((u32)cursor));
}
void PageHost::page_did_layout()
{
auto* layout_root = this->layout_root();