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

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

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: 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 965dd20bb8979783118356e5b7d5c27a31922f1a..e3eaf1135f52908e2bb4d3427161404268bc96ba 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
@@ -216,7 +216,12 @@ void 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);
}
DEFINE_TRACE(InspectorInputAgent) {

Powered by Google App Engine
This is Rietveld 408576698