[Android] Temporarily suppress shift modifiers for detected tap gestures
commit0d264850d7d8b98386db36ca928f99c6418b512d
authorjdduke <jdduke@chromium.org>
Wed, 21 Jan 2015 14:46:04 +0000 (21 06:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 21 Jan 2015 14:47:42 +0000 (21 14:47 +0000)
tree5b269319b6794897477ca467cf9bc37befca4ae8
parent1a77411405391fa9eea2b134ce85d11868a3c717
[Android] Temporarily suppress shift modifiers for detected tap gestures

Android's UiAutomator unintentionally bundles the shift modifier with
all accessibliity click MotionEvents. The side-effect is that
accessibility clicks (derived from the MotionEvents) are interpreted
as shift+click, which is not meaningfully implemented on Android.

As a temporary workaround, suppress the standalone shift modifier for
touch-derived tap gestures.

BUG=443247

Review URL: https://codereview.chromium.org/865463002

Cr-Commit-Position: refs/heads/master@{#312385}
content/browser/renderer_host/render_widget_host_view_android.cc