Closed Bug 752609 Opened 13 years ago Closed 12 years ago

[AccessFu] Shorten a11y event and role constant prefixes

Categories

(Core :: Disability Access APIs, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: eeejay, Assigned: yzen)

Details

Attachments

(1 file, 1 obsolete file)

We end up doing things like: Ci.nsIAccessible.ROLE_DOCUMENT, or Ci.nsIAccessibleEvent.EVENT_DOCUMENT_LOAD_COMPLETE. We should either add roles and events as global constants, or perhaps a global shortened name for the interface (e.g. gRole).
QA Contact: yura.zenevich
Assignee: nobody → yura.zenevich
QA Contact: yura.zenevich
Attached file Patch for 752609. (obsolete) —
Attachment #769573 - Flags: review?(eitan)
Reattaching with the 'patch' flag.
Attachment #769573 - Attachment is obsolete: true
Attachment #769573 - Flags: review?(eitan)
Attachment #769574 - Flags: review?(eitan)
Comment on attachment 769574 [details] [diff] [review] Patch for 752609. Review of attachment 769574 [details] [diff] [review]: ----------------------------------------------------------------- > +// Used for traversing in to child OOP frames. > +const ROLE_INTERNAL_FRAME = Ci.nsIAccessibleRole.ROLE_INTERNAL_FRAME; That comment appears down in the list. It shouldn't be here. Besides that, this is great.
Attachment #769574 - Flags: review?(eitan) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: