mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-28 13:12:05 +00:00
Since cross-site navigation is a pretty frequent task, creating a spare process is commonplace in other browsers to reduce the overhead of directing the target site to a new process. We store this process on the WebView application. If it is unavailable, we queue a task to create it later.
36 lines
536 B
C++
36 lines
536 B
C++
/*
|
|
* Copyright (c) 2022, The SerenityOS developers
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Traits.h>
|
|
|
|
namespace WebView {
|
|
|
|
class Application;
|
|
class CookieJar;
|
|
class Database;
|
|
class InspectorClient;
|
|
class OutOfProcessWebView;
|
|
class ProcessManager;
|
|
class ViewImplementation;
|
|
class WebContentClient;
|
|
|
|
struct Attribute;
|
|
struct ConsoleOutput;
|
|
struct CookieStorageKey;
|
|
struct Mutation;
|
|
struct ProcessHandle;
|
|
struct SearchEngine;
|
|
|
|
}
|
|
|
|
namespace AK {
|
|
|
|
template<>
|
|
struct Traits<WebView::CookieStorageKey>;
|
|
|
|
}
|