arc-a11y: Move a11y importance computation into DataInfoWrapper
Moving importance computation from AXTreeSourceArc into DataInfoWrapper makes clear the responsibilities of each classes, where the former is managing the entire tree and the latter computes properties of each node. This will allow us to make unit tests of each DataInfoWrapper classes easier. Bug: b:152930082 Test: unit_tests --gtest_filter="AXTreeSourceArcTest.*" Test: tast tests still passes. Change-Id: Ia2f03af1788908560fdb92748df7d702b11dada5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249432Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Sara Kato <sarakato@chromium.org> Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Cr-Commit-Position: refs/heads/master@{#781091}
Showing
Please register or sign in to comment