Chromium Code Reviews| Index: content/browser/frame_host/cross_process_frame_connector.cc |
| diff --git a/content/browser/frame_host/cross_process_frame_connector.cc b/content/browser/frame_host/cross_process_frame_connector.cc |
| index 6002fcaa6b18e3707e4430c4cdf62f085f4adbc6..6b3b208d68caa88a01aa6d25573ca398609ce76c 100644 |
| --- a/content/browser/frame_host/cross_process_frame_connector.cc |
| +++ b/content/browser/frame_host/cross_process_frame_connector.cc |
| @@ -172,7 +172,9 @@ void CrossProcessFrameConnector::BubbleScrollEvent( |
| memcpy(&resent_wheel_event, &event, sizeof(resent_wheel_event)); |
| resent_wheel_event.x += offset_from_parent.x(); |
| resent_wheel_event.y += offset_from_parent.y(); |
| - parent_view->ProcessMouseWheelEvent(resent_wheel_event); |
| + // TODO: https://bugs.chromium.org/p/chromium/issues/detail?id=613628 |
|
tdresser
2016/05/20 18:45:53
And reformat TODOs here.
sahel
2016/05/20 19:03:28
Done.
|
| + ui::LatencyInfo latency_info; |
| + parent_view->ProcessMouseWheelEvent(resent_wheel_event, latency_info); |
| } else { |
| NOTIMPLEMENTED(); |
| } |
| @@ -217,13 +219,18 @@ void CrossProcessFrameConnector::OnForwardInputEvent( |
| } |
| if (blink::WebInputEvent::isMouseEventType(event->type)) { |
| - view_->ProcessMouseEvent(*static_cast<const blink::WebMouseEvent*>(event)); |
| + // TODO: https://bugs.chromium.org/p/chromium/issues/detail?id=613628 |
| + ui::LatencyInfo latency_info; |
| + view_->ProcessMouseEvent(*static_cast<const blink::WebMouseEvent*>(event), |
| + latency_info); |
| return; |
| } |
| if (event->type == blink::WebInputEvent::MouseWheel) { |
| + // TODO: https://bugs.chromium.org/p/chromium/issues/detail?id=613628 |
| + ui::LatencyInfo latency_info; |
| view_->ProcessMouseWheelEvent( |
| - *static_cast<const blink::WebMouseWheelEvent*>(event)); |
| + *static_cast<const blink::WebMouseWheelEvent*>(event), latency_info); |
| return; |
| } |
| } |