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

Side by Side Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h

Issue 2312493002: [worklets] Introduce ThreadedWorkletMessagingProxy and AnimationWorkletMessagaingProxy. (Closed)
Patch Set: fix buid /me shakes fist a GN files. Created 4 years, 3 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 ThreadedWorkletMessagingProxy_h
6 #define ThreadedWorkletMessagingProxy_h
7
8 #include "core/CoreExport.h"
9 #include "core/workers/ThreadedMessagingProxyBase.h"
10 #include "core/workers/WorkletGlobalScopeProxy.h"
11
12 namespace blink {
13
14 class ThreadedWorkletObjectProxy;
15
16 class CORE_EXPORT ThreadedWorkletMessagingProxy
17 : public ThreadedMessagingProxyBase
18 , public WorkletGlobalScopeProxy {
19 public:
20 // WorkletGlobalScopeProxy implementation.
21 void evaluateScript(const ScriptSourceCode&) final;
22 void terminateWorkletGlobalScope() final;
23
24 void initialize();
yhirano 2016/09/12 09:02:58 +blank line
ikilpatrick 2016/09/12 17:29:07 Done.
25 protected:
26 ThreadedWorkletMessagingProxy(ExecutionContext*);
nhiroki 2016/09/12 03:37:06 explicit
ikilpatrick 2016/09/12 17:29:07 Done.
27
28 ThreadedWorkletObjectProxy& workletObjectProxy() { return *m_workletObjectPr oxy.get(); }
yhirano 2016/09/12 09:02:58 No get is needed.
ikilpatrick 2016/09/12 17:29:07 Done.
29 private:
nhiroki 2016/09/12 03:37:06 nit: Can you add blank lines before "protected:" a
ikilpatrick 2016/09/12 17:29:07 Done.
30 std::unique_ptr<ThreadedWorkletObjectProxy> m_workletObjectProxy;
31 };
32
33 } // namespace blink
34
35 #endif // ThreadedWorkletMessagingProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698