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

Unified Diff: content/common/input_messages.h

Issue 671503005: Plumb composition character bounds for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 1827212699c9acb9e3283ddd7f975834ee66f34f..9953035f469324fae51af552734a92ca5085d602 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -240,10 +240,11 @@ IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll,
// Required for cancelling an ongoing input method composition.
IPC_MESSAGE_ROUTED0(InputHostMsg_ImeCancelComposition)
-#if defined(OS_MACOSX) || defined(USE_AURA)
+#if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
// On Mac and Aura IME can request composition character bounds
// synchronously (see crbug.com/120597). This IPC message sends the character
// bounds after every composition change to always have correct bound info.
+// This IPC message is also used on Android 5.0 and above.
IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
gfx::Range /* composition range */,
std::vector<gfx::Rect> /* character bounds */)

Powered by Google App Engine
This is Rietveld 408576698