-
David Tseng authored
This change plumbs through the idea of a generated event type directly onto the AutomationEvent interface. GeneratedEvents are those defined in ui/accessibility/ax_event_generator.h. This is a straight-forward way for chrome.automation to make use of the underlying data. Note also that future authors can add additional events to chrome.automation.GeneratedEventType without touching ax::mojom::Event or ui::AXEventGenerator::Event. We only enforce that all ui::AXEventGenerator::Event types are in chrome.automation.GeneratedEventType, but not the reverse. See the fixed bug for an application of this change. Test: manually and browser_tests --gtest_filter=ChromeVox*.SortDirection. Fixed: 1112983 AX-relnotes: adds support for aria-sort output in ChromeVox. Change-Id: I27a34e988ce7ca8988ab2ee177e9022b7bc54610 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2353704 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#801041}
62f95525