OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CompositorWorker_h |
| 6 #define CompositorWorker_h |
| 7 |
| 8 #include "core/workers/Worker.h" |
| 9 #include "wtf/PassRefPtr.h" |
| 10 #include "wtf/text/AtomicString.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class ExceptionState; |
| 15 class ExecutionContext; |
| 16 class WorkerGlobalScopeProxy; |
| 17 |
| 18 class CompositorWorker final : public Worker { |
| 19 DEFINE_WRAPPERTYPEINFO(); |
| 20 public: |
| 21 static PassRefPtrWillBeRawPtr<CompositorWorker> create(ExecutionContext*, co
nst String& url, ExceptionState&); |
| 22 ~CompositorWorker() override; |
| 23 |
| 24 const AtomicString& interfaceName() const override; |
| 25 WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(ExecutionContext*) over
ride; |
| 26 |
| 27 private: |
| 28 explicit CompositorWorker(ExecutionContext*); |
| 29 }; |
| 30 |
| 31 } // namespace blink |
| 32 |
| 33 #endif // CompositorWorker_h |
OLD | NEW |