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

Unified Diff: content/common/input_messages.h

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 e83a77bac4e471b08e4879ae92d2fa025a397621..336dcaa11418d8ab9d2d6465d5894d4adde7075c 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -161,10 +161,11 @@ IPC_MESSAGE_ROUTED5(
int /* selection_end */)
// This message confirms an ongoing composition.
-IPC_MESSAGE_ROUTED3(InputMsg_ImeConfirmComposition,
+IPC_MESSAGE_ROUTED4(InputMsg_ImeConfirmComposition,
base::string16 /* text */,
gfx::Range /* replacement_range */,
- bool /* keep_selection */)
+ bool /* keep_selection */,
+ int /* new cursor position */)
// 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