Implement base class and protocol to abstract apple methods
Categories
(Core :: Disability Access APIs, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: eeejay, Assigned: eeejay)
References
Details
(Whiteboard: [mac2020_1])
Attachments
(2 files)
From bug 1637076:
(1) We should write a new protocol that our base class and additional (sub) classes will implement. This protocol should define a set of required methods and properties for each accessible type, and a set of optional methods and properties that accessibles may implement as needed to communicate which selectors/attributes/actions, etc they support. This protocol should be named with the convention mozAccessibleProtocol, assuming our base class is still mozAccessible.
This bug will tackle this first item by implementing a base class and an inner protocol for subclasses to implement as needed.
A followup bug will be for actually refactoring the subclasses and make them use tthe inner protocol.
Assignee | ||
Comment 1•5 years ago
|
||
This sets up the possibility of moving most non-gecko things to a base class, and
start a protocol to add for all the subclasses to implement as needed.
Assignee | ||
Comment 2•5 years ago
|
||
Add most attributes getters, setters and actions to prottocol,
autogenerate objective c dictionaries, and implement forwarding
logic from NSAccessibility methods.
Depends on D76920
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2d0bbd99d887
https://hg.mozilla.org/mozilla-central/rev/7afbfa63f937
Description
•