diff options
author | guohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 21:41:07 +0000 |
---|---|---|
committer | guohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 21:41:07 +0000 |
commit | 50007578be00daeb58db28579f2a59c51df8ca7f (patch) | |
tree | 636cc68bd8500fba3958eeda45bf9b9d12ee039b /content/common/input_messages.h | |
parent | eccbbb6912589f00943d866d03b14964edd0507d (diff) | |
download | chromium_src-50007578be00daeb58db28579f2a59c51df8ca7f.zip chromium_src-50007578be00daeb58db28579f2a59c51df8ca7f.tar.gz chromium_src-50007578be00daeb58db28579f2a59c51df8ca7f.tar.bz2 |
Changed IME messages from Frame to Input
All IME messages should go through the same compositor, otherwise, race condition may occur.
A followup of cl 324133002
BUG=376273
Review URL: https://codereview.chromium.org/355073003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/input_messages.h')
-rw-r--r-- | content/common/input_messages.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/common/input_messages.h b/content/common/input_messages.h index 2ea722c..d00d45d 100644 --- a/content/common/input_messages.h +++ b/content/common/input_messages.h @@ -115,6 +115,19 @@ IPC_MESSAGE_ROUTED3(InputMsg_HandleInputEvent, IPC_MESSAGE_ROUTED1(InputMsg_CursorVisibilityChange, bool /* is_visible */) +// Sets the text composition to be between the given start and end offsets in +// the currently focused editable field. +IPC_MESSAGE_ROUTED3(InputMsg_SetCompositionFromExistingText, + int /* start */, + int /* end */, + std::vector<blink::WebCompositionUnderline> /* underlines */) + +// Deletes the current selection plus the specified number of characters before +// and after the selection or caret. +IPC_MESSAGE_ROUTED2(InputMsg_ExtendSelectionAndDelete, + int /* before */, + int /* after */) + // This message sends a string being composed with an input method. IPC_MESSAGE_ROUTED4( InputMsg_ImeSetComposition, |