mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibDevTools: Support highlighting DOM nodes hovered in the inspector
This commit is contained in:
parent
2386859e4b
commit
6e8d77ff7f
Notes:
github-actions[bot]
2025-02-24 17:07:00 +00:00
Author: https://github.com/trflynn89
Commit: 6e8d77ff7f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3666
Reviewed-by: https://github.com/AtkinsSJ
10 changed files with 116 additions and 9 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue