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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 namespace ui { | 29 namespace ui { |
30 class LatencyInfo; | 30 class LatencyInfo; |
31 struct DidOverscrollParams; | 31 struct DidOverscrollParams; |
32 } | 32 } |
33 | 33 |
34 namespace content { | 34 namespace content { |
35 | 35 |
36 class InputAckHandler; | 36 class InputAckHandler; |
37 class InputRouterClient; | 37 class InputRouterClient; |
38 class OverscrollController; | |
39 struct InputEventAck; | 38 struct InputEventAck; |
40 | 39 |
41 // A default implementation for browser input event routing. | 40 // A default implementation for browser input event routing. |
42 class CONTENT_EXPORT InputRouterImpl | 41 class CONTENT_EXPORT InputRouterImpl |
43 : public NON_EXPORTED_BASE(InputRouter), | 42 : public NON_EXPORTED_BASE(InputRouter), |
44 public NON_EXPORTED_BASE(GestureEventQueueClient), | 43 public NON_EXPORTED_BASE(GestureEventQueueClient), |
45 public NON_EXPORTED_BASE(MouseWheelEventQueueClient), | 44 public NON_EXPORTED_BASE(MouseWheelEventQueueClient), |
46 public NON_EXPORTED_BASE(TouchEventQueueClient), | 45 public NON_EXPORTED_BASE(TouchEventQueueClient), |
47 public NON_EXPORTED_BASE(TouchpadTapSuppressionControllerClient) { | 46 public NON_EXPORTED_BASE(TouchpadTapSuppressionControllerClient) { |
48 public: | 47 public: |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 InputEventStreamValidator output_stream_validator_; | 254 InputEventStreamValidator output_stream_validator_; |
256 | 255 |
257 float device_scale_factor_; | 256 float device_scale_factor_; |
258 | 257 |
259 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 258 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
260 }; | 259 }; |
261 | 260 |
262 } // namespace content | 261 } // namespace content |
263 | 262 |
264 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 263 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
OLD | NEW |