Index: content/browser/renderer_host/input/input_router_impl.h |
diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h |
index 1abe33b6ad728fda3601ee28722f87e1874aa247..9abfb38de20d2050da10de2b3c3da5156c5da854 100644 |
--- a/content/browser/renderer_host/input/input_router_impl.h |
+++ b/content/browser/renderer_host/input/input_router_impl.h |
@@ -15,11 +15,10 @@ |
#include "content/browser/renderer_host/input/touch_action_filter.h" |
#include "content/browser/renderer_host/input/touch_event_queue.h" |
#include "content/browser/renderer_host/input/touchpad_tap_suppression_controller.h" |
+#include "content/common/input/input_event_ack.h" |
jdduke (slow)
2015/05/08 21:30:48
Nit: We can still forward declare the InputEventAc
lanwei
2015/05/11 19:27:56
Done.
|
#include "content/common/input/input_event_stream_validator.h" |
#include "content/public/browser/native_web_keyboard_event.h" |
-struct InputHostMsg_HandleInputEvent_ACK_Params; |
- |
namespace IPC { |
class Sender; |
} |
@@ -124,7 +123,7 @@ private: |
bool is_keyboard_shortcut); |
// IPC message handlers |
- void OnInputEventAck(const InputHostMsg_HandleInputEvent_ACK_Params& ack); |
+ void OnInputEventAck(const InputEventAck& ack); |
void OnDidOverscroll(const DidOverscrollParams& params); |
void OnMsgMoveCaretAck(); |
void OnSelectMessageAck(); |
@@ -145,6 +144,7 @@ private: |
void ProcessInputEventAck(blink::WebInputEvent::Type event_type, |
InputEventAckState ack_result, |
const ui::LatencyInfo& latency_info, |
+ uint32 unique_touch_event_id, |
AckSource ack_source); |
// Dispatches the ack'ed event to |ack_handler_|. |
@@ -169,7 +169,8 @@ private: |
// Forwards the event ack to |touch_event_queue_|, potentially triggering |
// dispatch of queued touch events, or the creation of gesture events. |
void ProcessTouchAck(InputEventAckState ack_result, |
- const ui::LatencyInfo& latency); |
+ const ui::LatencyInfo& latency, |
+ uint32 unique_touch_event_id); |
// Called when a touch timeout-affecting bit has changed, in turn toggling the |
// touch ack timeout feature of the |touch_event_queue_| as appropriate. Input |