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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-scrollbar.html

Issue 2925883003: [Touch Adjustment] Pass primary_pointer_type to WebGestureEvent and disable adjustment for stylus (Closed)
Patch Set: jochen and dtapuska's comments: Add default value Created 3 years, 6 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: third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-scrollbar.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-scrollbar.html b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-scrollbar.html
index 6b85f65cf67857af75e5aa4b14dd4c73a15e48ed..da513a7c8022634fd4f5c0f9caa2f820add33e9f 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-scrollbar.html
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-scrollbar.html
@@ -59,7 +59,7 @@ function scrollTest() {
shouldBe('movingDiv.scrollTop', '0');
eventSender.gestureTapDown(scrollbarX, scrollbarY, touchWidth, touchHeight);
eventSender.gestureShowPress(scrollbarX, scrollbarY, touchWidth, touchHeight);
- eventSender.gestureScrollBegin(scrollbarX + 20, scrollbarY, touchWidth, touchHeight);
+ eventSender.gestureScrollBegin(scrollbarX + 20, scrollbarY);
eventSender.gestureTapCancel(scrollbarX, scrollbarY);
shouldBe('movingDiv.scrollTop', '0');
eventSender.gestureScrollUpdate(0, 20);
@@ -75,7 +75,7 @@ function scrollTest() {
shouldBe('movingDiv.scrollLeft', '0');
eventSender.gestureTapDown(scrollbarX, scrollbarY, touchWidth, touchHeight);
eventSender.gestureShowPress(scrollbarX, scrollbarY, touchWidth, touchHeight);
- eventSender.gestureScrollBegin(scrollbarX, scrollbarY + 20, touchWidth, touchHeight);
+ eventSender.gestureScrollBegin(scrollbarX, scrollbarY + 20);
eventSender.gestureTapCancel(scrollbarX, scrollbarY);
shouldBe('movingDiv.scrollLeft', '0');
eventSender.gestureScrollUpdate(20, 0);

Powered by Google App Engine
This is Rietveld 408576698