| Index: content/browser/renderer_host/input/input_router_impl.h
|
| diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h
|
| index 4634b2bc2aa7920c505deca89e95d88e3f063f1a..8a9990f6cce3e96a89a1e7e5a16a0aa382a25bc0 100644
|
| --- a/content/browser/renderer_host/input/input_router_impl.h
|
| +++ b/content/browser/renderer_host/input/input_router_impl.h
|
| @@ -87,6 +87,9 @@ class CONTENT_EXPORT InputRouterImpl
|
| FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
|
| MainframeTouchEventRouting);
|
|
|
| + // Keeps track of last position of touch points and sets MovementXY for them.
|
| + void SetMovementXYForTouchPoints(blink::WebTouchEvent* event);
|
| +
|
| // TouchpadTapSuppressionControllerClient
|
| void SendMouseEventImmediately(
|
| const MouseEventWithLatencyInfo& mouse_event) override;
|
| @@ -260,6 +263,9 @@ class CONTENT_EXPORT InputRouterImpl
|
|
|
| float device_scale_factor_;
|
|
|
| + // Last touch position relative to screen. Used to compute movementX/Y.
|
| + std::map<int, gfx::Point> global_touch_position_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
|
| };
|
|
|
|
|