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/browser/renderer_host/input/input_router.h

Issue 2624783002: Fix movementX/Y attributes for touch pointer events (Closed)
Patch Set: Move the logic to InputRouterImpl Created 3 years, 10 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/browser/renderer_host/input/input_router.h
diff --git a/content/browser/renderer_host/input/input_router.h b/content/browser/renderer_host/input/input_router.h
index 60e77c9d31604689f71b672174bec4d69a078bcd..cbaeb2d248cdf1877aef1f03280d4ad3bfdfb24d 100644
--- a/content/browser/renderer_host/input/input_router.h
+++ b/content/browser/renderer_host/input/input_router.h
@@ -35,8 +35,7 @@ class InputRouter : public IPC::Listener {
const NativeWebKeyboardEventWithLatencyInfo& key_event) = 0;
virtual void SendGestureEvent(
const GestureEventWithLatencyInfo& gesture_event) = 0;
- virtual void SendTouchEvent(
- const TouchEventWithLatencyInfo& touch_event) = 0;
+ virtual void SendTouchEvent(TouchEventWithLatencyInfo touch_event) = 0;
sadrul 2017/02/09 03:11:34 I suggest keep this a const-ref, and make a copy i
// Returns the oldest queued or in-flight keyboard event sent to the router.
virtual const NativeWebKeyboardEvent* GetLastKeyboardEvent() const = 0;

Powered by Google App Engine
This is Rietveld 408576698