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

Unified Diff: third_party/WebKit/Source/web/WebInputMethodControllerImpl.h

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Fix header include 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/Source/web/WebInputMethodControllerImpl.h
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
index 33fcfdbcbf07b06907aa74d5a1bc6f734a3c8dc4..6a4c460fde78bb2960f6c270a89d69a78ba76a0e 100644
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
+++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
@@ -35,7 +35,9 @@ class WebInputMethodControllerImpl : public WebInputMethodController {
// Used to ask the WebInputMethodController to either delete and ongoing
// composition, or insert the specified text, or move the caret according to
// relativeCaretPosition.
- bool commitText(const WebString& text, int relativeCaretPosition) override;
+ bool commitText(const WebString& text,
+ const WebVector<WebCompositionUnderline>& underlines,
+ int relativeCaretPosition) override;
// Called to ask the WebInputMethodController to confirm an ongoing
// composition.

Powered by Google App Engine
This is Rietveld 408576698