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:
parent
33b006f157
commit
4483204c9c
10 changed files with 400 additions and 0 deletions
|
@ -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];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue