chromium/ui/views/animation/scroll_animator.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/animation/scroll_animator.h"

#include <algorithm>
#include <cmath>

#include "base/check.h"
#include "ui/gfx/animation/slide_animation.h"

namespace {
constexpr float kDefaultAcceleration =;  // in pixels per second^2

// Assumes that d0 == 0.0f
float GetPosition(float v0, float a, float t) {}

float GetDelta(float v0, float a, float t1, float t2) {}

}  // namespace

namespace views {

ScrollAnimator::ScrollAnimator(ScrollDelegate* delegate)
    :{}

ScrollAnimator::~ScrollAnimator() {}

void ScrollAnimator::Start(float velocity_x, float velocity_y) {}

void ScrollAnimator::Stop() {}

void ScrollAnimator::AnimationEnded(const gfx::Animation* animation) {}

void ScrollAnimator::AnimationProgressed(const gfx::Animation* animation) {}

void ScrollAnimator::AnimationCanceled(const gfx::Animation* animation) {}

}  // namespace views