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

Unified Diff: content/renderer/render_widget.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
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index a9d6b929438118d190d7d748b700e0d6162c3232..745c913e5845d98ec0ca28a6ae455e306aef7788 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -492,9 +492,11 @@ class CONTENT_EXPORT RenderWidget
const gfx::Range& replacement_range,
int selection_start,
int selection_end);
- virtual void OnImeCommitText(const base::string16& text,
- const gfx::Range& replacement_range,
- int relative_cursor_pos);
+ virtual void OnImeCommitText(
+ const base::string16& text,
+ const std::vector<blink::WebCompositionUnderline>& underlines,
+ const gfx::Range& replacement_range,
+ int relative_cursor_pos);
virtual void OnImeFinishComposingText(bool keep_selection);
// Called when the device scale factor is changed, or the layer tree is
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698