Chromium Code Reviews| Index: content/common/input_messages.h |
| diff --git a/content/common/input_messages.h b/content/common/input_messages.h |
| index 80d30430dedaccc5c8970172e8588afeb17b8dd7..4015cece9646fb2d7976f77935d87bace438f160 100644 |
| --- a/content/common/input_messages.h |
| +++ b/content/common/input_messages.h |
| @@ -12,6 +12,7 @@ |
| #include "content/common/edit_command.h" |
| #include "content/common/input/did_overscroll_params.h" |
| #include "content/common/input/input_event.h" |
| +#include "content/common/input/input_event_ack.h" |
| #include "content/common/input/input_event_ack_state.h" |
| #include "content/common/input/input_param_traits.h" |
| #include "content/common/input/synthetic_gesture_packet.h" |
| @@ -106,13 +107,13 @@ IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) |
| IPC_STRUCT_TRAITS_MEMBER(duration_ms) |
| IPC_STRUCT_TRAITS_END() |
| -IPC_STRUCT_BEGIN(InputHostMsg_HandleInputEvent_ACK_Params) |
| - IPC_STRUCT_MEMBER(blink::WebInputEvent::Type, type) |
| - IPC_STRUCT_MEMBER(content::InputEventAckState, state) |
| - IPC_STRUCT_MEMBER(ui::LatencyInfo, latency) |
| - // TODO(jdduke): Use Optional<T> type to avoid heap alloc, crbug.com/375002. |
| - IPC_STRUCT_MEMBER(scoped_ptr<content::DidOverscrollParams>, overscroll) |
| -IPC_STRUCT_END() |
| +IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck) |
| +IPC_STRUCT_TRAITS_MEMBER(type) |
|
nasko
2015/05/18 17:20:07
Please indent struct members to match existing sty
lanwei
2015/05/19 21:32:08
Done.
|
| +IPC_STRUCT_TRAITS_MEMBER(state) |
| +IPC_STRUCT_TRAITS_MEMBER(latency) |
| +IPC_STRUCT_TRAITS_MEMBER(overscroll) |
| +IPC_STRUCT_TRAITS_MEMBER(unique_touch_event_id) |
| +IPC_STRUCT_TRAITS_END() |
| // Sends an input event to the render widget. |
| IPC_MESSAGE_ROUTED3(InputMsg_HandleInputEvent, |
| @@ -238,8 +239,7 @@ IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) |
| // Messages sent from the renderer to the browser. |
| // Acknowledges receipt of a InputMsg_HandleInputEvent message. |
| -IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, |
| - InputHostMsg_HandleInputEvent_ACK_Params) |
| +IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, content::InputEventAck) |
|
nasko
2015/05/18 17:20:07
nit: Parameter name should follow in /* */ comment
lanwei
2015/05/19 21:32:08
Done.
|
| IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture, |
| content::SyntheticGesturePacket) |