Closed
Bug 151108
Opened 22 years ago
Closed 22 years ago
Support nsIAccessibleAction in MAI (Mozilla Atk Implementation)
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: yinbolian, Assigned: yinbolian)
References
Details
(Keywords: access)
Attachments
(1 file, 4 obsolete files)
10.40 KB,
patch
|
aaronlev
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•22 years ago
|
Assignee | ||
Comment 1•22 years ago
|
||
support nsIAccessibleAction Interface. map the call from atk action interface to nsIAccessibleAction Interface.
bolian, I suggest you call nsIAccessible::accDoAction() etc. directly rather than call nsIAccessibleAction::doAction(), because I think there are a lot of duplicate methods in those two interfaces and I'm not going to implement nsIAccessibleAction in trunk.
Assignee | ||
Comment 3•22 years ago
|
||
Since Kyle said, there will be no sperate implementation of nsIAccessibleAction in trunk, use nsIAccessilbe instead.
Attachment #87339 -
Attachment is obsolete: true
Comment on attachment 87343 [details] [diff] [review] patch_v2 (call funcs in nsIAccessilbe other than nsIAccessibleAction) two comments: 1) you can use nsAccessible::GetAccKeyboardShortcut() in MaiInterfaceAction::GetKeybinding() 2) + // nsIAccessibleAction *GetNSAccessibleAction(); this comment should be removed other than above that is ok for me. r=kyle
Attachment #87343 -
Flags: review+
Assignee | ||
Comment 5•22 years ago
|
||
Kyle, GetAccKeyboardShortcut() is not suitable for action shortchut, there maybe more than one action for nsAccessible.
Assignee | ||
Comment 6•22 years ago
|
||
Attachment #87343 -
Attachment is obsolete: true
Comment on attachment 88430 [details] [diff] [review] patch_v3 (move callback into C namespace) r=kyle
Attachment #88430 -
Flags: review+
Assignee | ||
Comment 8•22 years ago
|
||
comments in bug 151133 hold here
Assignee | ||
Updated•22 years ago
|
Attachment #88430 -
Attachment is obsolete: true
Comment 9•22 years ago
|
||
If you want + nsresult rv = accessible->AccDoAction(aActionIndex); + return (NS_FAILED(rv)) ? FALSE : TRUE; could be + return ! NS_FAILED(accessible->AccDoAction(eActionIndex)); However, your way is good too :-) Put in a better comment than + /* ???? */ + Avoid else after return. It is not necessary. + if (maiInterfaceAction) + return maiInterfaceAction->DoAction(aActionIndex); + else + return FALSE;
Assignee | ||
Comment 10•22 years ago
|
||
Attachment #89219 -
Attachment is obsolete: true
Comment 11•22 years ago
|
||
Comment on attachment 89245 [details] [diff] [review] patch_v5 (add aaronl's comment, thanks) r=aaronl
Attachment #89245 -
Flags: review+
Assignee | ||
Comment 12•22 years ago
|
||
This bug has been checked in. It is not in the default build and we need it to do later work. Further comments, review, and super-review is still welcome, I will file new bug if needed. Thanks for everyone.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 13•22 years ago
|
||
Comment on attachment 89245 [details] [diff] [review] patch_v5 (add aaronl's comment, thanks) sr=jst
Attachment #89245 -
Flags: superreview+
You need to log in
before you can comment on or make changes to this bug.
Description
•