Ensure Windows accessibility is enabled properly.
http://crrev.com/c/1192062 made it so that we don't enable accessibility as often. The idea was to only enable accessibility if we get a call to IAccessible2, or to both get_accName and a response to our alert message on a honeypot window. However, this only worked if we constructed at least one BrowserAccessibilityManager. In cases where the external client never explored and discovered a BrowserAccessibilityManager, the IAccessible2UsageObserver wasn't registered yet. As a fix, move the IAccessible2UsageObserver code to part of BrowserAccessibilityStateImpl. Bug: 878072 Change-Id: Iadcbd032fa1d6f635bbb99c1e130d384efe0d9b1 Reviewed-on: https://chromium-review.googlesource.com/1234267Reviewed-by:Aaron Leventhal <aleventhal@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#593233}
Showing
Please register or sign in to comment