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

Side by Side Diff: third_party/WebKit/Source/web/CompositorProxyClientImpl.h

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary scope 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
(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 CompositorProxyClientImpl_h
6 #define CompositorProxyClientImpl_h
7
8 #include "core/dom/CompositorProxyClient.h"
9
jbroman 2016/04/20 21:06:42 nit: unnecessary newline
flackr 2016/04/25 14:06:28 Removed.
10 #include "wtf/Noncopyable.h"
11
12 namespace blink {
13
14 class CompositorMutatorImpl;
15 class CompositorWorkerGlobalScope;
16 class WorkerGlobalScope;
17
18 class CompositorProxyClientImpl : public CompositorProxyClient {
19 WTF_MAKE_NONCOPYABLE(CompositorProxyClientImpl);
20
21 public:
22 explicit CompositorProxyClientImpl(CompositorMutatorImpl*);
23 ~CompositorProxyClientImpl() override;
24 DECLARE_VIRTUAL_TRACE();
25
26 bool mutate(double timeNow) final;
jbroman 2016/04/20 21:06:42 nit: this seems to be overriding a method in Compo
flackr 2016/04/25 14:06:28 No longer overridiing the method in CompositorProx
27
28 // CompositorProxyClient:
29 void setGlobalScope(WorkerGlobalScope*) override;
30 void requestMutation() override;
31
32 private:
33 bool executeAnimationFrameCallbacks(double time);
34
35 CompositorMutatorImpl* m_mutator;
jbroman 2016/04/20 21:06:42 lifetime of the CompositorMutatorImpl isn't obviou
36
37 Member<CompositorWorkerGlobalScope> m_globalScope;
38 bool m_executingAnimationFrameCallbacks;
39 bool m_requestedAnimationFrameCallbacks;
40 };
41
42 } // namespace blink
43
44 #endif // CompositorProxyClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698