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

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: adjust selection in confirmCompositionOrInsertText() Created 4 years, 4 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 7a7a9395deca8b21775a72c4a78028bdf2a49d3f..bd4549c9489420c614ca6e9131eea045e1c228cc 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) override;
Changwan Ryu 2016/08/03 07:37:30 don't need to pass this.
+ bool confirmComposition(ConfirmCompositionBehavior selectionBehavior, int newCursorPosition) override;
Changwan Ryu 2016/08/03 07:37:30 ditto
yabinh 2016/08/08 07:33:44 Done.
yabinh 2016/08/08 07:33:44 Done.
+ bool confirmComposition(const WebString& text, int newCursorPosition) 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