LibDevTools: Support highlighting DOM nodes hovered in the inspector

This commit is contained in:
Timothy Flynn 2025-02-20 08:58:35 -05:00 committed by Tim Flynn
commit 6e8d77ff7f
Notes: github-actions[bot] 2025-02-24 17:07:00 +00:00
10 changed files with 116 additions and 9 deletions

View file

@ -21,12 +21,16 @@ public:
virtual void handle_message(StringView type, JsonObject const&) override;
static RefPtr<TabActor> tab_for(WeakPtr<InspectorActor> const&);
static RefPtr<WalkerActor> walker_for(WeakPtr<InspectorActor> const&);
private:
InspectorActor(DevToolsServer&, String name, WeakPtr<TabActor>);
void received_dom_tree(JsonObject, BlockToken);
WeakPtr<TabActor> m_tab;
WeakPtr<WalkerActor> m_walker;
WeakPtr<PageStyleActor> m_page_style;
HashMap<String, WeakPtr<HighlighterActor>> m_highlighters;
};