From 4003e72945f0faa549d21c90558d0dce96056806 Mon Sep 17 00:00:00 2001 From: "dmazzoni@chromium.org" Date: Mon, 31 Oct 2011 05:04:03 +0000 Subject: Improve omnibox accessibility on Windows. This refactors and improves a bunch of views accessibility code on Windows and has the result of enabling NVDA to announce the text selection in the omnibox. The AutocompleteAccessibility class is removed; its functionality is rolled into NativeViewAccessibilityWin. NativeViewAccessibilityWin adds IAccessible2 and IAccessibleText interfaces, allowing it to directly expose the caret and selection to compatible assistive technology. In addition, this gives each accessible object an unique id. Finally, the reference from a View to its NativeViewAccessibilityWin is changed from a scoped_refptr to a ScopedComPtr, because another process may still have a reference to the accessible COM object when the View is deleted. BUG=53380 TEST=Manually test the omnibox with NVDA on Windows. It should announce text that's selected, including autocompletions. Review URL: http://codereview.chromium.org/8391010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107924 0039d316-1c4b-4281-b951-d872f2087c98 --- views/DEPS | 1 + 1 file changed, 1 insertion(+) (limited to 'views/DEPS') diff --git a/views/DEPS b/views/DEPS index 5811123..b0e0589 100644 --- a/views/DEPS +++ b/views/DEPS @@ -5,5 +5,6 @@ include_rules = [ "+grit/ui_strings.h", "+skia/ext", "+net", + "+third_party/iaccessible2", "+ui", ] -- cgit v1.1