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 "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 gfx::Point /* location */) | 257 gfx::Point /* location */) |
258 | 258 |
259 #if defined(OS_ANDROID) | 259 #if defined(OS_ANDROID) |
260 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. | 260 // Sent by the browser as ACK to ViewHostMsg_TextInputState when necessary. |
261 // NOTE: ImeEventAck and other Ime* messages should be of the same type, | 261 // NOTE: ImeEventAck and other Ime* messages should be of the same type, |
262 // otherwise a race condition can happen. | 262 // otherwise a race condition can happen. |
263 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) | 263 IPC_MESSAGE_ROUTED0(InputMsg_ImeEventAck) |
264 | 264 |
265 // Request from browser to update text input state. | 265 // Request from browser to update text input state. |
266 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate) | 266 IPC_MESSAGE_ROUTED0(InputMsg_RequestTextInputStateUpdate) |
| 267 |
| 268 IPC_MESSAGE_ROUTED1(InputMsg_ImeBatchEdit, |
| 269 bool /* begin */) |
267 #endif | 270 #endif |
268 | 271 |
269 // Request from browser to update the cursor and composition information. | 272 // Request from browser to update the cursor and composition information. |
270 IPC_MESSAGE_ROUTED2(InputMsg_RequestCompositionUpdate, | 273 IPC_MESSAGE_ROUTED2(InputMsg_RequestCompositionUpdate, |
271 bool /* immediate request */, | 274 bool /* immediate request */, |
272 bool /* monitor request */) | 275 bool /* monitor request */) |
273 | 276 |
274 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) | 277 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) |
275 | 278 |
276 // ----------------------------------------------------------------------------- | 279 // ----------------------------------------------------------------------------- |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 // This IPC message sends the character bounds after every composition change | 313 // This IPC message sends the character bounds after every composition change |
311 // to always have correct bound info. | 314 // to always have correct bound info. |
312 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 315 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
313 gfx::Range /* composition range */, | 316 gfx::Range /* composition range */, |
314 std::vector<gfx::Rect> /* character bounds */) | 317 std::vector<gfx::Rect> /* character bounds */) |
315 | 318 |
316 // Adding a new message? Stick to the sort order above: first platform | 319 // Adding a new message? Stick to the sort order above: first platform |
317 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 320 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
318 // platform independent InputHostMsg, then ifdefs for platform specific | 321 // platform independent InputHostMsg, then ifdefs for platform specific |
319 // InputHostMsg. | 322 // InputHostMsg. |
OLD | NEW |