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

LibWeb+Browser: Support DOM Inspector for OutOfProcessWebView

This introduces a new DOMTreeJSONModel, which provides the Model for the
InspectorWidget when the Browser is running using the
OutOfProcessWebView.

This Model is constructed with a JSON object received via IPC from the
WebContentServer.
This commit is contained in:
Adam Hodgen 2021-06-07 22:21:16 +01:00 committed by Andreas Kling
parent cd6b9613c5
commit 1e5e02c70b
8 changed files with 330 additions and 7 deletions

View file

@ -79,6 +79,7 @@ private:
void update_bookmark_button(const String& url);
void start_download(const URL& url);
void view_source(const URL& url, const String& source);
void view_dom_tree(const String&);
Type m_type;