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

Unified Diff: third_party/WebKit/Source/core/input/PointerEventManager.h

Issue 2635583002: Add UseCounter for setPointerCapture outside dispatch (Closed)
Patch Set: Merge branch 'master' into capture-metrics Created 3 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: 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 f3163348e2f40745cfb973c48e452b38f9b13f4e..e72cca66503029600b3b306a6ac3fa19700808e4 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h
@@ -221,6 +221,10 @@ class CORE_EXPORT PointerEventManager
PointerEventFactory m_pointerEventFactory;
Member<TouchEventManager> m_touchEventManager;
Member<MouseEventManager> m_mouseEventManager;
+
+ // The pointerId of the PointerEvent currently being dispatched within this
+ // frame or 0 if none.
+ int m_dispatchingPointerId;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698