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

Issue 6271019: Fix support for AccessibleObjectFromPoint on page navigation (Closed)

Created:
9 years, 11 months ago by Chris Guillory
Modified:
9 years, 7 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

When swapping render widget hosts the previous host instance is destroyed after the new host instance is created. This causes an issue because the ViewProp destructor used for saving the host's HWND for accessibility clears the new host's ViewProp since the key (the parent tab contents view host) is identical. Updating the code to explicitly clear the accessibility ViewProp inside Hide() and set it inside Show(). BUG=70657 TEST=Manual. Inspect32. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72524

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_win.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 3 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Chris Guillory
9 years, 11 months ago (2011-01-25 02:42:32 UTC) #1
dmazzoni
LGTM. Was this affecting anything else or just the linked bug (AccessibleObjectForPoint)?
9 years, 11 months ago (2011-01-25 18:27:56 UTC) #2
Chris Guillory
9 years, 11 months ago (2011-01-25 18:48:29 UTC) #3
> Was this affecting anything else or just the linked bug
> (AccessibleObjectForPoint)?
Yes, it is preventing the IAccessible for the RenderView being returned as a
child of the of the TabContents. We had a test for this but never passed on the
build bot: DISABLED_ContainsRendererAccessibilityTree.

Powered by Google App Engine
This is Rietveld 408576698