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
commit 9d03ea6f74
Notes: sideshowbarker 2024-07-18 04:27:32 +09:00
6 changed files with 28 additions and 18 deletions

View file

@ -460,4 +460,9 @@ void OutOfProcessWebView::select_all()
client().async_select_all();
}
String OutOfProcessWebView::dump_layout_tree()
{
return client().dump_layout_tree();
}
}