Chromium Code Reviews| Index: content/renderer/input/render_widget_input_handler.cc |
| diff --git a/content/renderer/input/render_widget_input_handler.cc b/content/renderer/input/render_widget_input_handler.cc |
| index 7a427303a4524558049836dcab19d3dc0ec1b451..37d31388861bf7e1d942588e3001d9ed0778b682 100644 |
| --- a/content/renderer/input/render_widget_input_handler.cc |
| +++ b/content/renderer/input/render_widget_input_handler.cc |
| @@ -389,19 +389,9 @@ void RenderWidgetInputHandler::HandleInputEvent( |
| // Send mouse wheel events and their disposition to the compositor thread, so |
|
tdresser
2016/06/10 18:06:46
Update comment - not longer mouse wheel events.
n
dtapuska
2016/06/10 19:11:17
Done.
|
| // that they can be used to produce the elastic overscroll effect on Mac. |
| - if (input_event.type == WebInputEvent::MouseWheel) { |
| - const WebMouseWheelEvent& wheel_event = |
| - static_cast<const WebMouseWheelEvent&>(input_event); |
| - if (wheel_event.canScroll) { |
| - delegate_->ObserveWheelEventAndResult( |
| - wheel_event, |
| - event_overscroll ? event_overscroll->latest_overscroll_delta |
| - : gfx::Vector2dF(), |
| - processed != WebInputEventResult::NotHandled); |
| - } |
| - } else if (input_event.type == WebInputEvent::GestureScrollBegin || |
| - input_event.type == WebInputEvent::GestureScrollEnd || |
| - input_event.type == WebInputEvent::GestureScrollUpdate) { |
| + if (input_event.type == WebInputEvent::GestureScrollBegin || |
| + input_event.type == WebInputEvent::GestureScrollEnd || |
| + input_event.type == WebInputEvent::GestureScrollUpdate) { |
| const WebGestureEvent& gesture_event = |
| static_cast<const WebGestureEvent&>(input_event); |
| if (gesture_event.sourceDevice == blink::WebGestureDeviceTouchpad) { |