| 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 <queue> | 10 #include <queue> |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 const ui::LatencyInfo& latency_info); | 118 const ui::LatencyInfo& latency_info); |
| 119 | 119 |
| 120 // IPC message handlers | 120 // IPC message handlers |
| 121 void OnInputEventAck(const InputEventAck& ack); | 121 void OnInputEventAck(const InputEventAck& ack); |
| 122 void OnDidOverscroll(const DidOverscrollParams& params); | 122 void OnDidOverscroll(const DidOverscrollParams& params); |
| 123 void OnMsgMoveCaretAck(); | 123 void OnMsgMoveCaretAck(); |
| 124 void OnSelectMessageAck(); | 124 void OnSelectMessageAck(); |
| 125 void OnHasTouchEventHandlers(bool has_handlers); | 125 void OnHasTouchEventHandlers(bool has_handlers); |
| 126 void OnSetTouchAction(TouchAction touch_action); | 126 void OnSetTouchAction(TouchAction touch_action); |
| 127 void OnDidStopFlinging(); | 127 void OnDidStopFlinging(); |
| 128 void OnDidSelectWordAt(); |
| 128 | 129 |
| 129 // Indicates the source of an ack provided to |ProcessInputEventAck()|. | 130 // Indicates the source of an ack provided to |ProcessInputEventAck()|. |
| 130 // The source is tracked by |current_ack_source_|, which aids in ack routing. | 131 // The source is tracked by |current_ack_source_|, which aids in ack routing. |
| 131 enum AckSource { | 132 enum AckSource { |
| 132 RENDERER, | 133 RENDERER, |
| 133 CLIENT, | 134 CLIENT, |
| 134 IGNORING_DISPOSITION, | 135 IGNORING_DISPOSITION, |
| 135 ACK_SOURCE_NONE | 136 ACK_SOURCE_NONE |
| 136 }; | 137 }; |
| 137 // Note: This function may result in |this| being deleted, and as such | 138 // Note: This function may result in |this| being deleted, and as such |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 InputEventStreamValidator output_stream_validator_; | 256 InputEventStreamValidator output_stream_validator_; |
| 256 | 257 |
| 257 float device_scale_factor_; | 258 float device_scale_factor_; |
| 258 | 259 |
| 259 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 260 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
| 260 }; | 261 }; |
| 261 | 262 |
| 262 } // namespace content | 263 } // namespace content |
| 263 | 264 |
| 264 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 265 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| OLD | NEW |