#include "third_party/blink/renderer/core/shadow_realm/shadow_realm_global_scope.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/public/mojom/devtools/inspector_issue.mojom-blink.h"
#include "third_party/blink/renderer/core/event_target_names.h"
#include "third_party/blink/renderer/core/inspector/inspector_audits_issue.h"
namespace blink {
ShadowRealmGlobalScope::ShadowRealmGlobalScope(
ExecutionContext* initiator_execution_context)
: … { … }
ExecutionContext* ShadowRealmGlobalScope::GetRootInitiatorExecutionContext()
const { … }
void ShadowRealmGlobalScope::Trace(Visitor* visitor) const { … }
const AtomicString& ShadowRealmGlobalScope::InterfaceName() const { … }
ExecutionContext* ShadowRealmGlobalScope::GetExecutionContext() const { … }
const BrowserInterfaceBrokerProxy&
ShadowRealmGlobalScope::GetBrowserInterfaceBroker() const { … }
scoped_refptr<base::SingleThreadTaskRunner>
ShadowRealmGlobalScope::GetTaskRunner(TaskType task_type) { … }
void ShadowRealmGlobalScope::CountUse(mojom::blink::WebFeature feature) { … }
void ShadowRealmGlobalScope::CountDeprecation(
mojom::blink::WebFeature feature) { … }
void ShadowRealmGlobalScope::CountWebDXFeature(
mojom::blink::WebDXFeature feature) { … }
bool ShadowRealmGlobalScope::IsShadowRealmGlobalScope() const { … }
const KURL& ShadowRealmGlobalScope::Url() const { … }
const KURL& ShadowRealmGlobalScope::BaseURL() const { … }
KURL ShadowRealmGlobalScope::CompleteURL(const String& url) const { … }
void ShadowRealmGlobalScope::DisableEval(const String& error_message) { … }
void ShadowRealmGlobalScope::SetWasmEvalErrorMessage(
const String& error_message) { … }
String ShadowRealmGlobalScope::UserAgent() const { … }
HttpsState ShadowRealmGlobalScope::GetHttpsState() const { … }
ResourceFetcher* ShadowRealmGlobalScope::Fetcher() { … }
void ShadowRealmGlobalScope::ExceptionThrown(ErrorEvent* error_event) { … }
void ShadowRealmGlobalScope::AddInspectorIssue(AuditsIssue issue) { … }
EventTarget* ShadowRealmGlobalScope::ErrorEventTarget() { … }
FrameOrWorkerScheduler* ShadowRealmGlobalScope::GetScheduler() { … }
bool ShadowRealmGlobalScope::CrossOriginIsolatedCapability() const { … }
bool ShadowRealmGlobalScope::IsIsolatedContext() const { … }
ukm::UkmRecorder* ShadowRealmGlobalScope::UkmRecorder() { … }
ukm::SourceId ShadowRealmGlobalScope::UkmSourceID() const { … }
ExecutionContextToken ShadowRealmGlobalScope::GetExecutionContextToken() const { … }
void ShadowRealmGlobalScope::AddConsoleMessageImpl(ConsoleMessage* message,
bool discard_duplicates) { … }
}