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

Side by Side Diff: Source/modules/compositorworker/CompositorWorkerThread.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 CompositorWorkerThread_h
6 #define CompositorWorkerThread_h
7
8 #include "core/workers/DedicatedWorkerThread.h"
9
10 namespace blink {
11
12 class CompositorWorkerThread final : public DedicatedWorkerThread {
kinuko 2015/03/25 05:48:45 If we're going to use the underlying thread differ
sadrul 2015/03/25 06:13:07 WorkerMessagingProxy::createWorkerThread() expects
tkent 2015/03/25 07:37:55 Probably we should introduce new WorkerThread clas
sadrul 2015/03/26 01:27:48 Turns out, we can just use 'WorkerThread' (instead
13 public:
14 static PassRefPtr<CompositorWorkerThread> create(PassRefPtr<WorkerLoaderProx y>, WorkerObjectProxy&, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadSt artupData>);
15 virtual ~CompositorWorkerThread();
16
17 private:
18 CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, do uble timeOrigin, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>);
19
20 v8::Isolate* initializeIsolate() override;
21 void willDestroyIsolate() override;
22 void destroyIsolate() override;
23 void terminateV8Execution() override;
24
25 PassOwnPtr<WebThreadSupportingGC> createWebThreadSupportingGC() override;
26 void didStartRunLoop() override;
27 void didStopRunLoop() override;
28 };
29
30 } // namespace blink
31
32 #endif // CompositorWorkerThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698