| 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 */) | |
| 270 #endif | 267 #endif |
| 271 | 268 |
| 272 // Request from browser to update the cursor and composition information. | 269 // Request from browser to update the cursor and composition information. |
| 273 IPC_MESSAGE_ROUTED2(InputMsg_RequestCompositionUpdate, | 270 IPC_MESSAGE_ROUTED2(InputMsg_RequestCompositionUpdate, |
| 274 bool /* immediate request */, | 271 bool /* immediate request */, |
| 275 bool /* monitor request */) | 272 bool /* monitor request */) |
| 276 | 273 |
| 277 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) | 274 IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) |
| 278 | 275 |
| 279 // ----------------------------------------------------------------------------- | 276 // ----------------------------------------------------------------------------- |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // This IPC message sends the character bounds after every composition change | 310 // This IPC message sends the character bounds after every composition change |
| 314 // to always have correct bound info. | 311 // to always have correct bound info. |
| 315 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 312 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
| 316 gfx::Range /* composition range */, | 313 gfx::Range /* composition range */, |
| 317 std::vector<gfx::Rect> /* character bounds */) | 314 std::vector<gfx::Rect> /* character bounds */) |
| 318 | 315 |
| 319 // Adding a new message? Stick to the sort order above: first platform | 316 // Adding a new message? Stick to the sort order above: first platform |
| 320 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 317 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
| 321 // platform independent InputHostMsg, then ifdefs for platform specific | 318 // platform independent InputHostMsg, then ifdefs for platform specific |
| 322 // InputHostMsg. | 319 // InputHostMsg. |
| OLD | NEW |