UserActionMonitor can stop propagation of an action, even when matched.
This change adds the ability to stop the propagation of an action, even if it's matched by UserActionMonitor. The motivating example for this change is the interactive tutorial lesson that requests users to press Control. After successfully pressing Control, the tutorial automatically moves the user to the next lesson and reads the text. However, there are cases where the text is never read because ChromeVox cancels speech when Control is pressed. The solution is to add a boolean parameter that can specify whether or not the action should propagate, even if matched. This ensures that speech for the next lesson is not cancelled after completing the interactive Control key lesson. Fixed: 1132944 AX-Relnotes: N/A Change-Id: I6e63f7612b6fdf9aa398d46ff7746d5273aee683 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2469436Reviewed-by:David Tseng <dtseng@chromium.org> Commit-Queue: Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#817264}
Showing
Please register or sign in to comment