1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WebScrollOffsetAnimationCurve_h
6 #define WebScrollOffsetAnimationCurve_h
8 #include "WebCompositorAnimationCurve.h"
9 #include "WebFloatPoint.h"
13 class WebScrollOffsetAnimationCurve
: public WebCompositorAnimationCurve
{
15 virtual ~WebScrollOffsetAnimationCurve() { }
17 virtual void setInitialValue(WebFloatPoint
) = 0;
18 virtual WebFloatPoint
getValue(double time
) const = 0;
19 virtual double duration() const = 0;
24 #endif // WebScrollOffsetAnimationCurve_h