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

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

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Remove unnecessary PLATFORM_EXPORT 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
(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 CompositorAnimator_h
6 #define CompositorAnimator_h
7
8 #include "platform/graphics/CompositorMutableStateProvider.h"
9 #include "platform/heap/Handle.h"
10
11 namespace blink {
12
13 class CompositorAnimator : public GarbageCollectedMixin {
14 public:
15 // Runs the animation frame callback for the frame starting at the given time.
16 // Returns true if another animation frame was requested (i.e. should be
17 // reinvoked next frame).
18 virtual bool mutate(double monotonicTimeNow,
19 CompositorMutableStateProvider*) = 0;
20 DEFINE_INLINE_VIRTUAL_TRACE() {}
21 };
22
23 } // namespace blink
24
25 #endif // CompositorAnimator_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/CompositorMutatorImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698