#include "ui/events/blink/web_input_event_traits.h"
#include "base/check_op.h"
#include "base/strings/stringprintf.h"
#include "third_party/blink/public/common/input/web_gesture_event.h"
#include "third_party/blink/public/common/input/web_keyboard_event.h"
#include "third_party/blink/public/common/input/web_mouse_wheel_event.h"
#include "third_party/blink/public/common/input/web_pointer_event.h"
#include "third_party/blink/public/common/input/web_touch_event.h"
StringAppendF;
WebGestureEvent;
WebInputEvent;
WebKeyboardEvent;
WebMouseEvent;
WebMouseWheelEvent;
WebPointerEvent;
WebTouchEvent;
WebTouchPoint;
namespace ui {
namespace {
void ApppendEventDetails(const WebKeyboardEvent& event, std::string* result) { … }
void ApppendEventDetails(const WebMouseEvent& event, std::string* result) { … }
void ApppendEventDetails(const WebMouseWheelEvent& event, std::string* result) { … }
void ApppendEventDetails(const WebGestureEvent& event, std::string* result) { … }
void ApppendTouchPointDetails(const WebTouchPoint& point, std::string* result) { … }
void ApppendEventDetails(const WebTouchEvent& event, std::string* result) { … }
void ApppendEventDetails(const WebPointerEvent& event, std::string* result) { … }
template <typename EventType>
std::string Execute(const WebInputEvent& event) { … }
}
std::string WebInputEventTraits::ToString(const WebInputEvent& event) { … }
bool WebInputEventTraits::ShouldBlockEventStream(const WebInputEvent& event) { … }
uint32_t WebInputEventTraits::GetUniqueTouchEventId(
const WebInputEvent& event) { … }
}