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 a2722310b74b68c0c7e5c3f261851c65a969432d..02bc00fcd408949c42f74b2e0d3f5ce7c9de3967 100644 |
| --- a/content/browser/renderer_host/input/mouse_wheel_event_queue.h |
| +++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.h |
| @@ -19,7 +19,7 @@ namespace content { |
| // ScrollUpdate was sent for wheel based gesture scrolls. |
| // Set the default wheel transaction to 0ms until |
| // crbug.com/526463 is fully implemented. |
|
tdresser
2016/07/25 20:37:29
Update comment.
sahel
2016/07/25 21:28:35
Done.
|
| -const int64_t kDefaultWheelScrollTransactionMs = 0; // 100; |
| +const int64_t kDefaultWheelScrollLatchingTransactionMs = 100; |
| class QueuedWebMouseWheelEvent; |
| @@ -47,7 +47,7 @@ class CONTENT_EXPORT MouseWheelEventQueue { |
| // |scroll_transaction_ms| is the duration in which the |
| // ScrollEnd should be sent after a ScrollUpdate. |
| MouseWheelEventQueue(MouseWheelEventQueueClient* client, |
| - int64_t scroll_transaction_ms); |
| + bool touchpad_wheel_scroll_latching); |
| ~MouseWheelEventQueue(); |
| @@ -97,6 +97,9 @@ class CONTENT_EXPORT MouseWheelEventQueue { |
| // GSB has been sent in the past. |
| bool needs_scroll_end_; |
| + // True if the touchpad and wheel scroll latching is enabled. |
| + bool touchpad_wheel_scroll_latching_; |
| + |
| int64_t scroll_transaction_ms_; |
| blink::WebGestureDevice scrolling_device_; |