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

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

Issue 849783002: Event.path should include Window (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: comments fixed Created 5 years, 11 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: Source/core/events/EventPath.h
diff --git a/Source/core/events/EventPath.h b/Source/core/events/EventPath.h
index 69c45d620d15028379675bd42f655244138395ad..c69a38faabcf4fc749010eb20facad13e7fae03d 100644
--- a/Source/core/events/EventPath.h
+++ b/Source/core/events/EventPath.h
@@ -51,6 +51,7 @@ public:
const NodeEventContext& operator[](size_t index) const { return m_nodeEventContexts[index]; }
NodeEventContext& last() { return m_nodeEventContexts[size() - 1]; }
+ bool hasWindowEventContext() const { return m_windowEventContext; }
WindowEventContext& windowEventContext() { ASSERT(m_windowEventContext); return *m_windowEventContext; }
void ensureWindowEventContext();

Powered by Google App Engine
This is Rietveld 408576698