RemoteMacViews: Add mojo plumbing for content accessibility elements
Add a mojo method to send the NSAccessibilityRemoteUIElement tokens for the NSView and NSWindow in the viewer (app shim) process to the browser process, and to return the NSAccessibilityRemoteUIElement for the web contents (in the browser) the viewer (app shim) process. Update -[BrowserAccessibilityCocoa window] to call either -[NSView window] or -[NSAccessibilityRemoteUIElement windowUIElement], depending on which object is returned by GetParentView. Change -[RenderWidgetHostViewCocoa accessibilityFocusedUIElement] to call a GetFocusedBrowserAccessibilityElement, which will return the the NSAccessibilityRemoteUIElement when called in an app shim process. Bug: 900846 Change-Id: I0d3d65e9924613b0dc137a08d0030d31981ecfdd Reviewed-on: https://chromium-review.googlesource.com/c/1351415 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#611284}
Showing
Please register or sign in to comment