1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

Ladybird+LibWebView: Remember the size of the last paint

This will allow us to change the size of the backing store bitmap
without conflating the size of the bitmap and the size of the paint.
This commit is contained in:
Andreas Kling 2023-05-14 18:53:29 +02:00
parent 68271c4fce
commit def37e65f3
7 changed files with 11 additions and 8 deletions

View file

@ -119,7 +119,7 @@ public:
void update_palette(PaletteMode = PaletteMode::Default);
virtual void notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize content_size) override;
virtual void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id) override;
virtual void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id, Gfx::IntSize) override;
virtual void notify_server_did_invalidate_content_rect(Badge<WebContentClient>, Gfx::IntRect const&) override;
virtual void notify_server_did_change_selection(Badge<WebContentClient>) override;
virtual void notify_server_did_request_cursor_change(Badge<WebContentClient>, Gfx::StandardCursor cursor) override;