Chromium Code Reviews| Index: content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
| diff --git a/content/browser/renderer_host/input/mouse_wheel_event_queue.cc b/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
| index d1d3bc22276279290e8cde1271e27591b76b26e3..432c28d496866eba10c348b7f52afe8e456be734 100644 |
| --- a/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
| +++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
| @@ -34,13 +34,16 @@ class QueuedWebMouseWheelEvent : public MouseWheelEventWithLatencyInfo { |
| }; |
| MouseWheelEventQueue::MouseWheelEventQueue(MouseWheelEventQueueClient* client, |
| - int64_t scroll_transaction_ms) |
| + bool touchpad_wheel_scroll_latching) |
| : client_(client), |
| needs_scroll_begin_(true), |
| needs_scroll_end_(false), |
| - scroll_transaction_ms_(scroll_transaction_ms), |
| + touchpad_wheel_scroll_latching_(touchpad_wheel_scroll_latching), |
|
tdresser
2016/07/25 20:37:29
Sorry for the multiple rename requests...
Since t
sahel
2016/07/25 21:28:35
Done.
|
| scrolling_device_(blink::WebGestureDeviceUninitialized) { |
| DCHECK(client); |
| + scroll_transaction_ms_ = touchpad_wheel_scroll_latching_ |
| + ? kDefaultWheelScrollLatchingTransactionMs |
| + : 0; |
| } |
| MouseWheelEventQueue::~MouseWheelEventQueue() { |