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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Rebase 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/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index fe6f9fe2078c6b1423990ecb29fad6f85635298c..5c159252726315e91e76e6631e3e0c2e1131e37d 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1633,11 +1633,13 @@ void RenderWidgetHostImpl::ImeSetComposition(
selection_start, selection_end));
}
-void RenderWidgetHostImpl::ImeCommitText(const base::string16& text,
- const gfx::Range& replacement_range,
- int relative_cursor_pos) {
- Send(new InputMsg_ImeCommitText(GetRoutingID(), text, replacement_range,
- relative_cursor_pos));
+void RenderWidgetHostImpl::ImeCommitText(
+ const base::string16& text,
+ const std::vector<blink::WebCompositionUnderline>& underlines,
+ const gfx::Range& replacement_range,
+ int relative_cursor_pos) {
+ Send(new InputMsg_ImeCommitText(GetRoutingID(), text, underlines,
+ replacement_range, relative_cursor_pos));
}
void RenderWidgetHostImpl::ImeFinishComposingText(bool keep_selection) {

Powered by Google App Engine
This is Rietveld 408576698