AX: Don't use listIndex in AXListBoxOption class.

* AXListBoxOption::isSelectedOptionActive()
  We don't need to compare indices. We can compare node pointers.

* AXListBoxOption::setSelected()
  We don't need to compute an optionIndex.  We can pass an HTMLOptionElement
  pointer directly by changing the argument type of accessKeySetSelectedIndex().
  This CL renames accessKeySetSelectedIndex() to selectOptionByAccessKey().

Now, we can remove AXListBoxOption::listBoxOptionIndex() and
HTMLSelectElement::listToOptionIndex().

Review-Url: https://codereview.chromium.org/2147963004
Cr-Commit-Position: refs/heads/master@{#405500}
5 files changed