#include "third_party/blink/renderer/modules/worklet/worklet_thread_test_common.h"
#include <utility>
#include "third_party/blink/public/mojom/script/script_type.mojom-blink.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/frame/local_frame.h"
#include "third_party/blink/renderer/core/inspector/worker_devtools_params.h"
#include "third_party/blink/renderer/core/origin_trials/origin_trial_context.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/core/workers/global_scope_creation_params.h"
#include "third_party/blink/renderer/core/workers/worker_reporting_proxy.h"
#include "third_party/blink/renderer/modules/animationworklet/animation_worklet_proxy_client.h"
#include "third_party/blink/renderer/modules/csspaint/paint_worklet_proxy_client.h"
namespace blink {
namespace {
std::unique_ptr<AnimationAndPaintWorkletThread>
CreateAnimationAndPaintWorkletThread(
Document* document,
WorkerReportingProxy* reporting_proxy,
WorkerClients* clients,
std::unique_ptr<AnimationAndPaintWorkletThread> thread) { … }
}
std::unique_ptr<AnimationAndPaintWorkletThread>
CreateThreadAndProvidePaintWorkletProxyClient(
Document* document,
WorkerReportingProxy* reporting_proxy,
PaintWorkletProxyClient* proxy_client) { … }
std::unique_ptr<AnimationAndPaintWorkletThread>
CreateThreadAndProvideAnimationWorkletProxyClient(
Document* document,
WorkerReportingProxy* reporting_proxy,
AnimationWorkletProxyClient* proxy_client) { … }
}