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

Side by Side Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkletThread.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
(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 CompositorWorkletThread_h
6 #define CompositorWorkletThread_h
7
8 #include "modules/worklet/WorkletThread.h"
9 #include "wtf/PassOwnPtr.h"
10
11 namespace blink {
12
13 class CompositorWorkletThread final : public WorkletThread {
14 public:
15 static PassOwnPtr<CompositorWorkletThread> create(const KURL&, const String& userAgent, PassRefPtr<SecurityOrigin>);
16 ~CompositorWorkletThread() override;
17
18 WorkerBackingThread& workerBackingThread() final;
19
20 protected:
21 WorkletGlobalScope* createWorkletGlobalScope(const KURL&, const String& user Agent, PassRefPtr<SecurityOrigin>) final;
22
23 private:
24 CompositorWorkletThread();
25 };
26
27 } // namespace blink
28
29 #endif // CompositorWorkletThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698