
In AXEventGenerator::OnAtomicUpdateFinished, we add an alert event given the presence of a role matched by ui::IsAlert. In contrast, In AXEventGenerator::OnRoleChanged, we add an alert event matched by the kAlert role. ui::IsAlert also matches kAlertDialog, so we missed this role in the second case. Fix this by using ui::IsAlert in OnRoleChanged as well. R=aleventhal@chromium.org Change-Id: Ic2b88d2738170556cd6e474d48e149dab5744200 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6374403 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1435620}
This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).