Chromium Code Reviews| Index: content/browser/renderer_host/input/mouse_wheel_event_queue.h |
| diff --git a/content/browser/renderer_host/input/mouse_wheel_event_queue.h b/content/browser/renderer_host/input/mouse_wheel_event_queue.h |
| index 1f465b5051cd8f5d5218b4862d2c09276505f416..95b554ad2a4f6829e6c1cd35de9ed917ed20f9cd 100644 |
| --- a/content/browser/renderer_host/input/mouse_wheel_event_queue.h |
| +++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.h |
| @@ -80,7 +80,9 @@ class CONTENT_EXPORT MouseWheelEventQueue { |
| private: |
| void TryForwardNextEventToRenderer(); |
| - void SendScrollEnd(blink::WebGestureEvent update_event, bool synthetic); |
| + void SendScrollEnd(blink::WebGestureEvent update_event, |
| + bool synthetic, |
| + bool precede_fling); |
|
tdresser
2016/11/29 19:06:54
Nit: It might be worth using enums for synthetic a
sahel
2016/11/30 19:41:54
Synthetic is a temporary variable, once scroll lat
tdresser
2016/11/30 19:42:36
Acknowledged.
|
| void SendScrollBegin(const blink::WebGestureEvent& gesture_update, |
| bool synthetic); |
| @@ -103,6 +105,8 @@ class CONTENT_EXPORT MouseWheelEventQueue { |
| int64_t scroll_transaction_ms_; |
| blink::WebGestureDevice scrolling_device_; |
| + blink::WebGestureEvent last_scroll_update_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(MouseWheelEventQueue); |
| }; |