Chromium Code Reviews| Index: third_party/WebKit/Source/core/animation/WorkletAnimationBase.h |
| diff --git a/third_party/WebKit/Source/core/animation/WorkletAnimationBase.h b/third_party/WebKit/Source/core/animation/WorkletAnimationBase.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e107d933fbf3613b4d2e42c1957ff245cc4251df |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/animation/WorkletAnimationBase.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2017 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 WorkletAnimationBase_h |
| +#define WorkletAnimationBase_h |
| + |
| +#include "core/CoreExport.h" |
| +#include "platform/heap/GarbageCollected.h" |
| + |
| +namespace blink { |
| + |
| +class CORE_EXPORT WorkletAnimationBase |
| + : public GarbageCollectedFinalized<WorkletAnimationBase> { |
| + public: |
| + virtual ~WorkletAnimationBase() {} |
| + |
| + // TODO(smcgruer): Rename. |
|
flackr
2017/06/05 19:08:39
What does update mean? Run animations?
smcgruer
2017/06/06 13:22:11
No, it's analogous to CompositorPendingAnimations:
|
| + virtual void Update() = 0; |
| + |
| + DEFINE_INLINE_VIRTUAL_TRACE() {} |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WorkletAnimationBase_h |