Closed
Bug 153852
Opened 23 years ago
Closed 23 years ago
Accessibility: Support selection_changed, text_changed and text_selection_changed events for ATK
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: yuanyi21, Assigned: yuanyi21)
References
Details
Attachments
(1 file, 1 obsolete file)
12.54 KB,
patch
|
aaronlev
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
These 3 events are very important to ATK.
text_selection_changed will be fired from nsCaretAccessible.
Depends on: 153196
Added support for EVENT_ATK_SELECTION_CHANGE, EVENT_ATK_TEXT_CARET_MOVE,
EVENT_ATK_TEXT_SELECTION_CHANGE and EVENT_ATK_TEXT_CHANGE.
New event handler was enclosed by #ifdef MOZ_ACCESSIBILITY_ATK/#endif block.
Comment 3•23 years ago
|
||
I thought there would be bigger differences bettwen the ATK event code and the
MSAA event code in nsRootAccessible::HandleEvent().
Don't you think we should keep as much as possible outside of the #ifdef? That
way we won't have to make changes to those things in two places.
Or do you think it is better to keep them completely separate?
Checked the code, only the handlers of popupshowing and popuphiding are
completely same, and I may change them in the near future. The code of
HandleEvent() is 40%-50% same for two platforms. If separated, there will be
much same code. Do you agree?
Comment 5•23 years ago
|
||
Kyle, I'll let you make the call. ATK has a more complex event system than MSAA.
I would like to keep the current change. There are much pre-process code.
Seeking r=.
Comment 7•23 years ago
|
||
Comment on attachment 89387 [details] [diff] [review]
modify nsRootAccessible::HandleEvent() according to ATK requests
r=aaronl
Attachment #89387 -
Flags: review+
changed made:
1) added new event const EVENT_ATK_VISIBLE_DATA_CHANGE for ATK
2) created a new file nsAccessibleEventData.h to hold the event data structs
for ATK. the original place - nsRootAccessible.h - causes MAI module has
redundant compile-dependencies.
Aaron, seeking your r= again.
Attachment #89387 -
Attachment is obsolete: true
Updated•23 years ago
|
Attachment #89877 -
Flags: review+
Comment 9•23 years ago
|
||
Comment on attachment 89877 [details] [diff] [review]
some changes of ATK event data struct definitions
r=aaronl
Comment 10•23 years ago
|
||
Comment on attachment 89877 [details] [diff] [review]
some changes of ATK event data struct definitions
sr=jst
Attachment #89877 -
Flags: superreview+
Assignee | ||
Comment 11•23 years ago
|
||
checked in!
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•