#ifndef CONTENT_COMMON_INPUT_GESTURE_EVENT_STREAM_VALIDATOR
#define CONTENT_COMMON_INPUT_GESTURE_EVENT_STREAM_VALIDATOR
#include "base/basictypes.h"
namespace blink {
class WebGestureEvent;
}
namespace content {
class GestureEventStreamValidator {
public:
GestureEventStreamValidator();
~GestureEventStreamValidator();
bool Validate(const blink::WebGestureEvent& event,
const char** error_message);
private:
bool scrolling_;
bool pinching_;
bool waiting_for_tap_end_;
DISALLOW_COPY_AND_ASSIGN(GestureEventStreamValidator);
};
}
#endif