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

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

Issue 2414273003: Remove UserGesture on touch scrolls (Closed)
Patch Set: Improve comments Created 4 years, 1 month 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 9cdb1f56d0adfbb36f375663c350d2bc2ae78004..8bd5b1423b7f3b8dc01728944494ca05e73a7fa8 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h
@@ -136,6 +136,10 @@ class CORE_EXPORT PointerEventManager
// blockTouchPointers().
void unblockTouchPointers();
+ // Generate the TouchInfos for a PlatformTouchEvent, hit-testing as necessary.
+ void computeTouchTargets(const PlatformTouchEvent&,
+ HeapVector<TouchEventManager::TouchInfo>&);
+
// Sends touch pointer events and sets consumed bits in TouchInfo array
// based on the return value of pointer event handlers.
void dispatchTouchPointerEvents(const PlatformTouchEvent&,
@@ -192,8 +196,8 @@ class CORE_EXPORT PointerEventManager
bool m_preventMouseEventForPointerType
[static_cast<size_t>(WebPointerProperties::PointerType::LastEntry) + 1];
- // Set upon sending a pointercancel for touch, prevents PE dispatches for
- // touches until all touch-points become inactive.
+ // Set upon TouchScrollStarted when sending a pointercancel, prevents PE
+ // dispatches for touches until all touch-points become inactive.
bool m_inCanceledStateForPointerTypeTouch;
Deque<uint32_t> m_touchIdsForCanceledPointerdowns;
« 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