MacViews: Fix accessibility hit tests, provide AXTitle
commita78caa3b90acc4d5d33f905f9cae774d9605d029
authortapted <tapted@chromium.org>
Sun, 8 Mar 2015 17:29:36 +0000 (8 10:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Sun, 8 Mar 2015 17:30:03 +0000 (8 17:30 +0000)
tree4b9509c6550faf88262ba47354a192f168ae31d4
parent4377f48b7f6a0c9a647a4c651685e890ebaabf82
MacViews: Fix accessibility hit tests, provide AXTitle

The NSView hosting composited UI was stealing hit tests used for
accessibility. This CL makes the compositor superview unhittable.

An integration test is added. Implement [AXPlatformNodeCocoa AXTitle]
which is needed anyway and gives the test something to check for.

BUG=462133

Review URL: https://codereview.chromium.org/976403004

Cr-Commit-Position: refs/heads/master@{#319595}
ui/accessibility/platform/ax_platform_node_mac.mm
ui/views/cocoa/bridged_native_widget.mm
ui/views/widget/native_widget_mac_unittest.mm