| 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..b6278b60861fc67127ed89fa0fcfa2dc0efdc6d6 100644
|
| --- a/content/browser/renderer_host/input/mouse_wheel_event_queue.h
|
| +++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.h
|
| @@ -37,6 +37,7 @@ class CONTENT_EXPORT MouseWheelEventQueueClient {
|
| const ui::LatencyInfo& latency_info) = 0;
|
| virtual void OnMouseWheelEventAck(const MouseWheelEventWithLatencyInfo& event,
|
| InputEventAckState ack_result) = 0;
|
| + virtual bool IsInGestureScrollForTouchpad() const = 0;
|
| };
|
|
|
| // A queue for throttling and coalescing mouse wheel events.
|
| @@ -90,13 +91,6 @@ class CONTENT_EXPORT MouseWheelEventQueue {
|
| std::deque<std::unique_ptr<QueuedWebMouseWheelEvent>> wheel_queue_;
|
| std::unique_ptr<QueuedWebMouseWheelEvent> event_sent_for_gesture_ack_;
|
|
|
| - // True if a non-synthetic GSB needs to be sent before a GSU is sent.
|
| - bool needs_scroll_begin_;
|
| -
|
| - // True if a non-synthetic GSE needs to be sent because a non-synthetic
|
| - // GSB has been sent in the past.
|
| - bool needs_scroll_end_;
|
| -
|
| // True if the touchpad and wheel scroll latching is enabled.
|
| bool enable_scroll_latching_;
|
|
|
|
|