blob: 59f0599574020c45a806688593691030f64d58e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Copyright (c) 2023, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/HTML/RemoteBrowsingContext.h>
namespace Web::HTML {
JS::NonnullGCPtr<RemoteBrowsingContext> RemoteBrowsingContext::create_a_new_remote_browsing_context(String handle)
{
auto browsing_context = Bindings::main_thread_vm().heap().allocate_without_realm<RemoteBrowsingContext>(handle);
return browsing_context;
};
HTML::WindowProxy* RemoteBrowsingContext::window_proxy()
{
return nullptr;
}
HTML::WindowProxy const* RemoteBrowsingContext::window_proxy() const
{
return nullptr;
}
RemoteBrowsingContext::RemoteBrowsingContext(String handle)
: m_window_handle(handle) {};
}
|