#include "ui/gfx/animation/animation_runner.h"
#include <utility>
#include "base/timer/timer.h"
namespace {
class DefaultAnimationRunner : public gfx::AnimationRunner { … };
void DefaultAnimationRunner::Stop() { … }
void DefaultAnimationRunner::OnStart(base::TimeDelta min_interval,
base::TimeDelta elapsed) { … }
void DefaultAnimationRunner::OnTimerTick() { … }
}
namespace gfx {
std::unique_ptr<AnimationRunner>
AnimationRunner::CreateDefaultAnimationRunner() { … }
AnimationRunner::~AnimationRunner() = default;
void AnimationRunner::Start(
base::TimeDelta min_interval,
base::TimeDelta elapsed,
base::RepeatingCallback<void(base::TimeTicks)> step) { … }
AnimationRunner::AnimationRunner() = default;
void AnimationRunner::Step(base::TimeTicks tick) { … }
void AnimationRunner::SetAnimationTimeForTesting(base::TimeTicks time) { … }
}