Direct doDefault actions to parents of inlineTextBox nodes.
commita78f29d7409b24e318e09d95196279be628f9d81
authordtseng <dtseng@chromium.org>
Fri, 8 May 2015 18:51:22 +0000 (8 11:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 8 May 2015 18:52:29 +0000 (8 18:52 +0000)
treeef483b51f1feb3e55817d5e8350396dc85773576
parent86bd0448bb11826977519f852522267e403daeb0
Direct doDefault actions to parents of inlineTextBox nodes.

Performing a doDefault action on an inlineTextBox currently fails because within Blink, the associated WebAxObject has no corresponding action element.

Make the fix in ChromeVox. We should consider moving this up to either the Automation API or directly into Blink itself.

TEST=doDefault() on an inline textbox descendant of a link. Observe page transition.

Review URL: https://codereview.chromium.org/1131293003

Cr-Commit-Position: refs/heads/master@{#328998}
chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js