Commit b1692f21 authored by Avery Musbach's avatar Avery Musbach Committed by Commit Bot

accessibility: Do not update cursor visibility for touch exploration

BEFORE: Touch exploration causes the mouse cursor to appear even if
there are no pointing devices whatsoever.
AFTER: Touch exploration has no effect on cursor visibility.

Bug: b/167952435
Test: manual
Change-Id: I0ff8d0ddf59272183bed65655f10be5aeb57210b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436627Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Avery Musbach <amusbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812230}
parent 64fdfb8e
...@@ -343,6 +343,7 @@ AccessibilityPrivateSendSyntheticMouseEventFunction::Run() { ...@@ -343,6 +343,7 @@ AccessibilityPrivateSendSyntheticMouseEventFunction::Run() {
int changed_button_flags = flags; int changed_button_flags = flags;
flags |= ui::EF_IS_SYNTHESIZED;
if (mouse_data->touch_accessibility && *(mouse_data->touch_accessibility)) if (mouse_data->touch_accessibility && *(mouse_data->touch_accessibility))
flags |= ui::EF_TOUCH_ACCESSIBILITY; flags |= ui::EF_TOUCH_ACCESSIBILITY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment