LibDevTools: Stub out a layout inspector actor

The DevTools client will ask for this actor before trying to render any
box model or computed style information. We can just stub out this actor
for now.
This commit is contained in:
Timothy Flynn 2025-02-21 16:17:20 -05:00 committed by Tim Flynn
commit 3f8b65e45c
Notes: github-actions[bot] 2025-02-24 17:06:47 +00:00
6 changed files with 89 additions and 0 deletions

View file

@ -44,6 +44,8 @@ private:
void populate_dom_tree_cache(JsonObject& node, JsonObject const* parent = nullptr);
WeakPtr<TabActor> m_tab;
WeakPtr<LayoutInspectorActor> m_layout_inspector;
JsonObject m_dom_tree;
HashMap<JsonObject const*, JsonObject const*> m_dom_node_to_parent_map;