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

Unified Diff: content/common/input/synthetic_web_input_event_builders.h

Issue 2726623002: Fixed two-finger pan filtering with 'touch-action: pan-x pan-y'. (Closed)
Patch Set: Dave's comments. Created 3 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
Index: content/common/input/synthetic_web_input_event_builders.h
diff --git a/content/common/input/synthetic_web_input_event_builders.h b/content/common/input/synthetic_web_input_event_builders.h
index 58620d300291e50ae7e8ace22676459e12439445..fca7e7bc057be0d1101c6cf61cd9dfea83776f5b 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -62,7 +62,8 @@ class CONTENT_EXPORT SyntheticWebGestureEventBuilder {
static blink::WebGestureEvent BuildScrollBegin(
float dx_hint,
float dy_hint,
- blink::WebGestureDevice source_device);
+ blink::WebGestureDevice source_device,
+ int pointer_count = 1);
static blink::WebGestureEvent BuildScrollUpdate(
float dx,
float dy,

Powered by Google App Engine
This is Rietveld 408576698