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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 IPC_MESSAGE_ROUTED1(InputMsg_MoveCaret, | 232 IPC_MESSAGE_ROUTED1(InputMsg_MoveCaret, |
233 gfx::Point /* location */) | 233 gfx::Point /* location */) |
234 | 234 |
235 #if defined(OS_ANDROID) | 235 #if defined(OS_ANDROID) |
236 // Sent when the user clicks on the find result bar to activate a find result. | 236 // Sent when the user clicks on the find result bar to activate a find result. |
237 // The point (x,y) is in fractions of the content document's width and height. | 237 // The point (x,y) is in fractions of the content document's width and height. |
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 |
| 243 // Request from browser to update text input state. |
| 244 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate) |
242 #endif | 245 #endif |
243 | 246 |
244 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) | 247 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) |
245 | 248 |
246 // ----------------------------------------------------------------------------- | 249 // ----------------------------------------------------------------------------- |
247 // Messages sent from the renderer to the browser. | 250 // Messages sent from the renderer to the browser. |
248 | 251 |
249 // Acknowledges receipt of a InputMsg_HandleInputEvent message. | 252 // Acknowledges receipt of a InputMsg_HandleInputEvent message. |
250 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, | 253 IPC_MESSAGE_ROUTED1(InputHostMsg_HandleInputEvent_ACK, |
251 content::InputEventAck /* ack */) | 254 content::InputEventAck /* ack */) |
(...skipping 28 matching lines...) Expand all Loading... |
280 // This IPC message sends the character bounds after every composition change | 283 // This IPC message sends the character bounds after every composition change |
281 // to always have correct bound info. | 284 // to always have correct bound info. |
282 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 285 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
283 gfx::Range /* composition range */, | 286 gfx::Range /* composition range */, |
284 std::vector<gfx::Rect> /* character bounds */) | 287 std::vector<gfx::Rect> /* character bounds */) |
285 | 288 |
286 // Adding a new message? Stick to the sort order above: first platform | 289 // Adding a new message? Stick to the sort order above: first platform |
287 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 290 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
288 // platform independent InputHostMsg, then ifdefs for platform specific | 291 // platform independent InputHostMsg, then ifdefs for platform specific |
289 // InputHostMsg. | 292 // InputHostMsg. |
OLD | NEW |