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

Unified Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move caret within composing text. Created 4 years, 4 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/browser_plugin/browser_plugin_messages.h
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index 4161dafa06c1c651f1f30001fcb9568dfbc3bfe3..dc625e368966944546fc4f9aa2c33f6c2203b6cf 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -74,10 +74,11 @@ IPC_MESSAGE_CONTROL5(
// This message is sent from BrowserPlugin to BrowserPluginGuest to notify that
// confirming the current composition is requested.
-IPC_MESSAGE_CONTROL3(BrowserPluginHostMsg_ImeConfirmComposition,
+IPC_MESSAGE_CONTROL4(BrowserPluginHostMsg_ImeConfirmComposition,
int /* browser_plugin_instance_id */,
std::string /* text */,
- bool /* keep selection */)
+ bool /* keep selection */,
+ int /* relative_cursor_pos */)
// Deletes the current selection plus the specified number of characters before
// and after the selection or caret.

Powered by Google App Engine
This is Rietveld 408576698