1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:37:46 +00:00

Ladybird+LibWebView: Move WebContent process launcher to LibWebView

This is to allow headless-browser to reuse this code. We have a similar
helper for launching SQLServer from Ladybird.
This commit is contained in:
Timothy Flynn 2023-03-12 12:35:06 -04:00 committed by Linus Groh
parent be4da57004
commit add15a5f04
3 changed files with 68 additions and 47 deletions

View file

@ -117,6 +117,10 @@ protected:
virtual void create_client() = 0;
virtual void update_zoom() = 0;
#if !defined(AK_OS_SERENITY)
ErrorOr<NonnullRefPtr<WebView::WebContentClient>> launch_web_content_process(ReadonlySpan<String> candidate_web_content_paths, StringView webdriver_content_ipc_path);
#endif
struct SharedBitmap {
i32 id { -1 };
i32 pending_paints { 0 };