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

Unified Diff: content/renderer/browser_plugin/browser_plugin.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/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 68286d849f4b08730eefc4b378a3208265f8abed..3163dffd69394677ea953a54864d722cc64edaa9 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -115,8 +115,10 @@ class CONTENT_EXPORT BrowserPlugin :
const blink::WebVector<blink::WebCompositionUnderline>& underlines,
int selectionStart,
int selectionEnd) override;
- bool commitText(const blink::WebString& text,
- int relative_cursor_pos) override;
+ bool commitText(
+ const blink::WebString& text,
+ const blink::WebVector<blink::WebCompositionUnderline>& underlines,
+ int relative_cursor_pos) override;
bool finishComposingText(
blink::WebInputMethodController::ConfirmCompositionBehavior
selection_behavior) override;

Powered by Google App Engine
This is Rietveld 408576698