#include "components/input/touch_event_stream_validator.h"
#include "base/check.h"
#include "base/strings/stringprintf.h"
#include "third_party/blink/public/common/input/web_touch_event.h"
#include "ui/events/blink/web_input_event_traits.h"
StringPrintf;
WebInputEvent;
WebTouchEvent;
WebTouchPoint;
namespace input {
namespace {
const WebTouchPoint* FindTouchPoint(const WebTouchEvent& event, int id) { … }
std::string TouchPointIdsToString(const WebTouchEvent& event) { … }
}
TouchEventStreamValidator::TouchEventStreamValidator() { … }
TouchEventStreamValidator::~TouchEventStreamValidator() { … }
bool TouchEventStreamValidator::Validate(const WebTouchEvent& event,
std::string* error_msg) { … }
}