Initial addition of a11y test dump infrastructure.
commitf506b603e8c075b73990263b9317ce35b0cc35fe
authordtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Dec 2011 22:01:18 +0000 (21 22:01 +0000)
committerdtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Dec 2011 22:01:18 +0000 (21 22:01 +0000)
treeb439f705257f3bbddaa83cd4d37eb9f6970c7b8c
parentc896ec1167490001b9b50dfdc566da7d50823928
Initial addition of a11y test dump infrastructure.

This patch adds some basic infrastructure to dump the contents of the platform specific BrowserAccessibility* trees.

A subset of platform specific properties has not yet been added; the BrowserAccessibility::toString() will hold such a representation. For now, every node has it's contents dumped; we can possibly use the "id" html attribute to identify "test" nodes in the future.

The BrowserTreeDumpTest class generates a baseline when one is found and compares it to the live tree resulting from loading html from
chrome/test/data/accessibility.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/8971006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115418 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/accessibility/dump_accessibility_tree_browsertest.cc [new file with mode: 0644]
chrome/chrome_tests.gypi
chrome/test/data/accessibility/aria-application-expected-mac.txt [new file with mode: 0644]
chrome/test/data/accessibility/aria-application.html [new file with mode: 0644]
content/browser/accessibility/browser_accessibility.h
content/browser/accessibility/browser_accessibility_mac.mm
content/browser/accessibility/browser_accessibility_win.cc