The accessibility enums were used in over 300 files and many
of those uses depended on details of the bindings generated
from the IDL file. To keep this as much of a pure refactoring
as possible, this change does the following:
* Implements Parse and ToString functions in ax_enum_util
that match the behavior of the IDL bindings.
* Explicitly adds a kNone and kLast item to every enum, to
support code that iterates over enums.
Bug: 650275
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I6610169991ea1209629dab9a8c4c2c1f03c4116f
Reviewed-on: https://chromium-review.googlesource.com/877417
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531997}