Index: third_party/WebKit/Source/web/WebViewImpl.h |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h |
index 3015ed117aac115bfc52f38d55c50b8125bfd8a9..7a076691993531a1df20955f7ba9470ea4447741 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -137,9 +137,9 @@ public: |
const WebVector<WebCompositionUnderline>& underlines, |
int selectionStart, |
int selectionEnd) override; |
- bool confirmComposition() override; |
- bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) override; |
- bool confirmComposition(const WebString& text) override; |
+ bool confirmComposition(int newCursorPosition = 1) override; |
+ bool confirmComposition(ConfirmCompositionBehavior selectionBehavior, int newCursorPosition = 1) override; |
+ bool confirmComposition(const WebString& text, int newCursorPosition = 1) override; |
bool compositionRange(size_t* location, size_t* length) override; |
WebTextInputInfo textInputInfo() override; |
WebTextInputType textInputType() override; |
@@ -560,7 +560,7 @@ private: |
// Returns true if the event was actually processed. |
bool keyEventDefault(const WebKeyboardEvent&); |
- bool confirmComposition(const WebString& text, ConfirmCompositionBehavior); |
+ bool confirmComposition(const WebString& text, ConfirmCompositionBehavior, int newCursorPosition); |
// Returns true if the view was scrolled. |
bool scrollViewWithKeyboard(int keyCode, int modifiers); |