#ifndef CONTENT_TEST_WEB_GESTURE_CURVE_MOCK_H_
#define CONTENT_TEST_WEB_GESTURE_CURVE_MOCK_H_
#include "base/memory/scoped_ptr.h"
#include "third_party/WebKit/public/platform/WebFloatPoint.h"
#include "third_party/WebKit/public/platform/WebGestureCurve.h"
#include "third_party/WebKit/public/platform/WebSize.h"
class WebGestureCurveMock : public blink::WebGestureCurve {
public:
WebGestureCurveMock(const blink::WebFloatPoint& velocity,
const blink::WebSize& cumulative_scroll);
virtual ~WebGestureCurveMock();
virtual bool apply(double time,
blink::WebGestureCurveTarget* target) OVERRIDE;
private:
blink::WebFloatPoint velocity_;
blink::WebSize cumulative_scroll_;
DISALLOW_COPY_AND_ASSIGN(WebGestureCurveMock);
};
#endif