-
Yuichiro Hanada authored
Before this CL, RequestHideIme() was called by Android side just after the call of OnTextInputTypeChanged(). However, the interval between the call of OnTextInputTypeChanged() and the call of RequestHideIme() can be larger than the length of the animation of showing the virtual keyboard. When it happens, the bounds of the shown virtual keyboard is notified to Android side by OnKeyboardAppearanceChanged() and it causes confusion. This CL fixes it by calling HideKeyboardImplicitlyBySystem() in OnTextInputTypeChanged() and marks RequestHideIme() mojo call as deprecated because it's not needed anymore. Bug: b/148483295 Bug: 1023656 Change-Id: I32c46c18949323c0a33a26dd10a18e2e38cc277a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089434Reviewed-by:
Tetsui Ohkubo <tetsui@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Commit-Queue: Yuichiro Hanada <yhanada@chromium.org> Cr-Commit-Position: refs/heads/master@{#748518}
0781568a