1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:07:45 +00:00

Ladybird: Send window size and position to WebContent process

This commit is contained in:
Aliaksandr Kalenik 2023-03-08 23:57:24 +03:00 committed by Andreas Kling
parent 24d5bf8173
commit b51090e83e
4 changed files with 32 additions and 1 deletions

View file

@ -98,6 +98,8 @@ public:
ErrorOr<String> dump_layout_tree();
void set_viewport_rect(Gfx::IntRect);
void set_window_size(Gfx::IntSize);
void set_window_position(Gfx::IntPoint);
Gfx::IntPoint to_content(Gfx::IntPoint) const;
Gfx::IntPoint to_widget(Gfx::IntPoint) const;