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

Unified Diff: third_party/WebKit/public/web/WebInputMethodController.h

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Attempt to fix dependency error with target 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: third_party/WebKit/public/web/WebInputMethodController.h
diff --git a/third_party/WebKit/public/web/WebInputMethodController.h b/third_party/WebKit/public/web/WebInputMethodController.h
index a4c6d832175d6dacd030f4bbb0e4b5bfe60f3529..9ad4132148c0f9bf98edf9fdb6ee6c359a6e040a 100644
--- a/third_party/WebKit/public/web/WebInputMethodController.h
+++ b/third_party/WebKit/public/web/WebInputMethodController.h
@@ -36,7 +36,9 @@ class WebInputMethodController {
// Called to inform the WebWidget that deleting the ongoing composition if
// any, inserting the specified text, and moving the caret according to
// relativeCaretPosition.
- virtual bool commitText(const WebString& text, int relativeCaretPosition) = 0;
+ virtual bool commitText(const WebString& text,
+ const WebVector<WebCompositionUnderline>& underlines,
+ int relativeCaretPosition) = 0;
// Called to inform the WebWidget to confirm an ongoing composition.
virtual bool finishComposingText(

Powered by Google App Engine
This is Rietveld 408576698