
This is a reland of commit 9d799b687e
Reason for revert: Suspects that the CL broke All/DumpAccessibilityTreeTest.AccessibilityRoleGroupFormControlsWithInitialFullA11y on Android Auto Sample failing test run: https://ci.chromium.org/ui/p/chrome/builders/ci/android-automotive-12l-x64-rel-tests/6232/overview
See also b/371230119
Fixed by landing CL:6403173.
Original change's description:
> [A11yPerformance] Improve Android AXMode setting code
>
> This alters the logic in a subtle way. In the previous iteration,
> if the enterprise logic turned off form controls mode, then we never
> used kAXModeBasic, and always used kAXModeComplete.
>
> This also improves the code by using ScopedAccessibilityMode and
> cleaning up an unnecessary method in BrowserAccessibilityState.
>
> Bug: none
> Change-Id: I6d96b228ffb36605ce81af840549717ecfb00b71
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6378064
> Reviewed-by: Mark Schillaci <mschillaci@google.com>
> Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1437764}
Bug: none
Change-Id: I8dc1d973f5976add765ea72277a7ddf0d4defc76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6401437
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1438944}
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead,
follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.