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

Side by Side Diff: third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h

Issue 2214263007: [worklets] Split apart CompositorWorkerThread for sharing with AnimationWorkletThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix spelling. Created 4 years, 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef AbstractCompositorWorkerThread_h
6 #define AbstractCompositorWorkerThread_h
7
8 #include "core/workers/WorkerThread.h"
9 #include "modules/ModulesExport.h"
10 #include <memory>
11
12 namespace blink {
13
14 class WorkerReportingProxy;
15
16 // TODO(ikilpatrick): Remove this class up to AnimationWorkletThread once we no
17 // longer have CompositorWorker.
18 class MODULES_EXPORT AbstractCompositorWorkerThread : public WorkerThread {
19 public:
20 ~AbstractCompositorWorkerThread() override;
21
22 WorkerBackingThread& workerBackingThread() override;
23 bool shouldAttachThreadDebugger() const override { return false; }
24
25 static void ensureSharedBackingThread();
26 static void createSharedBackingThreadForTest();
27
28 static void clearSharedBackingThread();
29
30 protected:
31 AbstractCompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportin gProxy&);
majidvp 2016/08/08 12:46:48 I believe you need to #include WorkerLoaderProxy.h
ikilpatrick 2016/08/08 13:54:58 Done.
32
33 bool isOwningBackingThread() const override { return false; }
34 };
35
36 } // namespace blink
37
38 #endif // AbstractCompositorWorkerThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698