Closed
Bug 204574
Opened 21 years ago
Closed 21 years ago
add states supports in accessibility/atk
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: yinbolian, Assigned: yinbolian)
References
Details
Attachments
(1 file)
13.74 KB,
patch
|
yuanyi21
:
review+
|
Details | Diff | Splinter Review |
Move over the code about states.
I'm putting the email threads here:
> Do we have nsAccessible::GetAccExtState() before. Can we add it now to
> support atk states.
I don't object to this, though there are only 29 states in ATK.
Aaron, how about using PRInt64 for accState like what ATK does?
Comment 2•21 years ago
|
||
If PRInt64 works, use it instead. I've been told that it has problems. We should ask someone about that.
Yes, it works. There are hundreds places used PRInt64 in mozilla code, for example: http://lxr.mozilla.org/seamonkey/source/xpcom/components/nsComponentManager.cpp#1077
Comment 4•21 years ago
|
||
Great, use it. I'm forgetting what I was told. Maybe it is not usable in interfaces or is not scriptable? I don't see it in nsI*.h or nsI*.idl files.
Comment 5•21 years ago
|
||
Forget what I said, I was crazy/stupid. You're right, I see it in many places.
Assignee | ||
Comment 6•21 years ago
|
||
Oh, PRUint64 cannot be const in idl. So I cannot change extended state type from "const unsigned long" to "const unsigned long long".
Assignee | ||
Comment 7•21 years ago
|
||
Not change the interface, use the methods: GetAccState and GetAccExtState
Assignee | ||
Updated•21 years ago
|
Attachment #123744 -
Flags: review?(kyle.yuan)
Comment on attachment 123744 [details] [diff] [review] this patch use the old interface r=kyle
Attachment #123744 -
Flags: review?(kyle.yuan) → review+
Assignee | ||
Comment 9•21 years ago
|
||
checked in Trunk.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•