Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Unified Diff: third_party/WebKit/Source/core/events/EventPath.h

Issue 2384403002: Dispatch synthetic events even when target and relatedTarget are identical (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/EventPath.h
diff --git a/third_party/WebKit/Source/core/events/EventPath.h b/third_party/WebKit/Source/core/events/EventPath.h
index 1eefb91b26817476c6ae7ceac514e24c16a219ba..544c77f7a85d51ac9c7eb4344d5a9c294f36c1a7 100644
--- a/third_party/WebKit/Source/core/events/EventPath.h
+++ b/third_party/WebKit/Source/core/events/EventPath.h
@@ -91,6 +91,10 @@ class CORE_EXPORT EventPath final : public GarbageCollected<EventPath> {
void calculateAdjustedTargets();
void calculateTreeOrderAndSetNearestAncestorClosedTree();
+ bool shouldStopEventPath(EventTarget& currentTarget,
+ EventTarget& currentRelatedTarget,
+ const Node& target);
+
void shrink(size_t newSize) {
DCHECK(!m_windowEventContext);
m_nodeEventContexts.shrink(newSize);
@@ -98,7 +102,7 @@ class CORE_EXPORT EventPath final : public GarbageCollected<EventPath> {
void retargetRelatedTarget(const Node& relatedTargetNode);
- void shrinkForRelatedTarget(const Node& target, const Node& relatedTarget);
+ void shrinkForRelatedTarget(const Node& target);
void adjustTouchList(const TouchList*,
HeapVector<Member<TouchList>> adjustedTouchList,

Powered by Google App Engine
This is Rietveld 408576698