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) | |
258 // On Mac and Aura IME can request composition character bounds | 257 // On Mac and Aura IME can request composition character bounds |
dcheng
2014/12/05 23:45:50
This comments seems out-of-date. Would it be possi
zhaoze.zhou
2014/12/08 14:51:15
Done.Please take a look.
| |
259 // synchronously (see crbug.com/120597). This IPC message sends the character | 258 // synchronously (see crbug.com/120597). This IPC message sends the character |
260 // bounds after every composition change to always have correct bound info. | 259 // bounds after every composition change to always have correct bound info. |
261 // This IPC message is also used on Android 5.0 and above. | 260 // This IPC message is also used on Android 5.0 and above. |
262 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 261 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
263 gfx::Range /* composition range */, | 262 gfx::Range /* composition range */, |
264 std::vector<gfx::Rect> /* character bounds */) | 263 std::vector<gfx::Rect> /* character bounds */) |
265 #endif | |
266 | 264 |
267 // Adding a new message? Stick to the sort order above: first platform | 265 // Adding a new message? Stick to the sort order above: first platform |
268 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 266 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
269 // platform independent InputHostMsg, then ifdefs for platform specific | 267 // platform independent InputHostMsg, then ifdefs for platform specific |
270 // InputHostMsg. | 268 // InputHostMsg. |
OLD | NEW |