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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, | 238 IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, |
239 int /* request_id */, | 239 int /* request_id */, |
240 float /* x */, | 240 float /* x */, |
241 float /* y */) | 241 float /* y */) |
242 | 242 |
243 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. | 243 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. |
244 // NOTE: ImeEventAck and other Ime* messages should be of the same type, | 244 // NOTE: ImeEventAck and other Ime* messages should be of the same type, |
245 // otherwise a race condition can happen. | 245 // otherwise a race condition can happen. |
246 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) | 246 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) |
247 | 247 |
| 248 // Request from browser to update text input state. |
| 249 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate) |
248 #endif | 250 #endif |
249 | 251 |
250 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) | 252 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) |
251 | 253 |
252 // ----------------------------------------------------------------------------- | 254 // ----------------------------------------------------------------------------- |
253 // Messages sent from the renderer to the browser. | 255 // Messages sent from the renderer to the browser. |
254 | 256 |
255 // Acknowledges receipt of a InputMsg_HandleInputEvent message. | 257 // Acknowledges receipt of a InputMsg_HandleInputEvent message. |
256 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, | 258 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, |
257 content::InputEventAck /* ack */) | 259 content::InputEventAck /* ack */) |
(...skipping 28 matching lines...) Expand all Loading... |
286 // This IPC message sends the character bounds after every composition change | 288 // This IPC message sends the character bounds after every composition change |
287 // to always have correct bound info. | 289 // to always have correct bound info. |
288 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 290 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
289 gfx::Range /* composition range */, | 291 gfx::Range /* composition range */, |
290 std::vector<gfx::Rect> /* character bounds */) | 292 std::vector<gfx::Rect> /* character bounds */) |
291 | 293 |
292 // Adding a new message? Stick to the sort order above: first platform | 294 // Adding a new message? Stick to the sort order above: first platform |
293 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 295 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
294 // platform independent InputHostMsg, then ifdefs for platform specific | 296 // platform independent InputHostMsg, then ifdefs for platform specific |
295 // InputHostMsg. | 297 // InputHostMsg. |
OLD | NEW |