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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp

Issue 2510133002: Add getCoalescedEvents API to PointerEvent (Closed)
Patch Set: Adding checks for pointerTypes 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/inspector/InspectorInputAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
index 5270c482e00d69bc2568dfa8b08b5a15a01889e7..223203efa88ccbaf46cd124052b2a0d4a884766e 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
@@ -210,7 +210,12 @@ Response InspectorInputAgent::dispatchTouchEvent(
event.append(touchPoint);
}
- m_inspectedFrames->root()->eventHandler().handleTouchEvent(event);
+ // TODO: We need to add the support for generating coalesced events in
+ // the devtools.
+ Vector<PlatformTouchEvent> coalescedEvents;
+
+ m_inspectedFrames->root()->eventHandler().handleTouchEvent(event,
+ coalescedEvents);
return Response::OK();
}

Powered by Google App Engine
This is Rietveld 408576698