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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PointerEventManager_h 5 #ifndef PointerEventManager_h
6 #define PointerEventManager_h 6 #define PointerEventManager_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/events/PointerEvent.h" 9 #include "core/events/PointerEvent.h"
10 #include "core/events/PointerEventFactory.h" 10 #include "core/events/PointerEventFactory.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 WTF::IntHash<int>, 214 WTF::IntHash<int>,
215 WTF::UnsignedWithZeroKeyHashTraits<int>>; 215 WTF::UnsignedWithZeroKeyHashTraits<int>>;
216 NodeUnderPointerMap m_nodeUnderPointer; 216 NodeUnderPointerMap m_nodeUnderPointer;
217 217
218 PointerCapturingMap m_pointerCaptureTarget; 218 PointerCapturingMap m_pointerCaptureTarget;
219 PointerCapturingMap m_pendingPointerCaptureTarget; 219 PointerCapturingMap m_pendingPointerCaptureTarget;
220 220
221 PointerEventFactory m_pointerEventFactory; 221 PointerEventFactory m_pointerEventFactory;
222 Member<TouchEventManager> m_touchEventManager; 222 Member<TouchEventManager> m_touchEventManager;
223 Member<MouseEventManager> m_mouseEventManager; 223 Member<MouseEventManager> m_mouseEventManager;
224
225 // The pointerId of the PointerEvent currently being dispatched within this
226 // frame or 0 if none.
227 int m_dispatchingPointerId;
224 }; 228 };
225 229
226 } // namespace blink 230 } // namespace blink
227 231
228 #endif // PointerEventManager_h 232 #endif // PointerEventManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698