Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_input_event_router.cc |
| diff --git a/content/browser/renderer_host/render_widget_host_input_event_router.cc b/content/browser/renderer_host/render_widget_host_input_event_router.cc |
| index e23fe255e42b66b476944c7482db836b3193ceae..2099c110e3042cfa7fa9b8649e9035f03524ae00 100644 |
| --- a/content/browser/renderer_host/render_widget_host_input_event_router.cc |
| +++ b/content/browser/renderer_host/render_widget_host_input_event_router.cc |
| @@ -142,8 +142,10 @@ void RenderWidgetHostInputEventRouter::RouteMouseEvent( |
| event->x = transformed_point.x(); |
| event->y = transformed_point.y(); |
| - |
| - target->ProcessMouseEvent(*event); |
| + ui::LatencyInfo latency_info; |
|
tdresser
2016/05/20 17:24:54
Same as before - use a TODO with a link to the bug
sahel
2016/05/20 18:38:20
Done.
|
| + //Don't know if I should add ui_latency_component ro not. |
| + //I can also change function signiture and pass latency_info |
| + target->ProcessMouseEvent(*event, latency_info); |
| } |
| void RenderWidgetHostInputEventRouter::RouteMouseWheelEvent( |
| @@ -157,8 +159,10 @@ void RenderWidgetHostInputEventRouter::RouteMouseWheelEvent( |
| event->x = transformed_point.x(); |
| event->y = transformed_point.y(); |
| - |
| - target->ProcessMouseWheelEvent(*event); |
| + ui::LatencyInfo latency_info; |
| + //Don't know if I should add ui_latency_component ro not. |
| + //I can also change function signiture and pass latency_info |
| + target->ProcessMouseWheelEvent(*event, latency_info); |
| } |
| void RenderWidgetHostInputEventRouter::RouteGestureEvent( |