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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 12 matching lines...) Expand all
23 // Returns the shared backing thread for all CompositorWorkers. 23 // Returns the shared backing thread for all CompositorWorkers.
24 static WebThreadSupportingGC* sharedBackingThread(); 24 static WebThreadSupportingGC* sharedBackingThread();
25 25
26 static bool hasThreadForTest(); 26 static bool hasThreadForTest();
27 static bool hasIsolateForTest(); 27 static bool hasIsolateForTest();
28 28
29 protected: 29 protected:
30 CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, do uble timeOrigin); 30 CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, do uble timeOrigin);
31 31
32 // WorkerThread: 32 // WorkerThread:
33 PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr <WorkerThreadStartupData>) override; 33 RawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadSta rtupData>) override;
34 WebThreadSupportingGC& backingThread() override; 34 WebThreadSupportingGC& backingThread() override;
35 void didStartWorkerThread() override { } 35 void didStartWorkerThread() override { }
36 void willStopWorkerThread() override { } 36 void willStopWorkerThread() override { }
37 void initializeBackingThread() override; 37 void initializeBackingThread() override;
38 void shutdownBackingThread() override; 38 void shutdownBackingThread() override;
39 v8::Isolate* initializeIsolate() override; 39 v8::Isolate* initializeIsolate() override;
40 void willDestroyIsolate() override; 40 void willDestroyIsolate() override;
41 void destroyIsolate() override; 41 void destroyIsolate() override;
42 void terminateV8Execution() override; 42 void terminateV8Execution() override;
43 43
44 private: 44 private:
45 WorkerObjectProxy& m_workerObjectProxy; 45 WorkerObjectProxy& m_workerObjectProxy;
46 double m_timeOrigin; 46 double m_timeOrigin;
47 }; 47 };
48 48
49 } // namespace blink 49 } // namespace blink
50 50
51 #endif // CompositorWorkerThread_h 51 #endif // CompositorWorkerThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698