• bsheedy's avatar
    Add mock keyboard input for VR instrumentation tests · e7436439
    bsheedy authored
    Adds the ability to use a mock keyboard during VR instrumentation tests,
    which allows arbitrary text input without having to actually click the
    keys on the keyboard. This is achieved in a similar way to the mock
    controller input, where the keyboard delegate is swapped to the mock
    one when necessary.
    
    Also automates one manual test for navigation on URL entry that uses
    the new functionality.
    
    Bug: 887523
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:linux_vr;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: Ia1130df87a154a6771038182883521ede209be99
    Reviewed-on: https://chromium-review.googlesource.com/c/1257665Reviewed-by: default avatarAldo Culquicondor <acondor@chromium.org>
    Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
    Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#596733}
    e7436439
ui.cc 30.7 KB