• Yash Malik's avatar
    VR: Focus should be lost on button up · 0b5cc4e2
    Yash Malik authored
    Before this CL, we would hide the keyboard before releasing the button, which is
    incorrect behavior. This CL also makes the background unfocusable so clicking on
    it doesn't steal focus from text fields and hide the keyboard.
    
    Bug: 
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: I0a74c7f3d036e8bff6fc4daa2ce6b47f33f2a2e3
    Reviewed-on: https://chromium-review.googlesource.com/828120Reviewed-by: default avatarIan Vollick <vollick@chromium.org>
    Commit-Queue: Yash Malik <ymalik@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#524380}
    0b5cc4e2
ui_input_manager.h 4.09 KB