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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: 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 AnimationWorkletThread_h 5 #ifndef AnimationWorkletThread_h
6 #define AnimationWorkletThread_h 6 #define AnimationWorkletThread_h
7 7
8 #include <memory>
8 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
9 #include "modules/compositorworker/AbstractAnimationWorkletThread.h" 10 #include "modules/compositorworker/AbstractAnimationWorkletThread.h"
10 #include <memory>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class WorkerReportingProxy; 14 class WorkerReportingProxy;
15 15
16 class MODULES_EXPORT AnimationWorkletThread final 16 class MODULES_EXPORT AnimationWorkletThread final
17 : public AbstractAnimationWorkletThread { 17 : public AbstractAnimationWorkletThread {
18 public: 18 public:
19 static std::unique_ptr<AnimationWorkletThread> create( 19 static std::unique_ptr<AnimationWorkletThread> create(
20 PassRefPtr<WorkerLoaderProxy>, 20 PassRefPtr<WorkerLoaderProxy>,
21 WorkerReportingProxy&, 21 WorkerReportingProxy&,
22 ParentFrameTaskRunners*); 22 ParentFrameTaskRunners*);
23 ~AnimationWorkletThread() override; 23 ~AnimationWorkletThread() override;
24 24
25 protected: 25 protected:
26 WorkerOrWorkletGlobalScope* createWorkerGlobalScope( 26 WorkerOrWorkletGlobalScope* createWorkerGlobalScope(
27 std::unique_ptr<WorkerThreadStartupData>) final; 27 std::unique_ptr<WorkerThreadStartupData>) final;
28 28
29 private: 29 private:
30 AnimationWorkletThread(PassRefPtr<WorkerLoaderProxy>, 30 AnimationWorkletThread(PassRefPtr<WorkerLoaderProxy>,
31 WorkerReportingProxy&, 31 WorkerReportingProxy&,
32 ParentFrameTaskRunners*); 32 ParentFrameTaskRunners*);
33 }; 33 };
34 34
35 } // namespace blink 35 } // namespace blink
36 36
37 #endif // AnimationWorkletThread_h 37 #endif // AnimationWorkletThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698