1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-14 22:42:07 +00:00
serenity/Services/WebContent/WebContentClient.ipc
Andreas Kling 0bac2ad3b3 WebContent: Allow the WebContent process to trigger repaints
After layout, we may want to repaint the page, so we now listen for the
PageClient::page_did_invalidate() notification and use it to drive a
client-side repaint.

Note that an invalidation request from LibWeb makes a full roundtrip
to the WebContent client and back since the client drives painting.
2020-06-17 20:09:44 +02:00

6 lines
181 B
Text

endpoint WebContentClient = 90
{
DidFinishLoad(URL url) =|
DidPaint(Gfx::IntRect content_rect, i32 shbuf_id) =|
DidInvalidateContentRect(Gfx::IntRect content_rect) =|
}