#include "third_party/blink/renderer/core/input/event_handling_util.h"
#include "base/feature_list.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/input/web_mouse_event.h"
#include "third_party/blink/renderer/core/dom/flat_tree_traversal.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/layout/layout_embedded_content.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"
#include "third_party/blink/renderer/core/scroll/scrollable_area.h"
namespace blink {
namespace event_handling_util {
HitTestResult HitTestResultInFrame(
LocalFrame* frame,
const HitTestLocation& location,
HitTestRequest::HitTestRequestType hit_type) { … }
WebInputEventResult MergeEventResult(WebInputEventResult result_a,
WebInputEventResult result_b) { … }
WebInputEventResult ToWebInputEventResult(DispatchEventResult result) { … }
PaintLayer* LayerForNode(Node* node) { … }
bool IsInDocument(EventTarget* n) { … }
ScrollableArea* AssociatedScrollableArea(const PaintLayer* layer) { … }
ContainerNode* ParentForClickEvent(const Node& node) { … }
PhysicalOffset ContentPointFromRootFrame(
LocalFrame* frame,
const gfx::PointF& point_in_root_frame) { … }
MouseEventWithHitTestResults PerformMouseEventHitTest(
LocalFrame* frame,
const HitTestRequest& request,
const WebMouseEvent& mev) { … }
bool ShouldDiscardEventTargetingFrame(const WebInputEvent& event,
const LocalFrame& frame) { … }
LocalFrame* SubframeForTargetNode(Node* node, bool* is_remote_frame) { … }
LocalFrame* GetTargetSubframe(
const MouseEventWithHitTestResults& hit_test_result,
bool* is_remote_frame) { … }
void PointerEventTarget::Trace(Visitor* visitor) const { … }
}
}