| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef AnimationWorkletMessagingProxy_h | |
| 6 #define AnimationWorkletMessagingProxy_h | |
| 7 | |
| 8 #include "core/workers/ThreadedWorkletMessagingProxy.h" | |
| 9 #include "wtf/Allocator.h" | |
| 10 #include <memory> | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class ExecutionContext; | |
| 15 class WorkerThread; | |
| 16 | |
| 17 class AnimationWorkletMessagingProxy final : public ThreadedWorkletMessagingProx
y { | |
| 18 USING_FAST_MALLOC(AnimationWorkletMessagingProxy); | |
| 19 public: | |
| 20 explicit AnimationWorkletMessagingProxy(ExecutionContext*); | |
| 21 | |
| 22 protected: | |
| 23 ~AnimationWorkletMessagingProxy() override; | |
| 24 | |
| 25 std::unique_ptr<WorkerThread> createWorkerThread(double originTime) override
; | |
| 26 }; | |
| 27 | |
| 28 } // namespace blink | |
| 29 | |
| 30 #endif // AnimationWorkletMessagingProxy_h | |
| OLD | NEW |