diff options
author | dtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-06 08:15:09 +0000 |
---|---|---|
committer | dtseng@chromium.org <dtseng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-06 08:15:09 +0000 |
commit | 9a5bfe55537668a7d809c9a67cbc8e1e158f56a3 (patch) | |
tree | 94fa9f81447e00e2999fb61980634d37b14355c8 /content/renderer/renderer_accessibility.cc | |
parent | a759f32e53c0182d3cdf3032755bab3bf0adee77 (diff) | |
download | chromium_src-9a5bfe55537668a7d809c9a67cbc8e1e158f56a3.zip chromium_src-9a5bfe55537668a7d809c9a67cbc8e1e158f56a3.tar.gz chromium_src-9a5bfe55537668a7d809c9a67cbc8e1e158f56a3.tar.bz2 |
Translates the webkit notification for selection changes properly on Windows and maps the roles to something that works for Jaws.
This won't work until
https://bugs.webkit.org/show_bug.cgi?id=85541
makes its way into Chrome.
BUG=none
TEST=manually with JFW13.
TBR=darin
Review URL: http://codereview.chromium.org/10352005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135586 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/renderer_accessibility.cc')
-rw-r--r-- | content/renderer/renderer_accessibility.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/renderer/renderer_accessibility.cc b/content/renderer/renderer_accessibility.cc index bdde013..29986cb 100644 --- a/content/renderer/renderer_accessibility.cc +++ b/content/renderer/renderer_accessibility.cc @@ -53,6 +53,9 @@ bool WebAccessibilityNotificationToAccessibilityNotification( case WebKit::WebAccessibilityNotificationLoadComplete: *type = AccessibilityNotificationLoadComplete; break; + case WebKit::WebAccessibilityNotificationMenuListItemSelected: + *type = AccessibilityNotificationMenuListItemSelected; + break; case WebKit::WebAccessibilityNotificationMenuListValueChanged: *type = AccessibilityNotificationMenuListValueChanged; break; @@ -307,6 +310,7 @@ void RendererAccessibility::SendPendingAccessibilityNotifications() { break; } } + if (!is_child_of_parent) { obj = parent; notification.id = obj.axID(); |