| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 247 |
| 248 // Acknowledges receipt of a InputMsg_MoveRangeSelectionExtent message. | 248 // Acknowledges receipt of a InputMsg_MoveRangeSelectionExtent message. |
| 249 IPC_MESSAGE_ROUTED0(InputHostMsg_MoveRangeSelectionExtent_ACK) | 249 IPC_MESSAGE_ROUTED0(InputHostMsg_MoveRangeSelectionExtent_ACK) |
| 250 | 250 |
| 251 // Acknowledges receipt of a InputMsg_SelectRange message. | 251 // Acknowledges receipt of a InputMsg_SelectRange message. |
| 252 IPC_MESSAGE_ROUTED0(InputHostMsg_SelectRange_ACK) | 252 IPC_MESSAGE_ROUTED0(InputHostMsg_SelectRange_ACK) |
| 253 | 253 |
| 254 // Required for cancelling an ongoing input method composition. | 254 // Required for cancelling an ongoing input method composition. |
| 255 IPC_MESSAGE_ROUTED0(InputHostMsg_ImeCancelComposition) | 255 IPC_MESSAGE_ROUTED0(InputHostMsg_ImeCancelComposition) |
| 256 | 256 |
| 257 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) | 257 // This IPC message sends the character bounds after every composition change |
| 258 // On Mac and Aura IME can request composition character bounds | 258 // to always have correct bound info. |
| 259 // synchronously (see crbug.com/120597). This IPC message sends the character | |
| 260 // bounds after every composition change to always have correct bound info. | |
| 261 // This IPC message is also used on Android 5.0 and above. | |
| 262 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 259 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
| 263 gfx::Range /* composition range */, | 260 gfx::Range /* composition range */, |
| 264 std::vector<gfx::Rect> /* character bounds */) | 261 std::vector<gfx::Rect> /* character bounds */) |
| 265 #endif | |
| 266 | 262 |
| 267 // Adding a new message? Stick to the sort order above: first platform | 263 // Adding a new message? Stick to the sort order above: first platform |
| 268 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 264 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
| 269 // platform independent InputHostMsg, then ifdefs for platform specific | 265 // platform independent InputHostMsg, then ifdefs for platform specific |
| 270 // InputHostMsg. | 266 // InputHostMsg. |
| OLD | NEW |