mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-01 05:41:01 +00:00
27 lines
504 B
C
27 lines
504 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2023, Andreas Kling <kling@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibWeb/Bindings/PlatformObject.h>
|
||
|
|
|
||
|
|
namespace Web::Internals {
|
||
|
|
|
||
|
|
class Internals final : public Bindings::PlatformObject {
|
||
|
|
WEB_PLATFORM_OBJECT(Internals, Bindings::PlatformObject);
|
||
|
|
|
||
|
|
public:
|
||
|
|
virtual ~Internals() override;
|
||
|
|
|
||
|
|
void gc();
|
||
|
|
|
||
|
|
private:
|
||
|
|
explicit Internals(JS::Realm&);
|
||
|
|
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|