#include "third_party/blink/renderer/modules/animationworklet/animation_worklet.h"
#include "base/atomic_sequence_num.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/page/chrome_client.h"
#include "third_party/blink/renderer/core/workers/worker_clients.h"
#include "third_party/blink/renderer/modules/animationworklet/animation_worklet_messaging_proxy.h"
#include "third_party/blink/renderer/modules/animationworklet/animation_worklet_proxy_client.h"
base::AtomicSequenceNumber g_next_worklet_id;
int NextId() { … }
namespace blink {
AnimationWorklet::AnimationWorklet(LocalDOMWindow& window)
: … { … }
AnimationWorklet::~AnimationWorklet() = default;
bool AnimationWorklet::NeedsToCreateGlobalScope() { … }
WorkletGlobalScopeProxy* AnimationWorklet::CreateGlobalScope() { … }
WorkletAnimationId AnimationWorklet::NextWorkletAnimationId() { … }
void AnimationWorklet::Trace(Visitor* visitor) const { … }
}