2020-09-20 14:22:44 -03:00
|
|
|
/*
|
2021-09-19 10:39:40 -03:00
|
|
|
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
|
2020-09-20 14:22:44 -03:00
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-09-20 14:22:44 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <AK/Weakable.h>
|
|
|
|
|
#include <LibJS/Forward.h>
|
|
|
|
|
#include <LibWeb/Forward.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::Bindings {
|
|
|
|
|
|
|
|
|
|
class ScriptExecutionContext {
|
|
|
|
|
public:
|
|
|
|
|
virtual ~ScriptExecutionContext();
|
|
|
|
|
|
2021-09-19 10:39:40 -03:00
|
|
|
virtual JS::Realm& realm() = 0;
|
2020-09-20 14:22:44 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|