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

Unified Diff: content/common/input_messages.h

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Use addCompositionUnderlines() where I said I couldn't Created 3 years, 11 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 914440d6967bf1f8232a744606a836ec42a403f2..eb6d845f000531037438e6cbd5e9395f919d61e9 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -177,10 +177,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