• Yuichiro Hanada's avatar
    Invoke the passed callback of setMode() surely. · 1e5ae9d2
    Yuichiro Hanada authored
    Currently we don't call the passed callback of
    virtualKeyboardPrivate.setMode() when the virtual keyboard is already
    hidden.
    We should invoke the passed callback immediately if the virtual
    keyboard is hidden because the container type is changed immediately.
    
    Bug: 810253
    Test: Modified an unit test and followed the steps described in the linked bug.
    Change-Id: Icae6a31fbd1ad11699d43cdc5cea03a4070484c9
    Reviewed-on: https://chromium-review.googlesource.com/941281Reviewed-by: default avatarBlake O'Hare <blakeo@chromium.org>
    Commit-Queue: Yuichiro Hanada <yhanada@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#540001}
    1e5ae9d2
keyboard_controller.cc 28 KB