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

Ladybird: Implement a basic Inspector window for the AppKit chrome

This commit includes only fetching the DOM tree from the WebContent
process and displaying it in an NSOutlineView. The displayed tree
includes some basic styling (e.g. colors).
This commit is contained in:
Timothy Flynn 2023-09-13 14:55:34 -04:00 committed by Andrew Kaster
parent 33b006f157
commit 4483204c9c
10 changed files with 400 additions and 0 deletions

View file

@ -227,6 +227,10 @@ struct HideCursor {
}
};
m_web_view_bridge->on_load_finish = [self](auto const& url) {
[self.observer onLoadFinish:url];
};
m_web_view_bridge->on_title_change = [self](auto const& title) {
[self.observer onTitleChange:title];
};