mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWebView+UI: Pass RequestServerOptions to Application implementations
This will be needed by test-web.
This commit is contained in:
parent
0020af37cd
commit
a853bb43ef
Notes:
github-actions[bot]
2025-11-20 08:35:49 +00:00
Author: https://github.com/trflynn89
Commit: a853bb43ef
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6861
Reviewed-by: https://github.com/gmta ✅
6 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue