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

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

Issue 93733005: Implement support for touch-action: pan-x/pan-y in chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply jdduke CR feedback Created 7 years 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 b52dc4122f2cc9cf2a3d82018d5ff2000d646443..bafc121f8d6381099c04a04dc1db7566b2de39f0 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -42,8 +42,10 @@ class CONTENT_EXPORT SyntheticWebGestureEventBuilder {
static blink::WebGestureEvent Build(
blink::WebInputEvent::Type type,
blink::WebGestureEvent::SourceDevice sourceDevice);
+ static blink::WebGestureEvent BuildScrollBegin(float dx_hint,
+ float dy_hint);
static blink::WebGestureEvent BuildScrollUpdate(float dx,
- float dY,
+ float dy,
int modifiers);
static blink::WebGestureEvent BuildPinchUpdate(float scale,
float anchor_x,

Powered by Google App Engine
This is Rietveld 408576698