mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +00:00
Ladybird+LibWebView: Migrate cursor changes to LibWebView callbacks
This commit is contained in:
parent
bf464665a7
commit
00fe122b0a
9 changed files with 14 additions and 20 deletions
|
@ -82,7 +82,9 @@ void WebContentClient::did_request_cursor_change(i32 cursor_type)
|
|||
dbgln("DidRequestCursorChange: Bad cursor type");
|
||||
return;
|
||||
}
|
||||
m_view.notify_server_did_request_cursor_change({}, (Gfx::StandardCursor)cursor_type);
|
||||
|
||||
if (m_view.on_cursor_change)
|
||||
m_view.on_cursor_change(static_cast<Gfx::StandardCursor>(cursor_type));
|
||||
}
|
||||
|
||||
void WebContentClient::did_layout(Gfx::IntSize content_size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue