blob: 0f83bec44c63c0f74a88dae6b736ddc5dd4d6ed8 [file] [log] [blame]
// Copyright 2013 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_ANIMATION_ANIMATION_DELEGATE_H_
#define CC_ANIMATION_ANIMATION_DELEGATE_H_
#include "base/time/time.h"
#include "cc/animation/animation.h"
namespace cc {
class AnimationDelegate {
public:
virtual void NotifyAnimationStarted(
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) = 0;
virtual void NotifyAnimationFinished(
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) = 0;
protected:
virtual ~AnimationDelegate() {}
};
} // namespace cc
#endif // CC_ANIMATION_ANIMATION_DELEGATE_H_