For historical reasons, Views accessibility uses a struct, AXViewState, to represent the accessible state of a View. This was originally designed when Views accessibility shared little code with the rest of Chrome.
Today a lot more code is shared, and all of the places where AXViewState is consumed, it's first converted into the more general AXNodeData struct, which is used throughout Chrome.
We should replace the awkward set_value_callback in AXViewState with a virtual function on View that takes an AXActionData instead, that will allow even more future cleanups and streamlining.
Comment 1 by bugdroid1@chromium.org
, Nov 4 2016