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

Unified Diff: third_party/WebKit/Source/web/tests/TouchActionTest.cpp

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent 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/web/tests/TouchActionTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp
index 455a51d6bb993a0b5365443f700d5a3fb01682cf..3ec3238a61add0905408e7995fb531f3e37f7755 100644
--- a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp
@@ -43,6 +43,7 @@
#include "core/layout/api/LayoutViewItem.h"
#include "platform/testing/URLTestHelpers.h"
#include "platform/testing/UnitTestHelpers.h"
+#include "public/platform/CoalescedWebInputEvent.h"
#include "public/platform/Platform.h"
#include "public/platform/WebInputEvent.h"
#include "public/platform/WebURLLoaderMockFactory.h"
@@ -387,7 +388,7 @@ void TouchActionTest::sendTouchEvent(WebView* webView,
webTouchEvent.touches[0].radiusY = 10;
webTouchEvent.touches[0].force = 1.0;
- webView->handleInputEvent(webTouchEvent);
+ webView->handleInputEvent(CoalescedWebInputEvent(webTouchEvent));
runPendingTasks();
}

Powered by Google App Engine
This is Rietveld 408576698