Uses OnTreeDataChanged event throughout the codebase The AXTreeData might change during an update to the tree and an `OnTreeDataChanged` event will be fired. This patch ensures that the right event is utilized in BrowserAccessibilityManager, whenever the tree data changes. It also makes a copy of the new tree data for use in followup patches in order to determine the ignored state of nodes. `AXTree::UpdateTreeData` is changed to indicate that it should only be used for testing and it is streamlined by having it call `AXTree::Unserialize` instead of implementing its own logic. In this way, if we ever change how updates to the tree data are treated, we won't need to modify `AXTree::UpdateDataForTesting` as well. R=dmazzoni@chromium.org, aleventhal@chromium.org AX-Relnotes: n/a. Change-Id: I36366d225c07c77c0f121418fa10feef92ab2aa5 Bug: 1049261 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2903292 Commit-Queue: Nektarios Paisios <nektar@chromium.org> Auto-Submit: Nektarios Paisios <nektar@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#888535}
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.