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" |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 | 246 |
247 // Notifies the allowed touch actions for a new touch point. | 247 // Notifies the allowed touch actions for a new touch point. |
248 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, | 248 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, |
249 content::TouchAction /* touch_action */) | 249 content::TouchAction /* touch_action */) |
250 | 250 |
251 // Sent by the compositor when input scroll events are dropped due to bounds | 251 // Sent by the compositor when input scroll events are dropped due to bounds |
252 // restrictions on the root scroll offset. | 252 // restrictions on the root scroll offset. |
253 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, | 253 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, |
254 content::DidOverscrollParams /* params */) | 254 content::DidOverscrollParams /* params */) |
255 | 255 |
| 256 // Sent by the compositor when a fling animation is stopped. |
| 257 IPC_MESSAGE_ROUTED0(InputHostMsg_DidStopFlinging) |
| 258 |
256 // Acknowledges receipt of a InputMsg_MoveCaret message. | 259 // Acknowledges receipt of a InputMsg_MoveCaret message. |
257 IPC_MESSAGE_ROUTED0(InputHostMsg_MoveCaret_ACK) | 260 IPC_MESSAGE_ROUTED0(InputHostMsg_MoveCaret_ACK) |
258 | 261 |
259 // Acknowledges receipt of a InputMsg_MoveRangeSelectionExtent message. | 262 // Acknowledges receipt of a InputMsg_MoveRangeSelectionExtent message. |
260 IPC_MESSAGE_ROUTED0(InputHostMsg_MoveRangeSelectionExtent_ACK) | 263 IPC_MESSAGE_ROUTED0(InputHostMsg_MoveRangeSelectionExtent_ACK) |
261 | 264 |
262 // Acknowledges receipt of a InputMsg_SelectRange message. | 265 // Acknowledges receipt of a InputMsg_SelectRange message. |
263 IPC_MESSAGE_ROUTED0(InputHostMsg_SelectRange_ACK) | 266 IPC_MESSAGE_ROUTED0(InputHostMsg_SelectRange_ACK) |
264 | 267 |
265 // Required for cancelling an ongoing input method composition. | 268 // Required for cancelling an ongoing input method composition. |
266 IPC_MESSAGE_ROUTED0(InputHostMsg_ImeCancelComposition) | 269 IPC_MESSAGE_ROUTED0(InputHostMsg_ImeCancelComposition) |
267 | 270 |
268 // This IPC message sends the character bounds after every composition change | 271 // This IPC message sends the character bounds after every composition change |
269 // to always have correct bound info. | 272 // to always have correct bound info. |
270 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 273 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
271 gfx::Range /* composition range */, | 274 gfx::Range /* composition range */, |
272 std::vector<gfx::Rect> /* character bounds */) | 275 std::vector<gfx::Rect> /* character bounds */) |
273 | 276 |
274 // Adding a new message? Stick to the sort order above: first platform | 277 // Adding a new message? Stick to the sort order above: first platform |
275 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 278 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
276 // platform independent InputHostMsg, then ifdefs for platform specific | 279 // platform independent InputHostMsg, then ifdefs for platform specific |
277 // InputHostMsg. | 280 // InputHostMsg. |
OLD | NEW |