| Index: public/platform/WebAnimationDelegate.h
|
| diff --git a/public/platform/WebGestureCurveTarget.h b/public/platform/WebAnimationDelegate.h
|
| similarity index 75%
|
| copy from public/platform/WebGestureCurveTarget.h
|
| copy to public/platform/WebAnimationDelegate.h
|
| index 1b8bfa830273130c495b230727320ee2b9b82ce8..8d195468e2e4e7f0f7727fac75c9ebfde64dcac6 100644
|
| --- a/public/platform/WebGestureCurveTarget.h
|
| +++ b/public/platform/WebAnimationDelegate.h
|
| @@ -22,22 +22,22 @@
|
| * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebGestureCurveTarget_h
|
| -#define WebGestureCurveTarget_h
|
| +#ifndef WebAnimationDelegate_h
|
| +#define WebAnimationDelegate_h
|
|
|
| -#include "WebFloatSize.h"
|
| -#include "WebPoint.h"
|
| +#include "WebAnimation.h"
|
| +
|
| +#define WebCompositorAnimationDelegate WebAnimationDelegate
|
| +#define WEB_ANIMATION_DELEGATE_TAKES_MONOTONIC_TIME 1
|
|
|
| namespace blink {
|
|
|
| -class WebGestureCurveTarget {
|
| +class WebAnimationDelegate {
|
| public:
|
| - virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocity) = 0;
|
| -
|
| -protected:
|
| - virtual ~WebGestureCurveTarget() { }
|
| + virtual void notifyAnimationStarted(double monotonicTime, WebAnimation::TargetProperty) = 0;
|
| + virtual void notifyAnimationFinished(double monotonicTime, WebAnimation::TargetProperty) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif
|
| +#endif // WebAnimationDelegate_h
|
|
|