summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webaccessibility.cc
Commit message (Collapse)AuthorAgeFilesLines
* Only send child node updates on load and children changed notifications.ctguil@chromium.org2010-11-051-14/+18
| | | | | | | | | BUG=none TEST=interactive_ui_tests:AccessibilityWinBrowserTest.* Review URL: http://codereview.chromium.org/4272002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65170 0039d316-1c4b-4281-b951-d872f2087c98
* Add basic support for accessibility hit testing within web contents.ctguil@chromium.org2010-11-031-0/+5
| | | | | | | | | BUG=59890 TEST=Manual. Inspect32. Review URL: http://codereview.chromium.org/4292001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64943 0039d316-1c4b-4281-b951-d872f2087c98
* Make the selection start and end attributes of an html input controldmazzoni@chromium.org2010-10-011-2/+19
| | | | | | | | | | | | accessible, implement IAccessibleText methods to retrieve this info, and post a notification when the cursor moves within a text field. BUG=none TEST=Added new test to renderer_accessibility_browsertest Review URL: http://codereview.chromium.org/3389037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61216 0039d316-1c4b-4281-b951-d872f2087c98
* Support additional webkit accessibility notifications and states. ctguil@chromium.org2010-09-251-1/+20
| | | | | | | | | | | | | | | | 1. Update WebAccessibility::ConvertState to function similarly to WebCore's AccessibleBase::get_accState. 2. Use WebKit's load complete notification to send the renderer's tree to the browser. We enable accessibility on the renderer now instead of requesting a tree. 3. Use WebKit's focused ui element notification to send renderer focus events to the browser. BUG=13291 BUG=38106 TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationActiveDescendantChanged TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationFocusChanged Review URL: http://codereview.chromium.org/3380017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60569 0039d316-1c4b-4281-b951-d872f2087c98
* Store lower case tag names within web accessibility.ctguil@chromium.org2010-09-231-1/+5
| | | | | | | | | | | | This is similar to the behavior of firefox. BUG=none TEST=browser_tests:RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree TEST=interactive_ui_tests:AccessibilityWinBrowserTest.* Review URL: http://codereview.chromium.org/3435019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60259 0039d316-1c4b-4281-b951-d872f2087c98
* Set name of document accessibility nodes to document title. ctguil@chromium.org2010-09-211-0/+2
| | | | | | | | | | BUG=36169 TEST=browser_tests:RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationActiveDescendantChanged Review URL: http://codereview.chromium.org/3448016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60120 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60088 - Set name of document accessibility nodes to document title.rdsmith@chromium.org2010-09-211-2/+0
| | | | | | | | | | | | BUG=36169 TEST=browser_tests:RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree Review URL: http://codereview.chromium.org/3448016 TBR=ctguil@chromium.org Review URL: http://codereview.chromium.org/3402020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60092 0039d316-1c4b-4281-b951-d872f2087c98
* Set name of document accessibility nodes to document title.ctguil@chromium.org2010-09-211-0/+2
| | | | | | | | | BUG=36169 TEST=browser_tests:RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree Review URL: http://codereview.chromium.org/3448016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60088 0039d316-1c4b-4281-b951-d872f2087c98
* Don't add invalid webkit accessibility objects to the renderer accessibility ↵ctguil@chromium.org2010-09-161-2/+8
| | | | | | | | | | | | tree. BUG=55740 TEST=For M7, verify renderer_crash.html from bug doesn't crash the renderer. Review URL: http://codereview.chromium.org/3408008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59620 0039d316-1c4b-4281-b951-d872f2087c98
* Add html node info (tag name, attributes, and computed display) and documentdmazzoni@chromium.org2010-08-301-0/+37
| | | | | | | | | | | | | | info (url, title, mimetype, doctype) to WebAccessibility. BUG=none TEST=Modified unit test: RenderMessagesUnittest.WebAccessibility TEST=Added new browser test: RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57188 Review URL: http://codereview.chromium.org/3013035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57866 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move code from headers into cc files.erg@google.com2010-08-271-0/+3
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3219002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57732 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57327 - Re-landing. Add html node info (tag name, attributes, and ↵dmazzoni@chromium.org2010-08-251-34/+0
| | | | | | | | | | | | | | | | computed display) and document info (url, title, mimetype, doctype) to WebAccessibility. BUG=none TEST=Modified unit test: RenderMessagesUnittest.WebAccessibility Review URL: http://codereview.chromium.org/3013035 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/3132040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57330 0039d316-1c4b-4281-b951-d872f2087c98
* Re-landing. Add html node info (tag name, attributes, and computed display)dmazzoni@chromium.org2010-08-251-0/+34
| | | | | | | | | | | and document info (url, title, mimetype, doctype) to WebAccessibility. BUG=none TEST=Modified unit test: RenderMessagesUnittest.WebAccessibility Review URL: http://codereview.chromium.org/3013035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57327 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57188 - Add html node info (tag name, attributes, and computed ↵dmazzoni@chromium.org2010-08-241-34/+0
| | | | | | | | | | | | | | | | | display) and document info (url, title, mimetype, doctype) to WebAccessibility. BUG=none TEST=Modified unit test: RenderMessagesUnittest.WebAccessibility TEST=Added new browser test: RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree Review URL: http://codereview.chromium.org/3013035 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/3173040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57193 0039d316-1c4b-4281-b951-d872f2087c98
* Add html node info (tag name, attributes, and computed display) and documentdmazzoni@chromium.org2010-08-241-0/+34
| | | | | | | | | | | | info (url, title, mimetype, doctype) to WebAccessibility. BUG=none TEST=Modified unit test: RenderMessagesUnittest.WebAccessibility TEST=Added new browser test: RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree Review URL: http://codereview.chromium.org/3013035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57188 0039d316-1c4b-4281-b951-d872f2087c98
* Windows accessibility improvements: 1. All WebKit roles are now passed to thedmazzoni@chromium.org2010-05-211-39/+162
| | | | | | | | | | | | | | | | | | browser and then converted to MSAA roles - this is both because the logic needs to be more complicated, and so we can support Mac accessibility, too. 2. The serializable object used to pass accessibility info from the renderer to the browser now uses a map for uncommon attributes, rather than having a bunch of fields that are almost always empty. 3. Handles the accSelect method with TAKE_FOCUS, allowing assistive technology to set focus to a particular control. 4. Implements several other IAccessible2 interfaces. BUG=25564 BUG=13291 TEST=None Review URL: http://codereview.chromium.org/2121004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47922 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-111-208/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is cross-platform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46916 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46842 - Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-101-45/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is crossplatform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/1989009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46847 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-101-208/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is cross-platform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46842 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 46567 - Reimplement accessibility of web content by caching the entire zork@chromium.org2010-05-071-45/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is crossplatform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/2031004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46642 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement accessibility of web content by caching the entire dmazzoni@chromium.org2010-05-061-208/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | accessibility tree in the browser process. Adds new RPCs for a browser tab to request accessibility info from a renderer; the renderer responds with a complete tree of accessibility metadata for the entire DOM, which is then cached in the RenderWidgetHostView. This part is cross-platform and will help with accessibility on both Windows and Mac OS X. For Windows, MSAA support for web content has been rewritten to use this new cache. Tested in JAWS and NVDA screen readers. Using Chrome with a screen reader is now fast and stable, unlike the previous implementation. However, note that most advanced functionality is still not supported, and much work remains to make Chrome work well with a screen reader. This is a necessary step to improve stability first. BUG=25564 BUG=13291 TEST=See http://codereview.chromium.org/1806001 Review URL: http://codereview.chromium.org/1637018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46567 0039d316-1c4b-4281-b951-d872f2087c98
* Landing Chris Guillory CL.jcampan@chromium.org2010-02-241-24/+24
| | | | | | | | | | | | See original review at: http://codereview.chromium.org/626014/show BUG=None TEST=None Review URL: http://codereview.chromium.org/657020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39828 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Webkit to 53220 and fix compilation error due to renamed API.atwilson@chromium.org2010-01-141-1/+1
| | | | | | | TBR=yaar Review URL: http://codereview.chromium.org/549046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36229 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-121-6/+6
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce WebAccessibilityControllerImpl.dglazkov@chromium.org2009-11-041-0/+340
Removes accessibility-related WebCore dependencies from glue. R=darin TEST=none BUG=24616 Review URL: http://codereview.chromium.org/348063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30986 0039d316-1c4b-4281-b951-d872f2087c98