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

Unified Diff: content/common/input_messages.h

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Fix some stuff breaking Linux builds Created 4 years 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 e57fac2c667cbffc5adae1f33c60d35870a4e28c..0ee6722c0432d9b9d9b0a82b9bbe30bb0132acff 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -172,10 +172,12 @@ IPC_MESSAGE_ROUTED5(
// 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 */,
- int /* relative_cursor_pos */)
+IPC_MESSAGE_ROUTED4(
+ InputMsg_ImeCommitText,
+ base::string16 /* text */,
+ std::vector<blink::WebCompositionUnderline>, /* underlines */
+ gfx::Range /* replacement_range */,
+ int /* relative_cursor_pos */)
// This message inserts the ongoing composition.
IPC_MESSAGE_ROUTED1(InputMsg_ImeFinishComposingText, bool /* keep_selection */)

Powered by Google App Engine
This is Rietveld 408576698