| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 CompositorProxyClient_h | 5 #ifndef CompositorProxyClient_h |
| 6 #define CompositorProxyClient_h | 6 #define CompositorProxyClient_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/workers/WorkerClients.h" | 9 #include "core/workers/WorkerClients.h" |
| 10 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 class CORE_EXPORT CompositorProxyClient : public Supplement<WorkerClients> { | 22 class CORE_EXPORT CompositorProxyClient : public Supplement<WorkerClients> { |
| 23 WTF_MAKE_NONCOPYABLE(CompositorProxyClient); | 23 WTF_MAKE_NONCOPYABLE(CompositorProxyClient); |
| 24 | 24 |
| 25 public: | 25 public: |
| 26 CompositorProxyClient() {} | 26 CompositorProxyClient() {} |
| 27 | 27 |
| 28 static CompositorProxyClient* from(WorkerClients*); | 28 static CompositorProxyClient* from(WorkerClients*); |
| 29 static const char* supplementName(); | 29 static const char* supplementName(); |
| 30 | 30 |
| 31 virtual void setGlobalScope(WorkerGlobalScope*) = 0; | 31 virtual void setGlobalScope(WorkerGlobalScope*) = 0; |
| 32 virtual void runAnimationFrameCallbacks() = 0; | 32 virtual void requestAnimationFrame() = 0; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 CORE_EXPORT void provideCompositorProxyClientTo(WorkerClients*, CompositorProxyC
lient*); | 35 CORE_EXPORT void provideCompositorProxyClientTo(WorkerClients*, CompositorProxyC
lient*); |
| 36 | 36 |
| 37 } // namespace blink | 37 } // namespace blink |
| 38 | 38 |
| 39 #endif // CompositorProxyClient_h | 39 #endif // CompositorProxyClient_h |
| OLD | NEW |