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

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

Issue 2030513002: Remove Event.relatedTargetScoped and update event path calculation for relatedTarget (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Created 4 years, 7 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 bbe7bd023447f50c8d3e95a5a92b1b3749136d31..6f771758a24dab1d2a3ccdd393ffff74fa8eb7b1 100644
--- a/third_party/WebKit/Source/core/events/EventPath.h
+++ b/third_party/WebKit/Source/core/events/EventPath.h
@@ -83,7 +83,10 @@ private:
void calculateTreeOrderAndSetNearestAncestorClosedTree();
void shrink(size_t newSize) { ASSERT(!m_windowEventContext); m_nodeEventContexts.shrink(newSize); }
- void shrinkIfNeeded(const Node& target, const EventTarget& relatedTarget);
+
+ void retargetRelatedTarget(const Node& relatedTargetNode);
+
+ void shrinkForRelatedTarget(const Node& target, const Node& relatedTarget);
void adjustTouchList(const TouchList*, HeapVector<Member<TouchList>> adjustedTouchList, const HeapVector<Member<TreeScope>>& treeScopes);

Powered by Google App Engine
This is Rietveld 408576698