• James Cook's avatar
    cros: Convert "touch hud projection" from key shortcut/pref to flag · 0ba192bf
    James Cook authored
    This debugging/presentation feature was tied to Ctrl-Alt-P. Usage is
    very low per UMA metrics. We suspect most usage was from users
    mistakenly hitting it when pressing Ctrl-P to print. Since it was tied
    to a pref the user could get stuck in this state. It also didn't work
    at the login screen and would turn on and off when switching
    multiprofile users.
    
    This feature is useful for debugging, recording videos of touch bugs,
    and for projecting demos. UI review suggested moving it to about:flags
    alongside the other touch debug flags.
    
    * Remove the pref and add cleanup code to wipe the existing value.
    * Remove the accelerator key.
    * Add --show-taps. The name is inspired by the Android OS developer
      option that does the same thing.
    
    TBR=rockot@chromium.org
    
    Bug: 786115
    Test: existing ash_unittests
    Change-Id: I07579bff6ab3dd16ec5c14347df1a047b1aa935c
    Reviewed-on: https://chromium-review.googlesource.com/802075
    Commit-Queue: James Cook <jamescook@chromium.org>
    Reviewed-by: default avatarDominic Battré <battre@chromium.org>
    Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
    Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
    Reviewed-by: default avatarMichael Wasserman <msw@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#521058}
    0ba192bf
accelerator_commands_classic.h 769 Bytes