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

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

Issue 242733008: Prevent Control+two-finger-scroll from zooming the page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor change 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 3bf301963a7c30749999d9ba603a780bf9d8b3cd..622199d106b3fcd0587f05055e2bd74d03a1bf23 100644
--- a/content/common/input/synthetic_web_input_event_builders.h
+++ b/content/common/input/synthetic_web_input_event_builders.h
@@ -17,9 +17,9 @@ class CONTENT_EXPORT SyntheticWebMouseEventBuilder {
public:
static blink::WebMouseEvent Build(blink::WebInputEvent::Type type);
static blink::WebMouseEvent Build(blink::WebInputEvent::Type type,
- int window_x,
- int window_y,
- int modifiers);
+ int window_x,
+ int window_y,
+ int modifiers);
};
class CONTENT_EXPORT SyntheticWebMouseWheelEventBuilder {
@@ -27,9 +27,9 @@ class CONTENT_EXPORT SyntheticWebMouseWheelEventBuilder {
static blink::WebMouseWheelEvent Build(
blink::WebMouseWheelEvent::Phase phase);
static blink::WebMouseWheelEvent Build(float dx,
- float dy,
- int modifiers,
- bool precise);
+ float dy,
+ int modifiers,
+ bool precise);
};
class CONTENT_EXPORT SyntheticWebKeyboardEventBuilder {
@@ -43,14 +43,14 @@ class CONTENT_EXPORT SyntheticWebGestureEventBuilder {
blink::WebInputEvent::Type type,
blink::WebGestureEvent::SourceDevice sourceDevice);
static blink::WebGestureEvent BuildScrollBegin(float dx_hint,
- float dy_hint);
+ float dy_hint);
static blink::WebGestureEvent BuildScrollUpdate(float dx,
- float dy,
- int modifiers);
- static blink::WebGestureEvent BuildPinchUpdate(float scale,
- float anchor_x,
- float anchor_y,
+ float dy,
int modifiers);
+ static blink::WebGestureEvent BuildPinchUpdate(float scale,
+ float anchor_x,
+ float anchor_y,
+ int modifiers);
static blink::WebGestureEvent BuildFling(
float velocity_x,
float velocity_y,

Powered by Google App Engine
This is Rietveld 408576698