1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +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

@ -229,6 +229,11 @@ void OutOfProcessWebView::notify_server_did_change_selection(Badge<WebContentCli
request_repaint();
}
void OutOfProcessWebView::notify_server_did_request_cursor_change(Badge<WebContentClient>, Gfx::StandardCursor cursor)
{
set_override_cursor(cursor);
}
void OutOfProcessWebView::notify_server_did_layout(Badge<WebContentClient>, const Gfx::IntSize& content_size)
{
set_content_size(content_size);