Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebScrollOffsetAnimationCurve.h
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.
4
5 #ifndef WebScrollOffsetAnimationCurve_h
6 #define WebScrollOffsetAnimationCurve_h
7
8 #include "WebAnimationCurve.h"
9 #include "WebFloatPoint.h"
10
11 namespace blink {
12
13 class WebScrollOffsetAnimationCurve : public WebAnimationCurve {
14 public:
15     virtual ~WebScrollOffsetAnimationCurve() { }
16
17     virtual void setInitialValue(WebFloatPoint) = 0;
18     virtual WebFloatPoint getValue(double time) const = 0;
19     virtual double duration() const = 0;
20 };
21
22 } // namespace blink
23
24 #endif // WebScrollOffsetAnimationCurve_h