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

Side by Side Diff: third_party/WebKit/Source/core/input/PointerEventManager.h

Issue 2635583002: Add UseCounter for setPointerCapture outside dispatch (Closed)
Patch Set: Rebase again Created 3 years, 10 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 WTF::IntHash<int>, 216 WTF::IntHash<int>,
217 WTF::UnsignedWithZeroKeyHashTraits<int>>; 217 WTF::UnsignedWithZeroKeyHashTraits<int>>;
218 NodeUnderPointerMap m_nodeUnderPointer; 218 NodeUnderPointerMap m_nodeUnderPointer;
219 219
220 PointerCapturingMap m_pointerCaptureTarget; 220 PointerCapturingMap m_pointerCaptureTarget;
221 PointerCapturingMap m_pendingPointerCaptureTarget; 221 PointerCapturingMap m_pendingPointerCaptureTarget;
222 222
223 PointerEventFactory m_pointerEventFactory; 223 PointerEventFactory m_pointerEventFactory;
224 Member<TouchEventManager> m_touchEventManager; 224 Member<TouchEventManager> m_touchEventManager;
225 Member<MouseEventManager> m_mouseEventManager; 225 Member<MouseEventManager> m_mouseEventManager;
226
227 // The pointerId of the PointerEvent currently being dispatched within this
228 // frame or 0 if none.
229 int m_dispatchingPointerId;
226 }; 230 };
227 231
228 } // namespace blink 232 } // namespace blink
229 233
230 #endif // PointerEventManager_h 234 #endif // PointerEventManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/input/PointerEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698