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 CompositorWorkerGlobalScope_h | 5 #ifndef CompositorWorkerGlobalScope_h |
6 #define CompositorWorkerGlobalScope_h | 6 #define CompositorWorkerGlobalScope_h |
7 | 7 |
| 8 #include <memory> |
8 #include "core/dom/FrameRequestCallbackCollection.h" | 9 #include "core/dom/FrameRequestCallbackCollection.h" |
9 #include "core/dom/MessagePort.h" | 10 #include "core/dom/MessagePort.h" |
10 #include "core/workers/WorkerGlobalScope.h" | 11 #include "core/workers/WorkerGlobalScope.h" |
11 #include "modules/ModulesExport.h" | 12 #include "modules/ModulesExport.h" |
12 #include <memory> | |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class CompositorWorkerThread; | 16 class CompositorWorkerThread; |
17 class InProcessWorkerObjectProxy; | 17 class InProcessWorkerObjectProxy; |
18 class WorkerThreadStartupData; | 18 class WorkerThreadStartupData; |
19 | 19 |
20 class MODULES_EXPORT CompositorWorkerGlobalScope final | 20 class MODULES_EXPORT CompositorWorkerGlobalScope final |
21 : public WorkerGlobalScope { | 21 : public WorkerGlobalScope { |
22 DEFINE_WRAPPERTYPEINFO(); | 22 DEFINE_WRAPPERTYPEINFO(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 InProcessWorkerObjectProxy& workerObjectProxy() const; | 60 InProcessWorkerObjectProxy& workerObjectProxy() const; |
61 | 61 |
62 bool m_executingAnimationFrameCallbacks; | 62 bool m_executingAnimationFrameCallbacks; |
63 FrameRequestCallbackCollection m_callbackCollection; | 63 FrameRequestCallbackCollection m_callbackCollection; |
64 }; | 64 }; |
65 | 65 |
66 } // namespace blink | 66 } // namespace blink |
67 | 67 |
68 #endif // CompositorWorkerGlobalScope_h | 68 #endif // CompositorWorkerGlobalScope_h |
OLD | NEW |