OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CompositorWorkerThread_h | 5 #ifndef CompositorWorkerThread_h |
6 #define CompositorWorkerThread_h | 6 #define CompositorWorkerThread_h |
7 | 7 |
| 8 #include <memory> |
8 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
9 #include "modules/compositorworker/AbstractAnimationWorkletThread.h" | 10 #include "modules/compositorworker/AbstractAnimationWorkletThread.h" |
10 #include <memory> | |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class InProcessWorkerObjectProxy; | 14 class InProcessWorkerObjectProxy; |
15 | 15 |
16 class MODULES_EXPORT CompositorWorkerThread final | 16 class MODULES_EXPORT CompositorWorkerThread final |
17 : public AbstractAnimationWorkletThread { | 17 : public AbstractAnimationWorkletThread { |
18 public: | 18 public: |
19 static std::unique_ptr<CompositorWorkerThread> create( | 19 static std::unique_ptr<CompositorWorkerThread> create( |
20 PassRefPtr<WorkerLoaderProxy>, | 20 PassRefPtr<WorkerLoaderProxy>, |
(...skipping 16 matching lines...) Expand all Loading... |
37 ParentFrameTaskRunners*, | 37 ParentFrameTaskRunners*, |
38 double timeOrigin); | 38 double timeOrigin); |
39 | 39 |
40 InProcessWorkerObjectProxy& m_workerObjectProxy; | 40 InProcessWorkerObjectProxy& m_workerObjectProxy; |
41 double m_timeOrigin; | 41 double m_timeOrigin; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace blink | 44 } // namespace blink |
45 | 45 |
46 #endif // CompositorWorkerThread_h | 46 #endif // CompositorWorkerThread_h |
OLD | NEW |