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

Ladybird: Port over part of the "Debug" menu from the SerenityOS browser

This is pretty messy, but we have to start somewhere. Eventually we
should find a way to share this code with SerenityOS.
This commit is contained in:
Andreas Kling 2022-07-08 14:14:40 +02:00 committed by Andrew Kaster
parent eea012472e
commit 487544d7b4
6 changed files with 199 additions and 8 deletions

View file

@ -36,6 +36,8 @@ public slots:
void close_tab(int index);
private:
void debug_request(String const& request, String const& argument = "");
QTabWidget* m_tabs_container { nullptr };
NonnullOwnPtrVector<Tab> m_tabs;
Tab* m_current_tab { nullptr };