#include "third_party/blink/renderer/core/input/widget_event_handler.h"
#include "third_party/blink/public/common/input/web_coalesced_input_event.h"
#include "third_party/blink/renderer/core/accessibility/ax_object_cache.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/events/web_input_event_conversion.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/layout/layout_shift_tracker.h"
#include "third_party/blink/renderer/core/timing/dom_window_performance.h"
#include "third_party/blink/renderer/core/timing/window_performance.h"
#include "ui/gfx/geometry/point_conversions.h"
namespace blink {
WebInputEventResult WidgetEventHandler::HandleInputEvent(
const WebCoalescedInputEvent& coalesced_event,
LocalFrame* root) { … }
void WidgetEventHandler::HandleMouseMove(
LocalFrame& local_root,
const WebMouseEvent& event,
const std::vector<std::unique_ptr<WebInputEvent>>& coalesced_events,
const std::vector<std::unique_ptr<WebInputEvent>>& predicted_events) { … }
void WidgetEventHandler::HandleMouseLeave(LocalFrame& local_root,
const WebMouseEvent& event) { … }
namespace {
bool IsDoubleAltClick(const blink::WebMouseEvent& mouse_event) { … }
}
void WidgetEventHandler::HandleMouseDown(LocalFrame& local_root,
const WebMouseEvent& event) { … }
WebInputEventResult WidgetEventHandler::HandleMouseUp(
LocalFrame& local_root,
const WebMouseEvent& event) { … }
WebInputEventResult WidgetEventHandler::HandleMouseWheel(
LocalFrame& local_root,
const WebMouseWheelEvent& event) { … }
WebInputEventResult WidgetEventHandler::HandlePointerEvent(
LocalFrame& local_root,
const WebPointerEvent& event,
const std::vector<std::unique_ptr<WebInputEvent>>& coalesced_events,
const std::vector<std::unique_ptr<WebInputEvent>>& predicted_events) { … }
}