Chromium Code Reviews
DescriptionLocation bar: make decorations accessible
This is somewhat tricky, since decorations are not NSViews themselves, but are
NSImages that LocationBarViewMac draws over the AutocompleteTextFieldCell.
To be focusable and visible to VoiceOver, these decorations need corresponding
NSViews, but since LocationBarDecoration is deliberately Views-like instead
of Cocoa-like, converting LocationBarDecoration to be an NSView subclass
is infeasible. Instead, this CL adds the notion of an "accessibility view",
which is a fully transparent but focusable and activateable NSView that is
positioned over the LocationBarDecoration's drawn image. The accessibility
views appear in the VoiceOver heirarchy and are focusable and useable by
keyboard users.
BUG=613019
Committed: https://crrev.com/cb2b2ec44ef20413e122ae374477a2327bef7dff
Cr-Commit-Position: refs/heads/master@{#401882}
Patch Set 1 #
Total comments: 8
Patch Set 2 : first round #
Messages
Total messages: 12 (5 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||