mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Re-organize our helper files here a bit, to make a clearer distinction between Qt-specific helpers and generic non-serenity helpers. A future commit will move Lagom specific code from LibSQL to ladybird as well, so that we can see about future generic apis for spawning helper procesess.
21 lines
557 B
C
21 lines
557 B
C
/*
|
|
* Copyright (c) 2023, Andrew Kaster <akaster@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Error.h>
|
|
#include <AK/Span.h>
|
|
#include <AK/StringView.h>
|
|
|
|
#include <LibWebView/ViewImplementation.h>
|
|
#include <LibWebView/WebContentClient.h>
|
|
|
|
ErrorOr<NonnullRefPtr<WebView::WebContentClient>> launch_web_content_process(WebView::ViewImplementation& view,
|
|
ReadonlySpan<String> candidate_web_content_paths,
|
|
WebView::EnableCallgrindProfiling,
|
|
WebView::IsLayoutTestMode,
|
|
WebView::UseJavaScriptBytecode);
|