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

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

Issue 250923004: Synthesize ctrl-wheel events on touchpad pinch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build and tweaks Created 6 years, 8 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 5df4cd6109aa7809a0d7c8b74135fb30fee5c637..416cb117bc2d702fda33dd4ae03276a22d933ea9 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -47,10 +47,12 @@ class CONTENT_EXPORT SyntheticWebGestureEventBuilder {
static blink::WebGestureEvent BuildScrollUpdate(float dx,
float dy,
int modifiers);
- static blink::WebGestureEvent BuildPinchUpdate(float scale,
- float anchor_x,
- float anchor_y,
- int modifiers);
+ static blink::WebGestureEvent BuildPinchUpdate(
+ float scale,
+ float anchor_x,
+ float anchor_y,
+ int modifiers,
+ blink::WebGestureEvent::SourceDevice sourceDevice);
jdduke (slow) 2014/05/01 15:44:47 Hmm, I'd say |source_device| but it looks like we'
Rick Byers 2014/05/01 17:34:57 Sigh. I find it hard enough moving between blink
static blink::WebGestureEvent BuildFling(
float velocity_x,
float velocity_y,

Powered by Google App Engine
This is Rietveld 408576698