Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: content/common/input_messages.h

Issue 1999423002: tyrbot test for commitText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetHasCompositionTextToTrue Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index a602eb56840f62b39a524522538045e4ddd49743..b825f1c8c2969cb64d8975ab3de6fb31da2c003a 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -166,11 +166,15 @@ IPC_MESSAGE_ROUTED5(
int, /* selectiont_start */
int /* selection_end */)
-// This message confirms an ongoing composition.
-IPC_MESSAGE_ROUTED3(InputMsg_ImeConfirmComposition,
+// This message deletes the current composition, inserts specified text, and
+// moves the cursor.
+IPC_MESSAGE_ROUTED3(InputMsg_ImeCommitText,
base::string16 /* text */,
gfx::Range /* replacement_range */,
- bool /* keep_selection */)
+ int /* relative_cursor_pos */)
+
+// This message inserts the ongoing composition.
+IPC_MESSAGE_ROUTED1(InputMsg_ImeFinishComposingText, bool /* keep_selection */)
// This message notifies the renderer that the next key event is bound to one
// or more pre-defined edit commands. If the next key event is not handled

Powered by Google App Engine
This is Rietveld 408576698