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

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

Issue 2343923003: Make event.composedPath() on window behave the same way as that on document (Closed)
Patch Set: rebased 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 9b97a396552027eed93bc783e67bfc5f817c0eeb..1eefb91b26817476c6ae7ceac514e24c16a219ba 100644
--- a/third_party/WebKit/Source/core/events/EventPath.h
+++ b/third_party/WebKit/Source/core/events/EventPath.h
@@ -73,6 +73,8 @@ class CORE_EXPORT EventPath final : public GarbageCollected<EventPath> {
void adjustForRelatedTarget(Node&, EventTarget* relatedTarget);
void adjustForTouchEvent(TouchEvent&);
+ NodeEventContext& topNodeEventContext();
+
static EventTarget* eventTargetRespectingTargetRules(Node&);
DECLARE_TRACE();
@@ -117,8 +119,6 @@ class CORE_EXPORT EventPath final : public GarbageCollected<EventPath> {
static void checkReachability(TreeScope&, TouchList&);
#endif
- const NodeEventContext& topNodeEventContext();
-
HeapVector<NodeEventContext> m_nodeEventContexts;
Member<Node> m_node;
Member<Event> m_event;
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.cpp ('k') | third_party/WebKit/Source/core/events/EventPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698