// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_WORKERS_WORKLET_PENDING_TASKS_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_WORKERS_WORKLET_PENDING_TASKS_H_ #include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h" #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" namespace blink { class SerializedScriptValue; class Worklet; // Implementation of the "pending tasks struct": // https://drafts.css-houdini.org/worklets/#pending-tasks-struct // // This also implements a part of the "fetch and invoke a worklet script" // algorithm: // https://drafts.css-houdini.org/worklets/#fetch-and-invoke-a-worklet-script // // All functions must be accessed on the main thread. class CORE_EXPORT WorkletPendingTasks final : public GarbageCollected<WorkletPendingTasks> { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_WORKERS_WORKLET_PENDING_TASKS_H_