OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 WorkletModuleTreeClient_h |
| 6 #define WorkletModuleTreeClient_h |
| 7 |
5 #include "core/dom/Modulator.h" | 8 #include "core/dom/Modulator.h" |
6 #include "core/workers/WorkletPendingTasks.h" | 9 #include "core/workers/WorkletPendingTasks.h" |
7 #include "platform/WebTaskRunner.h" | 10 #include "platform/WebTaskRunner.h" |
8 #include "platform/heap/GarbageCollected.h" | 11 #include "platform/heap/GarbageCollected.h" |
9 | 12 |
10 namespace blink { | 13 namespace blink { |
11 | 14 |
12 class ModuleScript; | 15 class ModuleScript; |
13 | 16 |
14 // A ModuleTreeClient that lives on the worklet context's thread. | 17 // A ModuleTreeClient that lives on the worklet context's thread. |
(...skipping 12 matching lines...) Expand all Loading... |
27 | 30 |
28 DECLARE_VIRTUAL_TRACE(); | 31 DECLARE_VIRTUAL_TRACE(); |
29 | 32 |
30 private: | 33 private: |
31 Member<Modulator> modulator_; | 34 Member<Modulator> modulator_; |
32 RefPtr<WebTaskRunner> outside_settings_task_runner_; | 35 RefPtr<WebTaskRunner> outside_settings_task_runner_; |
33 CrossThreadPersistent<WorkletPendingTasks> pending_tasks_; | 36 CrossThreadPersistent<WorkletPendingTasks> pending_tasks_; |
34 }; | 37 }; |
35 | 38 |
36 } // namespace blink | 39 } // namespace blink |
| 40 |
| 41 #endif // WorkletModuleTreeClient_h |
OLD | NEW |