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

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

Issue 1992933002: Introduce WorkletGlobalScopeProxy interface. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests. Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 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 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 CompositorWorkerThread_h 5 #ifndef CompositorWorkerThread_h
6 #define CompositorWorkerThread_h 6 #define CompositorWorkerThread_h
7 7
8 #include "core/workers/WorkerThread.h" 8 #include "core/workers/WorkerThread.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 10
(...skipping 15 matching lines...) Expand all
26 static void createSharedBackingThreadForTest(); 26 static void createSharedBackingThreadForTest();
27 27
28 // This is called before CoreInitializer::shutdown as shutdown waits for 28 // This is called before CoreInitializer::shutdown as shutdown waits for
29 // worker threads that can be blocked by scripts. 29 // worker threads that can be blocked by scripts.
30 static void terminateExecution(); 30 static void terminateExecution();
31 static void clearSharedBackingThread(); 31 static void clearSharedBackingThread();
32 32
33 protected: 33 protected:
34 CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, InProcessWorkerObjectP roxy&, double timeOrigin); 34 CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, InProcessWorkerObjectP roxy&, double timeOrigin);
35 35
36 WorkerGlobalScope* createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupDat a>) override; 36 WorkerGlobalScope* createWorkerGlobalScope(WorkerThreadStartupData*) overrid e;
37 37
38 private: 38 private:
39 InProcessWorkerObjectProxy& m_workerObjectProxy; 39 InProcessWorkerObjectProxy& m_workerObjectProxy;
40 double m_timeOrigin; 40 double m_timeOrigin;
41 }; 41 };
42 42
43 } // namespace blink 43 } // namespace blink
44 44
45 #endif // CompositorWorkerThread_h 45 #endif // CompositorWorkerThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698