| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // IPC messages for input events and other messages that require processing in | 5 // IPC messages for input events and other messages that require processing in |
| 6 // order relative to input events. | 6 // order relative to input events. |
| 7 // Multiply-included message file, hence no include guard. | 7 // Multiply-included message file, hence no include guard. |
| 8 | 8 |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "content/common/content_param_traits.h" | 11 #include "content/common/content_param_traits.h" |
| 12 #include "content/common/edit_command.h" | |
| 13 #include "content/common/input/input_event.h" | 12 #include "content/common/input/input_event.h" |
| 14 #include "content/common/input/input_param_traits.h" | 13 #include "content/common/input/input_param_traits.h" |
| 15 #include "content/common/input/synthetic_gesture_packet.h" | 14 #include "content/common/input/synthetic_gesture_packet.h" |
| 16 #include "content/common/input/synthetic_gesture_params.h" | 15 #include "content/common/input/synthetic_gesture_params.h" |
| 17 #include "content/common/input/synthetic_pinch_gesture_params.h" | 16 #include "content/common/input/synthetic_pinch_gesture_params.h" |
| 18 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" | 17 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
| 19 #include "content/common/input/synthetic_tap_gesture_params.h" | 18 #include "content/common/input/synthetic_tap_gesture_params.h" |
| 19 #include "content/common/input/touch_action.h" |
| 20 #include "content/port/common/input_event_ack_state.h" | 20 #include "content/port/common/input_event_ack_state.h" |
| 21 #include "content/public/common/common_param_traits.h" | 21 #include "content/public/common/common_param_traits.h" |
| 22 #include "content/common/input/touch_action.h" | 22 #include "content/public/common/edit_command.h" |
| 23 #include "ipc/ipc_message_macros.h" | 23 #include "ipc/ipc_message_macros.h" |
| 24 #include "third_party/WebKit/public/web/WebInputEvent.h" | 24 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 25 #include "ui/events/latency_info.h" | 25 #include "ui/events/latency_info.h" |
| 26 #include "ui/gfx/point.h" | 26 #include "ui/gfx/point.h" |
| 27 #include "ui/gfx/rect.h" | 27 #include "ui/gfx/rect.h" |
| 28 | 28 |
| 29 #undef IPC_MESSAGE_EXPORT | 29 #undef IPC_MESSAGE_EXPORT |
| 30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 31 | 31 |
| 32 #ifdef IPC_MESSAGE_START | 32 #ifdef IPC_MESSAGE_START |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 content::SyntheticGesturePacket) | 191 content::SyntheticGesturePacket) |
| 192 | 192 |
| 193 // Notifies the allowed touch actions for a new touch point. | 193 // Notifies the allowed touch actions for a new touch point. |
| 194 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, | 194 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, |
| 195 content::TouchAction /* touch_action */) | 195 content::TouchAction /* touch_action */) |
| 196 | 196 |
| 197 // Adding a new message? Stick to the sort order above: first platform | 197 // Adding a new message? Stick to the sort order above: first platform |
| 198 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 198 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
| 199 // platform independent InputHostMsg, then ifdefs for platform specific | 199 // platform independent InputHostMsg, then ifdefs for platform specific |
| 200 // InputHostMsg. | 200 // InputHostMsg. |
| OLD | NEW |