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 99488a97877603ffbcaa33907c38b34d0df13eb9..33fcfdbcbf07b06907aa74d5a1bc6f734a3c8dc4 100644 |
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h |
+++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h |
@@ -31,11 +31,16 @@ |
const WebVector<WebCompositionUnderline>& underlines, |
int selectionStart, |
int selectionEnd) override; |
+ |
+ // 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; |
+ |
+ // Called to ask the WebInputMethodController to confirm an ongoing |
+ // composition. |
bool finishComposingText( |
ConfirmCompositionBehavior selectionBehavior) override; |
- WebTextInputInfo textInputInfo() override; |
- WebTextInputType textInputType() override; |
void setSuppressNextKeypressEvent(bool suppress) { |
m_suppressNextKeypressEvent = suppress; |