Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1341)

Unified Diff: Source/modules/compositorworker/CompositorWorker.h

Issue 1018863002: compositor-worker: Introduce CompositorWorker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/EventTargetModulesFactory.in ('k') | Source/modules/compositorworker/CompositorWorker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/compositorworker/CompositorWorker.h
diff --git a/Source/modules/compositorworker/CompositorWorker.h b/Source/modules/compositorworker/CompositorWorker.h
new file mode 100644
index 0000000000000000000000000000000000000000..9dde1219eebc62e4f5c5686a353cdbb025424dd4
--- /dev/null
+++ b/Source/modules/compositorworker/CompositorWorker.h
@@ -0,0 +1,33 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CompositorWorker_h
+#define CompositorWorker_h
+
+#include "core/workers/Worker.h"
+#include "wtf/PassRefPtr.h"
+#include "wtf/text/AtomicString.h"
+
+namespace blink {
+
+class ExceptionState;
+class ExecutionContext;
+class WorkerGlobalScopeProxy;
+
+class CompositorWorker final : public Worker {
+ DEFINE_WRAPPERTYPEINFO();
+public:
+ static PassRefPtrWillBeRawPtr<CompositorWorker> create(ExecutionContext*, const String& url, ExceptionState&);
+ ~CompositorWorker() override;
+
+ const AtomicString& interfaceName() const override;
+ WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(ExecutionContext*) override;
+
+private:
+ explicit CompositorWorker(ExecutionContext*);
+};
+
+} // namespace blink
+
+#endif // CompositorWorker_h
« no previous file with comments | « Source/modules/EventTargetModulesFactory.in ('k') | Source/modules/compositorworker/CompositorWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698