mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00

This patch adds an IPC call for debugging requests. It's stringly typed and very simple, and allows us to easily implement all the features in the Browser's Debug menu.
23 lines
851 B
Text
23 lines
851 B
Text
endpoint WebContentServer = 89
|
|
{
|
|
Greet(i32 client_pid) => (i32 client_id, i32 server_pid)
|
|
|
|
UpdateSystemTheme(Core::AnonymousBuffer theme_buffer) =|
|
|
|
|
LoadURL(URL url) =|
|
|
LoadHTML(String html, URL url) =|
|
|
|
|
AddBackingStore(i32 backing_store_id, Gfx::ShareableBitmap bitmap) =|
|
|
RemoveBackingStore(i32 backing_store_id) =|
|
|
|
|
Paint(Gfx::IntRect content_rect, i32 backing_store_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) =|
|
|
|
|
DebugRequest(String request, String argument) =|
|
|
}
|