| // Copyright 2019 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 CC_TREES_ANIMATION_EFFECT_TIMINGS_H_ |
| #define CC_TREES_ANIMATION_EFFECT_TIMINGS_H_ |
| |
| #include <memory> |
| |
| #include "cc/cc_export.h" |
| |
| namespace cc { |
| |
| // This class acts as opaque handle in cc while the actual implementation lives |
| // in blink. It is meant to facilitate plumbing the effect timings from blink |
| // main thread to worklet thread via cc animations machinery. |
| class CC_EXPORT AnimationEffectTimings { |
| public: |
| virtual ~AnimationEffectTimings() = default; |
| virtual std::unique_ptr<AnimationEffectTimings> Clone() const = 0; |
| }; |
| |
| } // namespace cc |
| |
| #endif // CC_TREES_ANIMATION_EFFECT_TIMINGS_H_ |