| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // ----------------------------------------------------------------------------- | 252 // ----------------------------------------------------------------------------- |
| 253 // Messages sent from the renderer to the browser. | 253 // Messages sent from the renderer to the browser. |
| 254 | 254 |
| 255 // Acknowledges receipt of a InputMsg_HandleInputEvent message. | 255 // Acknowledges receipt of a InputMsg_HandleInputEvent message. |
| 256 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, | 256 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, |
| 257 content::InputEventAck /* ack */) | 257 content::InputEventAck /* ack */) |
| 258 | 258 |
| 259 IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture, | 259 IPC_MESSAGE_ROUTED1(InputHostMsg_QueueSyntheticGesture, |
| 260 content::SyntheticGesturePacket) | 260 content::SyntheticGesturePacket) |
| 261 | 261 |
| 262 // Notifies whether there are JavaScript touch event handlers or not. |
| 263 IPC_MESSAGE_ROUTED1(InputHostMsg_HasTouchEventHandlers, bool /* has_handlers */) |
| 264 |
| 265 // Notifies whether there are JavaScript touchmove event handlers or not. |
| 266 IPC_MESSAGE_ROUTED1(InputHostMsg_HasTouchMoveEventHandlers, |
| 267 bool /* has_handlers */) |
| 268 |
| 262 // Notifies the allowed touch actions for a new touch point. | 269 // Notifies the allowed touch actions for a new touch point. |
| 263 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, | 270 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, |
| 264 content::TouchAction /* touch_action */) | 271 content::TouchAction /* touch_action */) |
| 265 | 272 |
| 266 // Sent by the compositor when input scroll events are dropped due to bounds | 273 // Sent by the compositor when input scroll events are dropped due to bounds |
| 267 // restrictions on the root scroll offset. | 274 // restrictions on the root scroll offset. |
| 268 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, | 275 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, |
| 269 content::DidOverscrollParams /* params */) | 276 content::DidOverscrollParams /* params */) |
| 270 | 277 |
| 271 // Sent by the compositor when a fling animation is stopped. | 278 // Sent by the compositor when a fling animation is stopped. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 286 // This IPC message sends the character bounds after every composition change | 293 // This IPC message sends the character bounds after every composition change |
| 287 // to always have correct bound info. | 294 // to always have correct bound info. |
| 288 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 295 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
| 289 gfx::Range /* composition range */, | 296 gfx::Range /* composition range */, |
| 290 std::vector<gfx::Rect> /* character bounds */) | 297 std::vector<gfx::Rect> /* character bounds */) |
| 291 | 298 |
| 292 // Adding a new message? Stick to the sort order above: first platform | 299 // Adding a new message? Stick to the sort order above: first platform |
| 293 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 300 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
| 294 // platform independent InputHostMsg, then ifdefs for platform specific | 301 // platform independent InputHostMsg, then ifdefs for platform specific |
| 295 // InputHostMsg. | 302 // InputHostMsg. |
| OLD | NEW |