ladybird/Services/Compositor/CompositorWebContentClient.ipc
Aliaksandr Kalenik 17f5865d36 Compositor+WebContent+LibWebView: Implement service-side compositor IPC
With CompositorState in place, Browser and WebContent need an actual
wire protocol to drive it: which calls are sync, who validates that a
WebContent is allowed to touch a given context, how compositor loss
propagates back to the renderer. This commit fills in the four endpoints
around CompositorState and the matching WebContent-side helpers so the
future remote host can forward CompositorHost calls directly. The
service still has no clients, so default rendering is unchanged.
2026-05-22 19:50:42 +01:00

11 lines
388 B
Text

#include <LibWeb/Compositor/Types.h>
#include <LibWeb/Page/InputEvent.h>
endpoint CompositorWebContentClient
{
mouse_event(u64 page_id, Web::MouseEvent event) =|
request_rendering_update() =|
did_complete_screenshot(Web::Compositor::ScreenshotRequestId request_id) =|
did_fail_screenshot(Web::Compositor::ScreenshotRequestId request_id) =|
did_lose_compositor() =|
}