#ifndef UI_COMPOSITOR_LAYER_THREADED_ANIMATION_DELEGATE_H_
#define UI_COMPOSITOR_LAYER_THREADED_ANIMATION_DELEGATE_H_
#include <memory>
#include "cc/animation/keyframe_model.h"
#include "ui/compositor/compositor_export.h"
namespace ui {
class COMPOSITOR_EXPORT LayerThreadedAnimationDelegate {
public:
virtual void AddThreadedAnimation(
std::unique_ptr<cc::KeyframeModel> keyframe_model) = 0;
virtual void RemoveThreadedAnimation(int keyframe_model_id) = 0;
protected:
virtual ~LayerThreadedAnimationDelegate() {}
};
}
#endif