| 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..6d818bb9d9858903a7a6123847a3bde1a39de8b5 100644
|
| --- a/third_party/WebKit/Source/core/input/PointerEventManager.h
|
| +++ b/third_party/WebKit/Source/core/input/PointerEventManager.h
|
| @@ -66,6 +66,11 @@ public:
|
| // Returns whether there is any touch on the screen.
|
| bool isAnyTouchActive() const;
|
|
|
| + // Returns true if the primary pointerdown corresponding to the given
|
| + // |uniqueTouchEventId| was canceled. Also drops stale ids from
|
| + // |m_touchIdsForCanceledPointerdowns|.
|
| + bool primaryPointerdownCanceled(uint32_t uniqueTouchEventId);
|
| +
|
| private:
|
| typedef HeapHashMap<int, Member<EventTarget>, WTF::IntHash<int>,
|
| WTF::UnsignedWithZeroKeyHashTraits<int>> PointerCapturingMap;
|
| @@ -162,6 +167,8 @@ private:
|
| // all touch-points become inactive.
|
| bool m_inCanceledStateForPointerTypeTouch;
|
|
|
| + Deque<uint32_t> m_touchIdsForCanceledPointerdowns;
|
| +
|
| // 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 +179,9 @@ private:
|
|
|
| PointerCapturingMap m_pointerCaptureTarget;
|
| PointerCapturingMap m_pendingPointerCaptureTarget;
|
| +
|
| PointerEventFactory m_pointerEventFactory;
|
| TouchEventManager m_touchEventManager;
|
| -
|
| };
|
|
|
| } // namespace blink
|
|
|