diff options
author | Andreas Kling <kling@serenityos.org> | 2022-07-08 14:14:40 +0200 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-12-25 07:58:58 -0700 |
commit | 487544d7b4e373c340c064fca775d333af1c71c2 (patch) | |
tree | b6f1fe38f803c8ba96e577752984619f28fab396 /Ladybird/WebView.h | |
parent | eea012472ec3362d97402d2253ccdb09965b9f7f (diff) | |
download | serenity-487544d7b4e373c340c064fca775d333af1c71c2.zip |
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.
Diffstat (limited to 'Ladybird/WebView.h')
-rw-r--r-- | Ladybird/WebView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Ladybird/WebView.h b/Ladybird/WebView.h index c4a542cdb2..94e53f52a0 100644 --- a/Ladybird/WebView.h +++ b/Ladybird/WebView.h @@ -30,6 +30,8 @@ public: virtual void mousePressEvent(QMouseEvent*) override; virtual void mouseReleaseEvent(QMouseEvent*) override; + void debug_request(String const& request, String const& argument); + signals: void linkHovered(QString, int timeout = 0); void linkUnhovered(); @@ -43,4 +45,5 @@ private: OwnPtr<HeadlessBrowserPageClient> m_page_client; qreal m_inverse_pixel_scaling_ratio { 1.0 }; + bool m_should_show_line_box_borders { false }; }; |