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

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

Issue 1212113007: Add WebPointerProperties type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/tests/TouchActionTest.cpp
diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
index 81a940ec822a3b9964981638d0ecfc6908a47b76..0218f094d4fde895bb1d948d9ceea416d57127fc 100644
--- a/Source/web/tests/TouchActionTest.cpp
+++ b/Source/web/tests/TouchActionTest.cpp
@@ -311,13 +311,13 @@ void TouchActionTest::sendTouchEvent(WebView* webView, WebInputEvent::Type type,
webTouchEvent.touches[0].state = (type == WebInputEvent::TouchStart ?
WebTouchPoint::StatePressed :
WebTouchPoint::StateCancelled);
- webTouchEvent.touches[0].id = kfakeTouchId;
+ webTouchEvent.touches[0].pointerId = kfakeTouchId;
webTouchEvent.touches[0].screenPosition.x = clientPoint.x();
webTouchEvent.touches[0].screenPosition.y = clientPoint.y();
webTouchEvent.touches[0].position.x = clientPoint.x();
webTouchEvent.touches[0].position.y = clientPoint.y();
- webTouchEvent.touches[0].radiusX = 10;
- webTouchEvent.touches[0].radiusY = 10;
+ webTouchEvent.touches[0].width = 10;
+ webTouchEvent.touches[0].height = 10;
webView->handleInputEvent(webTouchEvent);
runPendingTasks();

Powered by Google App Engine
This is Rietveld 408576698