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

Side by Side Diff: third_party/WebKit/Source/core/dom/CompositorProxyClient.h

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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 2015 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 CompositorProxyClient_h
6 #define CompositorProxyClient_h
7
8 #include "core/CoreExport.h"
9 #include "core/workers/WorkerClients.h"
10 #include "platform/heap/Handle.h"
11 #include "wtf/Noncopyable.h"
12
13 namespace blink {
14
15 class CompositorProxy;
16 class WorkerClients;
17 class WorkerGlobalScope;
18
19 class CORE_EXPORT CompositorProxyClient : public NoBaseWillBeGarbageCollectedFin alized<CompositorProxyClient>,
20 public WillBeHeapSupplement<WorkerClie nts> {
21 WTF_MAKE_NONCOPYABLE(CompositorProxyClient);
22 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(CompositorProxyClient);
23
24 public:
25 CompositorProxyClient() {}
26 virtual ~CompositorProxyClient() {}
27
28 static CompositorProxyClient* from(WorkerClients*);
29 static const char* supplementName();
30
31 virtual void registerCompositorProxy(CompositorProxy*) = 0;
32 virtual void unregisterCompositorProxy(CompositorProxy*) = 0;
33 virtual void requestSync(CompositorProxy*) = 0;
34
35 virtual void setGlobalScope(WorkerGlobalScope*) = 0;
36 virtual void requestMutation() = 0;
37 };
38
39 CORE_EXPORT void provideCompositorProxyClientTo(WorkerClients*, PassOwnPtrWillBe RawPtr<CompositorProxyClient>);
40
41 } // namespace blink
42
43 #endif // CompositorProxyClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/CompositorProxy.idl ('k') | third_party/WebKit/Source/core/dom/CompositorProxyClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698