From 487544d7b4e373c340c064fca775d333af1c71c2 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 8 Jul 2022 14:14:40 +0200 Subject: 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. --- Ladybird/WebView.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Ladybird/WebView.h') 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 m_page_client; qreal m_inverse_pixel_scaling_ratio { 1.0 }; + bool m_should_show_line_box_borders { false }; }; -- cgit v1.2.3