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

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

Issue 1995333002: Handle newCursorPosition correctly for Android's commitText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/web/WebViewFrameWidget.h
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.h b/third_party/WebKit/Source/web/WebViewFrameWidget.h
index dd1c59398fbe533fa311eafa2501c6c6027db7a8..03755553776146c6566afc1923d50e5985f5e20f 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.h
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.h
@@ -66,9 +66,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;

Powered by Google App Engine
This is Rietveld 408576698