#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/bindings/v8_per_context_data.h"
#include "third_party/blink/renderer/platform/instrumentation/instance_counters.h"
#include "third_party/blink/renderer/platform/instrumentation/resource_coordinator/renderer_resource_coordinator.h"
namespace blink {
ScriptState::CreateCallback ScriptState::s_create_callback_ = …;
void ScriptState::SetCreateCallback(CreateCallback create_callback) { … }
ScriptState* ScriptState::Create(v8::Local<v8::Context> context,
DOMWrapperWorld* world,
ExecutionContext* execution_context) { … }
ScriptState::ScriptState(v8::Local<v8::Context> context,
DOMWrapperWorld* world,
ExecutionContext* execution_context)
: … { … }
ScriptState::~ScriptState() { … }
void ScriptState::Trace(Visitor* visitor) const { … }
void ScriptState::DetachGlobalObject() { … }
void ScriptState::DisposePerContextData() { … }
void ScriptState::DissociateContext() { … }
void ScriptState::OnV8ContextCollectedCallback(
const v8::WeakCallbackInfo<ScriptState>& data) { … }
}