DescriptionAccExplorer shouldn't crash when pointed at chromium.
webaccessibility.h/cc
- Change type of OutParams::return_code from bool to int to allow more return codres, specifically RETURNCODE_FAIL.
- Add enum ReturnCode to list possible return codes for OutParams::return_code.
- Fix up WebAccessibility::GetAccObjInfo so that it returns a failure when an attempt is made to access an invalid object.
browseraccessibility.h/cc
- Renamed EmptyVariant to ChildSelfVariant since RequestAccessibilityInfo always expects to receive a valid VT_I4 variant for the var_id parameter.
- Update RequestAccessibilityInfo so that it returns false if the return_code is RETURNCODE_FAIL.
renderview.cc
- In RenderView::UpdateURL, completely reset the accessibility cache to it can be successfully recreated and initialized again in RenderView::OnGetAccessibilityInfo.
- Set the return_code in RenderView::OnGetAccessibilityInfo.
BUG=36162
TEST=Point AccExplorer32 at Chrome an verify that it can successfully display the full accessibility tree.
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 10
Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : '' #
Total comments: 2
Patch Set 7 : '' #
Messages
Total messages: 4 (0 generated)
|