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

Unified Diff: LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js

Issue 1019273002: Revert "Tweaks layoutTests to use eventSender.setTouchPointRadius correctly" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-browser-zoom-scales-radius.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
diff --git a/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js b/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
index a029912b7dc9f2cb6b2dc5f74a00282a5b84e750..0741c8c0a57df6241b0f42f6d445671c8438fb03 100644
--- a/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
+++ b/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
@@ -92,13 +92,13 @@ function verifyTouch(which) {
function singleTouchSequence()
{
- eventSender.addTouchPoint(10, 10);
if (eventSender.setTouchPointRadius)
- eventSender.setTouchPointRadius(0, 10, 10, false);
+ eventSender.setTouchPointRadius(10,10);
+ eventSender.addTouchPoint(10, 10);
eventSender.touchStart();
if (eventSender.setTouchPointRadius)
- eventSender.setTouchPointRadius(0, 12, 12, true);
+ eventSender.setTouchPointRadius(12,12);
eventSender.updateTouchPoint(0, 50, 50);
eventSender.setTouchModifier("shift", true);
eventSender.setTouchModifier("alt", true);
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-browser-zoom-scales-radius.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698