Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Issue 261044: Accessibility information from the renderer was not being returned to tools l... (Closed)

Created:
11 years, 2 months ago by ananta
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), jam, ben+cc_chromium.org
Visibility:
Public.

Description

Accessibility information from the renderer was not being returned to tools like screen readers, etc. This was because the object implementing the root IAccessible interface did not know how to navigate a native render view. To work around this, we now check if the underlying view is a native view in our root IAccessible::get_accChild function and if yes we send the WM_GETOBJECT message to the corresponding RenderWidgetHostViewWin class, which returns an IAccessible interface which then can expose information from the renderer. The other changes in the accessibility code are for some crashes I observed while testing the screen readers like nvda, the Windows screen reader which send a flurry of WM_GETOBJECT messages leading to some race conditions. We also ensure that the accessibility information for a view is torn down when the view is destroyed. Fixes portions of http://code.google.com/p/chromium/issues/detail?id=13291 Bug=13291 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28655

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -2 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M views/accessibility/view_accessibility.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M views/accessibility/view_accessibility.cc View 1 2 3 4 14 chunks +80 lines, -1 line 0 comments Download
M views/accessibility/view_accessibility_wrapper.h View 1 chunk +2 lines, -0 lines 0 comments Download
M views/accessibility/view_accessibility_wrapper.cc View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M views/view.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ananta
11 years, 2 months ago (2009-10-09 18:52:28 UTC) #1
jcampan
http://codereview.chromium.org/261044/diff/1/7 File chrome/browser/browser_accessibility_manager.cc (right): http://codereview.chromium.org/261044/diff/1/7#newcode41 Line 41: Nit: remove empty line http://codereview.chromium.org/261044/diff/1/8 File chrome/browser/renderer_host/render_widget_host_view_win.cc (left): ...
11 years, 2 months ago (2009-10-09 19:17:31 UTC) #2
ananta
http://codereview.chromium.org/261044/diff/1/7 File chrome/browser/browser_accessibility_manager.cc (right): http://codereview.chromium.org/261044/diff/1/7#newcode41 Line 41: On 2009/10/09 19:17:31, jcampan wrote: > Nit: remove ...
11 years, 2 months ago (2009-10-09 20:56:34 UTC) #3
Jonas Klink (Google)
LGTM
11 years, 2 months ago (2009-10-09 21:48:27 UTC) #4
jcampan
http://codereview.chromium.org/261044/diff/2005/2006 File views/accessibility/view_accessibility.cc (right): http://codereview.chromium.org/261044/diff/2005/2006#newcode10 Line 10: const wchar_t kChromeUninitializeAccessibilityInstance[] = You still have Chrome ...
11 years, 2 months ago (2009-10-09 22:04:42 UTC) #5
ananta
http://codereview.chromium.org/261044/diff/2005/2006 File views/accessibility/view_accessibility.cc (right): http://codereview.chromium.org/261044/diff/2005/2006#newcode10 Line 10: const wchar_t kChromeUninitializeAccessibilityInstance[] = On 2009/10/09 22:04:42, jcampan ...
11 years, 2 months ago (2009-10-09 22:14:11 UTC) #6
jcampan
11 years, 2 months ago (2009-10-09 22:22:13 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698