Index: third_party/WebKit/Source/core/events/Event.h |
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h |
index e447f5d3372663c4dcb7d470fa593c6cb6200c7d..ab661b86a34760bbb31f99743b9d4e20d4a74200 100644 |
--- a/third_party/WebKit/Source/core/events/Event.h |
+++ b/third_party/WebKit/Source/core/events/Event.h |
@@ -187,6 +187,7 @@ public: |
void initEventPath(Node&); |
WillBeHeapVector<RefPtrWillBeMember<EventTarget>> path(ScriptState*) const; |
+ WillBeHeapVector<RefPtrWillBeMember<EventTarget>> deepPath(ScriptState*) const; |
bool isBeingDispatched() const { return eventPhase(); } |
@@ -217,6 +218,13 @@ protected: |
void setCanBubble(bool bubble) { m_canBubble = bubble; } |
private: |
+ enum EventPathMode { |
+ EmptyAfterDispatch, |
+ NonEmptyAfterDispatch |
+ }; |
+ |
+ WillBeHeapVector<RefPtrWillBeMember<EventTarget>> pathInternal(ScriptState*, EventPathMode) const; |
+ |
AtomicString m_type; |
unsigned m_canBubble:1; |
unsigned m_cancelable:1; |