Closed
Bug 109227
Opened 23 years ago
Closed 23 years ago
Active Accessibility: support <tabbox>
Categories
(SeaMonkey :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.8
People
(Reporter: aaronlev, Assigned: mozilla)
References
Details
(Keywords: access)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
aaronlev
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
We should support it using:
ROLE_PAGETABLIST, ROLE_PAGETAB and ROLE_PROPERTYPAGE.
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
Spelling error: tabbroswer/editor
Indentation error in nsXULTabAccessible::GetAccName
oops? ...
+NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccName(nsAWritableString& _retval)
+{
+ return NS_OK;
+}
+NS_IMETHODIMP nsXULTabPanelAccessible::GetAccName(nsAWritableString& _retval)
+{
+ return NS_OK;
+}
+
+/** focused, focusable, unavailable */
+NS_IMETHODIMP nsXULTabPanelAccessible::GetAccState(PRUint32 *_retval)
+{
+ return NS_OK;
+}
+
If you want empty names, return NS_ERROR_NOT_IMPLEMENTED;
If you want an empty state, make sure to set it with *_retval = 0;
Remove printf(" - just got the tabPanels' mDOMNode");
Make sure this thing doesn't leak. When you set mDOMNode like that, which is a
protected data member from above in the inheritence chain, it can cause a leak.
I found that out once when I was trying to explictly set mParent in a similar
manner.
Fix extra semicolon
return NS_OK;;
Get rid of
printf("creating nsXULTabBoxAccessible *********\n");
Why do you need
+NS_IMETHODIMP nsXULTabBoxAccessible::GetAccChildCount(PRInt32 *_retval)
+{
+ *_retval = 2;
+ return NS_OK;
+}
I see that you originally planned on overriding GetFirstChild and GetLastChild.
You still have those method declarations commented out in the .h file
Assignee | ||
Comment 3•23 years ago
|
||
I hardcoded the children because those are the only two and I was creating them
by hand for awhile. But I'm leaving it in because it doesn't make any sense to
thrash around the tree walker to find out there are only 2 kids if we know that
in advance.
Attachment #60839 -
Attachment is obsolete: true
Assignee | ||
Updated•23 years ago
|
Whiteboard: needs re-review and sr
Target Milestone: mozilla0.9.8 → mozilla0.9.7
Reporter | ||
Comment 4•23 years ago
|
||
Comment on attachment 61342 [details] [diff] [review]
aaron's fixes
r=aaronl
Attachment #61342 -
Flags: review+
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Assignee | ||
Updated•23 years ago
|
Whiteboard: needs re-review and sr → needs sr
Comment 5•23 years ago
|
||
Comment on attachment 61342 [details] [diff] [review]
aaron's fixes
sr=hewitt
Attachment #61342 -
Flags: superreview+
Assignee | ||
Updated•23 years ago
|
Whiteboard: needs sr → ready
Assignee | ||
Comment 6•23 years ago
|
||
checked in yesterday
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: ready
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•