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

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

Issue 2539443004: Worker: Move ParentFrameTaskRunners from WorkerReportingProxy to ObjectProxy (Closed)
Patch Set: rebase Created 3 years, 10 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
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 AbstractAnimationWorkletThread_h 5 #ifndef AbstractAnimationWorkletThread_h
6 #define AbstractAnimationWorkletThread_h 6 #define AbstractAnimationWorkletThread_h
7 7
8 #include "core/workers/WorkerLoaderProxy.h" 8 #include "core/workers/WorkerLoaderProxy.h"
9 #include "core/workers/WorkerThread.h" 9 #include "core/workers/WorkerThread.h"
10 #include "modules/ModulesExport.h" 10 #include "modules/ModulesExport.h"
(...skipping 17 matching lines...) Expand all
28 // This may block the main thread. 28 // This may block the main thread.
29 static void collectAllGarbage(); 29 static void collectAllGarbage();
30 30
31 static void ensureSharedBackingThread(); 31 static void ensureSharedBackingThread();
32 static void clearSharedBackingThread(); 32 static void clearSharedBackingThread();
33 33
34 static void createSharedBackingThreadForTest(); 34 static void createSharedBackingThreadForTest();
35 35
36 protected: 36 protected:
37 AbstractAnimationWorkletThread(PassRefPtr<WorkerLoaderProxy>, 37 AbstractAnimationWorkletThread(PassRefPtr<WorkerLoaderProxy>,
38 WorkerReportingProxy&); 38 WorkerReportingProxy&,
39 ParentFrameTaskRunners*);
39 40
40 bool isOwningBackingThread() const override { return false; } 41 bool isOwningBackingThread() const override { return false; }
41 }; 42 };
42 43
43 } // namespace blink 44 } // namespace blink
44 45
45 #endif // AbstractAnimationWorkletThread_h 46 #endif // AbstractAnimationWorkletThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698