mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWebView+RequestServer: Add some UI for DNS settings
This commit is contained in:
committed by
Tim Flynn
parent
e1369aa7d6
commit
2c13504bfc
Notes:
github-actions[bot]
2025-04-22 22:06:21 +00:00
Author: https://github.com/alimpfard Commit: https://github.com/LadybirdBrowser/ladybird/commit/2c13504bfc2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4278 Reviewed-by: https://github.com/trflynn89 ✅
@@ -26,7 +26,8 @@
|
||||
|
||||
namespace WebView {
|
||||
|
||||
class Application : public DevTools::DevToolsDelegate {
|
||||
class Application : public DevTools::DevToolsDelegate
|
||||
, public SettingsObserver {
|
||||
AK_MAKE_NONCOPYABLE(Application);
|
||||
|
||||
public:
|
||||
@@ -128,6 +129,9 @@ private:
|
||||
virtual void stop_listening_for_console_messages(DevTools::TabDescription const&) const override;
|
||||
virtual void request_console_messages(DevTools::TabDescription const&, i32) const override;
|
||||
|
||||
// ^SettingsObserver
|
||||
virtual void dns_settings_changed() override;
|
||||
|
||||
static Application* s_the;
|
||||
|
||||
Settings m_settings;
|
||||
@@ -152,7 +156,6 @@ private:
|
||||
|
||||
OwnPtr<DevTools::DevToolsServer> m_devtools;
|
||||
} SWIFT_IMMORTAL_REFERENCE;
|
||||
|
||||
}
|
||||
|
||||
#define WEB_VIEW_APPLICATION(ApplicationType) \
|
||||
|
||||
Reference in New Issue
Block a user