1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

LibWeb+WebContent: Port DumpLayoutTree to OutOfProcessWebView

This required adding a simple OOPWV::dump_layout_tree() API that
synchronously requests a dump of the layout tree from the WebContent
process.
This commit is contained in:
Andreas Kling 2021-09-08 00:55:35 +02:00
parent c6e56612f5
commit 9d03ea6f74
6 changed files with 28 additions and 18 deletions

View file

@ -49,6 +49,8 @@ public:
String selected_text();
void select_all();
String dump_layout_tree();
void notify_server_did_layout(Badge<WebContentClient>, const Gfx::IntSize& content_size);
void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id);
void notify_server_did_invalidate_content_rect(Badge<WebContentClient>, const Gfx::IntRect&);