LibWebView+UI: Pass RequestServerOptions to Application implementations

This will be needed by test-web.
This commit is contained in:
Timothy Flynn 2025-11-12 10:52:16 -05:00 committed by Jelle Raaijmakers
parent 0020af37cd
commit a853bb43ef
Notes: github-actions[bot] 2025-11-20 08:35:49 +00:00
6 changed files with 6 additions and 6 deletions

View file

@ -94,7 +94,7 @@ public:
Application::Application() = default;
Application::~Application() = default;
void Application::create_platform_options(WebView::BrowserOptions&, WebView::WebContentOptions& web_content_options)
void Application::create_platform_options(WebView::BrowserOptions&, WebView::RequestServerOptions&, WebView::WebContentOptions& web_content_options)
{
web_content_options.config_path = Settings::the()->directory();
}

View file

@ -33,7 +33,7 @@ public:
private:
explicit Application();
virtual void create_platform_options(WebView::BrowserOptions&, WebView::WebContentOptions&) override;
virtual void create_platform_options(WebView::BrowserOptions&, WebView::RequestServerOptions&, WebView::WebContentOptions&) override;
virtual NonnullOwnPtr<Core::EventLoop> create_platform_event_loop() override;
virtual Optional<WebView::ViewImplementation&> active_web_view() const override;