diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 06:41:14 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 06:41:14 +0000 |
commit | dea2d37cbf7cfa80b8c357d81ca706ac856325b6 (patch) | |
tree | a2c6b4991563ffa0567729693951e2eb7e187ee5 /webkit/glue/webaccessibility.h | |
parent | 9d3f7d5e85d9834495434d7b925c1ba7933a344f (diff) | |
download | chromium_src-dea2d37cbf7cfa80b8c357d81ca706ac856325b6.zip chromium_src-dea2d37cbf7cfa80b8c357d81ca706ac856325b6.tar.gz chromium_src-dea2d37cbf7cfa80b8c357d81ca706ac856325b6.tar.bz2 |
Support additional webkit accessibility notifications and states.
1. Update WebAccessibility::ConvertState to function similarly to WebCore's AccessibleBase::get_accState.
2. Use WebKit's load complete notification to send the renderer's tree to the browser.
We enable accessibility on the renderer now instead of requesting a tree.
3. Use WebKit's focused ui element notification to send renderer focus events to the browser.
BUG=13291
BUG=38106
TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationActiveDescendantChanged
TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationFocusChanged
Review URL: http://codereview.chromium.org/3380017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webaccessibility.h')
-rw-r--r-- | webkit/glue/webaccessibility.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/webaccessibility.h b/webkit/glue/webaccessibility.h index 8db5ac6..09a9473 100644 --- a/webkit/glue/webaccessibility.h +++ b/webkit/glue/webaccessibility.h @@ -132,16 +132,22 @@ struct WebAccessibility { // int mask = (1 << STATE_CHECKED) | (1 << STATE_FOCUSED); enum State { STATE_CHECKED, + STATE_COLLAPSED, + STATE_EXPANDED, STATE_FOCUSABLE, STATE_FOCUSED, + STATE_HASPOPUP, STATE_HOTTRACKED, STATE_INDETERMINATE, + STATE_INVISIBLE, STATE_LINKED, STATE_MULTISELECTABLE, STATE_OFFSCREEN, STATE_PRESSED, STATE_PROTECTED, STATE_READONLY, + STATE_SELECTABLE, + STATE_SELECTED, STATE_TRAVERSED, STATE_BUSY, STATE_UNAVAILABLE |