Bug 237076 Object hierarchy is broken @ nsOuterDocAccessible

r=louie.zhao, sr=henry.jia
explicitly implement GetChildCount for nsOuterDocAccessible
This commit is contained in:
kyle.yuan%sun.com 2004-04-16 02:03:18 +00:00
parent 9e3c9a77c5
commit 39bc3967fa
2 changed files with 8 additions and 0 deletions

View File

@ -53,6 +53,12 @@ nsOuterDocAccessible::nsOuterDocAccessible(nsIDOMNode* aNode,
mAccChildCount = 1;
}
NS_IMETHODIMP nsOuterDocAccessible::GetChildCount(PRInt32 *aAccChildCount)
{
*aAccChildCount = 1;
return NS_OK;
}
/* attribute wstring accName; */
NS_IMETHODIMP nsOuterDocAccessible::GetName(nsAString& aName)
{

View File

@ -52,6 +52,8 @@ class nsOuterDocAccessible : public nsAccessibleWrap
nsOuterDocAccessible(nsIDOMNode* aNode,
nsIWeakReference* aShell);
NS_IMETHOD GetChildCount(PRInt32 *_retval);
NS_IMETHOD GetName(nsAString& aName);
NS_IMETHOD GetValue(nsAString& Value);
NS_IMETHOD GetRole(PRUint32 *aRole);