| Index: third_party/WebKit/Source/web/CompositorAnimator.h
|
| diff --git a/third_party/WebKit/Source/web/CompositorAnimator.h b/third_party/WebKit/Source/web/CompositorAnimator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..785d46a2bb732ca53713c633e6d2c5fd1e5d4751
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/web/CompositorAnimator.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CompositorAnimator_h
|
| +#define CompositorAnimator_h
|
| +
|
| +#include "platform/graphics/CompositorMutableStateProvider.h"
|
| +#include "platform/heap/Handle.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CompositorAnimator : public GarbageCollectedMixin {
|
| + public:
|
| + // Runs the animation frame callback for the frame starting at the given time.
|
| + // Returns true if another animation frame was requested (i.e. should be
|
| + // reinvoked next frame).
|
| + virtual bool mutate(double monotonicTimeNow,
|
| + CompositorMutableStateProvider*) = 0;
|
| + DEFINE_INLINE_VIRTUAL_TRACE() {}
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // CompositorAnimator_h
|
|
|