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 AnimationWorkletThread_h |
| 6 #define AnimationWorkletThread_h |
| 7 |
| 8 #include "modules/ModulesExport.h" |
| 9 #include "modules/compositorworker/AbstractAnimationWorkletThread.h" |
| 10 #include <memory> |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class WorkerReportingProxy; |
| 15 |
| 16 class MODULES_EXPORT AnimationWorkletThread final : public AbstractAnimationWork
letThread { |
| 17 public: |
| 18 static std::unique_ptr<AnimationWorkletThread> create(PassRefPtr<WorkerLoade
rProxy>, WorkerReportingProxy&); |
| 19 ~AnimationWorkletThread() override; |
| 20 |
| 21 protected: |
| 22 WorkerOrWorkletGlobalScope* createWorkerGlobalScope(std::unique_ptr<WorkerTh
readStartupData>) final; |
| 23 |
| 24 private: |
| 25 AnimationWorkletThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&)
; |
| 26 }; |
| 27 |
| 28 } // namespace blink |
| 29 |
| 30 #endif // AnimationWorkletThread_h |
OLD | NEW |