| Index: Source/WebCore/platform/ActivePlatformGestureAnimation.cpp
|
| ===================================================================
|
| --- Source/WebCore/platform/ActivePlatformGestureAnimation.cpp (revision 112613)
|
| +++ Source/WebCore/platform/ActivePlatformGestureAnimation.cpp (working copy)
|
| @@ -41,6 +41,11 @@
|
| return adoptPtr(new ActivePlatformGestureAnimation(curve, target));
|
| }
|
|
|
| +PassOwnPtr<ActivePlatformGestureAnimation> ActivePlatformGestureAnimation::create(PassOwnPtr<PlatformGestureCurve> curve, PlatformGestureCurveTarget* target, double startTime)
|
| +{
|
| + return adoptPtr(new ActivePlatformGestureAnimation(curve, target, startTime));
|
| +}
|
| +
|
| ActivePlatformGestureAnimation::~ActivePlatformGestureAnimation()
|
| {
|
| #if PLATFORM(CHROMIUM)
|
| @@ -59,6 +64,17 @@
|
| #endif
|
| }
|
|
|
| +ActivePlatformGestureAnimation::ActivePlatformGestureAnimation(PassOwnPtr<PlatformGestureCurve> curve, PlatformGestureCurveTarget* target, double startTime)
|
| + : m_startTime(startTime)
|
| + , m_waitingForFirstTick(false)
|
| + , m_curve(curve)
|
| + , m_target(target)
|
| +{
|
| +#if PLATFORM(CHROMIUM)
|
| + TRACE_EVENT_START1("input", "GestureAnimation", this, "curve", m_curve->debugName());
|
| +#endif
|
| +}
|
| +
|
| bool ActivePlatformGestureAnimation::animate(double time)
|
| {
|
| if (m_waitingForFirstTick) {
|
|
|