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

Unified Diff: components/test_runner/web_widget_test_client.cc

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: components/test_runner/web_widget_test_client.cc
diff --git a/components/test_runner/web_widget_test_client.cc b/components/test_runner/web_widget_test_client.cc
index a3e65061f88931334c3a5ff8716a6efc77346caa..f7d5939f2ffa8d3786f4367d54691364c9eca30a 100644
--- a/components/test_runner/web_widget_test_client.cc
+++ b/components/test_runner/web_widget_test_client.cc
@@ -103,7 +103,7 @@ void WebWidgetTestClient::resetInputMethod() {
// If a composition text exists, then we need to let the browser process
// to cancel the input method's ongoing composition session.
if (web_view_test_proxy_base_)
- web_view_test_proxy_base_->web_widget()->confirmComposition();
+ web_view_test_proxy_base_->web_widget()->confirmComposition(1);
Changwan Ryu 2016/08/03 07:37:29 ditto
yabinh 2016/08/08 07:33:43 Done.
}
} // namespace test_runner

Powered by Google App Engine
This is Rietveld 408576698