1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 23:35:07 +00:00
serenity/Services/WebContent/WebContentServer.ipc
Andreas Kling 6e221adade LibWeb: Send key events to the WebContent process
This makes contenteditable work in multi-process mode. :^)
2020-08-03 19:58:59 +02:00

17 lines
606 B
Text

endpoint WebContentServer = 89
{
Greet(i32 client_pid) => (i32 client_id, i32 server_pid)
UpdateSystemTheme(i32 shbuf_id) =|
LoadURL(URL url) =|
Paint(Gfx::IntRect content_rect, i32 shbuf_id) =|
SetViewportRect(Gfx::IntRect rect) =|
MouseDown(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
MouseMove(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
MouseUp(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
KeyDown(i32 key, unsigned modifiers, u32 code_point) =|
}