Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Side by Side Diff: public/platform/WebScrollOffsetAnimationCurve.h

Issue 412123002: Rename WebAnimation to WebCompositorAnimation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Set upstream branch Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebScrollOffsetAnimationCurve_h 5 #ifndef WebScrollOffsetAnimationCurve_h
6 #define WebScrollOffsetAnimationCurve_h 6 #define WebScrollOffsetAnimationCurve_h
7 7
8 #include "WebAnimationCurve.h" 8 #include "WebCompositorAnimationCurve.h"
9 9
10 #include "WebFloatPoint.h" 10 #include "WebFloatPoint.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class WebScrollOffsetAnimationCurve : public WebAnimationCurve { 14 class WebScrollOffsetAnimationCurve : public WebCompositorAnimationCurve {
15 public: 15 public:
16 virtual ~WebScrollOffsetAnimationCurve() { } 16 virtual ~WebScrollOffsetAnimationCurve() { }
17 17
18 virtual void setInitialValue(WebFloatPoint) = 0; 18 virtual void setInitialValue(WebFloatPoint) = 0;
19 virtual WebFloatPoint getValue(double time) const = 0; 19 virtual WebFloatPoint getValue(double time) const = 0;
20 virtual double duration() const = 0; 20 virtual double duration() const = 0;
21 }; 21 };
22 22
23 } // namespace blink 23 } // namespace blink
24 24
25 #endif // WebScrollOffsetAnimationCurve_h 25 #endif // WebScrollOffsetAnimationCurve_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698