Index: third_party/WebKit/Source/core/input/PointerEventManager.h |
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.h b/third_party/WebKit/Source/core/input/PointerEventManager.h |
index 25426910387acfea5041238aafff449ac4a50384..44b9437f8a17f0f90a53e31897adc62062a963c2 100644 |
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h |
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h |
@@ -66,6 +66,8 @@ public: |
// Returns whether there is any touch on the screen. |
bool isAnyTouchActive() const; |
+ WebInputEventResult firstPrimaryPointerdownResult() { return m_primaryPointerdownResults.takeFirst(); } |
+ |
private: |
typedef HeapHashMap<int, Member<EventTarget>, WTF::IntHash<int>, |
WTF::UnsignedWithZeroKeyHashTraits<int>> PointerCapturingMap; |
@@ -162,6 +164,8 @@ private: |
// all touch-points become inactive. |
bool m_inCanceledStateForPointerTypeTouch; |
+ Deque<WebInputEventResult> m_primaryPointerdownResults; |
+ |
// Note that this map keeps track of node under pointer with id=1 as well |
// which might be different than m_nodeUnderMouse in EventHandler. That one |
// keeps track of any compatibility mouse event positions but this map for |
@@ -172,9 +176,9 @@ private: |
PointerCapturingMap m_pointerCaptureTarget; |
PointerCapturingMap m_pendingPointerCaptureTarget; |
+ |
PointerEventFactory m_pointerEventFactory; |
TouchEventManager m_touchEventManager; |
- |
}; |
} // namespace blink |