Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / WebScrollOffsetAnimationCurve.h
blob06e46befaed74cc7f45486188ab7e7e2b693f535
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"
11 namespace blink {
13 class WebScrollOffsetAnimationCurve : public WebCompositorAnimationCurve {
14 public:
15 virtual ~WebScrollOffsetAnimationCurve() { }
17 virtual void setInitialValue(WebFloatPoint) = 0;
18 virtual WebFloatPoint getValue(double time) const = 0;
19 virtual double duration() const = 0;
22 } // namespace blink
24 #endif // WebScrollOffsetAnimationCurve_h