mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19: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:
parent
1dad47c0f9
commit
df2a4adcd2
9 changed files with 64 additions and 6 deletions
|
@ -48,6 +48,8 @@ public:
|
|||
void set_palette_impl(const Gfx::PaletteImpl&);
|
||||
void set_viewport_rect(const Gfx::IntRect&);
|
||||
|
||||
void set_should_show_line_box_borders(bool b) { m_should_show_line_box_borders = b; }
|
||||
|
||||
private:
|
||||
// ^PageClient
|
||||
virtual bool is_multi_process() const override { return true; }
|
||||
|
@ -75,6 +77,7 @@ private:
|
|||
ClientConnection& m_client;
|
||||
NonnullOwnPtr<Web::Page> m_page;
|
||||
RefPtr<Gfx::PaletteImpl> m_palette_impl;
|
||||
bool m_should_show_line_box_borders { false };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue