2023-02-02 10:00:30 +00:00
|
|
|
/*
|
|
|
|
* 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>
|
|
|
|
|
2023-08-01 17:56:10 +00:00
|
|
|
#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);
|