| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INPUT_ROUTER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // Whether there are any active flings in the renderer. As the fling | 245 // Whether there are any active flings in the renderer. As the fling |
| 246 // end notification is asynchronous, we use a count rather than a boolean | 246 // end notification is asynchronous, we use a count rather than a boolean |
| 247 // to avoid races in bookkeeping when starting a new fling. | 247 // to avoid races in bookkeeping when starting a new fling. |
| 248 int active_renderer_fling_count_; | 248 int active_renderer_fling_count_; |
| 249 | 249 |
| 250 // Whether the TouchScrollStarted event has been sent for the current | 250 // Whether the TouchScrollStarted event has been sent for the current |
| 251 // gesture scroll yet. | 251 // gesture scroll yet. |
| 252 bool touch_scroll_started_sent_; | 252 bool touch_scroll_started_sent_; |
| 253 | 253 |
| 254 MouseWheelEventQueue wheel_event_queue_; | 254 MouseWheelEventQueue wheel_event_queue_; |
| 255 TouchEventQueue touch_event_queue_; | 255 std::unique_ptr<TouchEventQueue> touch_event_queue_; |
| 256 GestureEventQueue gesture_event_queue_; | 256 GestureEventQueue gesture_event_queue_; |
| 257 TouchActionFilter touch_action_filter_; | 257 TouchActionFilter touch_action_filter_; |
| 258 InputEventStreamValidator input_stream_validator_; | 258 InputEventStreamValidator input_stream_validator_; |
| 259 InputEventStreamValidator output_stream_validator_; | 259 InputEventStreamValidator output_stream_validator_; |
| 260 | 260 |
| 261 float device_scale_factor_; | 261 float device_scale_factor_; |
| 262 | 262 |
| 263 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 263 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
| 264 }; | 264 }; |
| 265 | 265 |
| 266 } // namespace content | 266 } // namespace content |
| 267 | 267 |
| 268 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 268 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| OLD | NEW |