| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // True if a non-synthetic GSB needs to be sent before a GSU is sent. | 86 // True if a non-synthetic GSB needs to be sent before a GSU is sent. |
| 87 bool needs_scroll_begin_; | 87 bool needs_scroll_begin_; |
| 88 | 88 |
| 89 // True if a non-synthetic GSE needs to be sent because a non-synthetic | 89 // True if a non-synthetic GSE needs to be sent because a non-synthetic |
| 90 // GSB has been sent in the past. | 90 // GSB has been sent in the past. |
| 91 bool needs_scroll_end_; | 91 bool needs_scroll_end_; |
| 92 | 92 |
| 93 // True if the touchpad and wheel scroll latching is enabled. | 93 // True if the touchpad and wheel scroll latching is enabled. |
| 94 bool enable_scroll_latching_; | 94 bool enable_scroll_latching_; |
| 95 | 95 |
| 96 bool send_wheel_events_async_; |
| 97 |
| 96 blink::WebGestureDevice scrolling_device_; | 98 blink::WebGestureDevice scrolling_device_; |
| 97 | 99 |
| 98 DISALLOW_COPY_AND_ASSIGN(MouseWheelEventQueue); | 100 DISALLOW_COPY_AND_ASSIGN(MouseWheelEventQueue); |
| 99 }; | 101 }; |
| 100 | 102 |
| 101 } // namespace content | 103 } // namespace content |
| 102 | 104 |
| 103 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ | 105 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_MOUSE_WHEEL_EVENT_QUEUE_H_ |
| OLD | NEW |