1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

Browser+LibWeb+WebContent: Make the "Debug" menu work in multi-process

This patch adds an IPC call for debugging requests. It's stringly typed
and very simple, and allows us to easily implement all the features in
the Browser's Debug menu.
This commit is contained in:
Andreas Kling 2021-01-31 09:06:25 +01:00
parent 1dad47c0f9
commit df2a4adcd2
9 changed files with 64 additions and 6 deletions

View file

@ -49,6 +49,8 @@ public:
void load_html(const StringView&, const URL&);
void load_empty_document();
void debug_request(const String& request, const String& argument = {});
void notify_server_did_layout(Badge<WebContentClient>, const Gfx::IntSize& content_size);
void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id);
void notify_server_did_invalidate_content_rect(Badge<WebContentClient>, const Gfx::IntRect&);