mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 04:44:59 +00:00

In order for same-origin NavigableContainers (iframe, frame, embed, ...) and window.open() WindowProxies to have the proper JS access to their embedder/opener, we need to host multiple top level traversables in the same WebContent process. As a first step, make WebContent::PageHost hold a HashMap of PageClient objects, each holding their own Web::Page that represents a TraversableNavigable's API surface with the UI process.
18 lines
315 B
C++
18 lines
315 B
C++
/*
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace WebContent {
|
|
|
|
class ConnectionFromClient;
|
|
class ConsoleGlobalEnvironmentExtensions;
|
|
class PageHost;
|
|
class PageClient;
|
|
class WebContentConsoleClient;
|
|
class WebDriverConnection;
|
|
|
|
}
|