mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-11 10:16:41 +00:00
There is a lot needed all at once to actually inspect a tab's DOM tree. It begins with requesting a "watcher" from a TabActor. It seems there can be many types of watchers, but here we implement the "frame" watcher only. The watcher creates an "inspector", which in turn creates a "walker", which is the actor ultimately responsible for serializing and inspecting the DOM tree. In between all that, the DevTools client will send a handful of other informational requests. If we do not reply to these, the client will not move forward with the walker. For example, the CSSPropertiesActor will be asked for a list of all known CSS properties.
24 lines
613 B
CMake
24 lines
613 B
CMake
set(SOURCES
|
|
Actor.cpp
|
|
Actors/CSSPropertiesActor.cpp
|
|
Actors/DeviceActor.cpp
|
|
Actors/FrameActor.cpp
|
|
Actors/HighlighterActor.cpp
|
|
Actors/InspectorActor.cpp
|
|
Actors/PageStyleActor.cpp
|
|
Actors/PreferenceActor.cpp
|
|
Actors/ProcessActor.cpp
|
|
Actors/RootActor.cpp
|
|
Actors/TabActor.cpp
|
|
Actors/TargetConfigurationActor.cpp
|
|
Actors/ThreadActor.cpp
|
|
Actors/ThreadConfigurationActor.cpp
|
|
Actors/WalkerActor.cpp
|
|
Actors/WatcherActor.cpp
|
|
Connection.cpp
|
|
DevToolsServer.cpp
|
|
)
|
|
|
|
serenity_lib(LibDevTools devtools)
|
|
target_link_libraries(LibDevTools PRIVATE LibCore LibWeb)
|