Closed
Bug 152786
Opened 22 years ago
Closed 22 years ago
The framework of new event interface between nsIAccessible and ATK
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: yuanyi21, Assigned: yuanyi21)
References
Details
Attachments
(1 file, 1 obsolete file)
9.27 KB,
patch
|
aaronlev
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
We need more event constants and structs to support ATK events.
The implementations will be distinguished from Windows code by a compile
switch, except the constants' definition.
This framework code is shared with both Windows and ATK.
We will split the impl code by #ifdef XP_UNIX/#endif block to avoid affecting
current MSAA event code.
Aaron, could you take a look at this patch?
Updated•22 years ago
|
Attachment #88395 -
Flags: review+
Comment 2•22 years ago
|
||
Comment on attachment 88395 [details] [diff] [review]
defined new constants and structs, add one more argument in nsIAccessibleEventListener::HandleEvent
r=aaronl, although MSAA uses const unsigned long EVENT_REORDER =
0x8004;
to indicate the children of an object have changed. That sounds like it lines
up with your EVENT_CHILDREN_CHANGE. We haven't implemented EVENT_REORDER yet
(see bug 149654), so we'll want to base it off of your implementation when you
have it. Will you consider naming yours EVENT_REORDER?
I plan to add a ATK_ prefix to each event, such as EVENT_ATK_TEXT_CHANGE, etc.
because I saw that you added much event constants in bug 153196. That may cause
more confusing.
We have EVENT_TABLE_ROW_REORDER and EVENT_TABLE_COLUMN_REORDER that only work
for table (bug 152780).
ATK requests 7 vital events must be implemented: focus_event (done),
state_change (almost done), selection_changed, text_changed, text_caret_moved
(almost done), text_selection_changed and children_changed. We prepare to
implement selection_changed, text_changed and text_selection_changed firstly
and implement children_changed in the future.
Aaron, which one is better? Actually, we don't want to impl
EVENT_ATK_TABLE_XXXX in the near future. Leave them here just for further impl.
Comment 5•22 years ago
|
||
Comment on attachment 88910 [details] [diff] [review]
new constants with EVENT_ATK_ prefix
r=aaronl.
This is better, but will you use MSAA's EVENT_REORDER instead of
EVENT_ATK_CHILDREN_CHANGE?
Attachment #88910 -
Flags: review+
ok, we'll use EVENT_REORDER instead of EVENT_ATK_CHILDREN_CHANGE.
Attachment #88395 -
Attachment is obsolete: true
Comment 7•22 years ago
|
||
Comment on attachment 88910 [details] [diff] [review]
new constants with EVENT_ATK_ prefix
sr=jst
Attachment #88910 -
Flags: superreview+
checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•