mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
Bug 237076 Object hierarchy is broken @ nsOuterDocAccessible
r=louie.zhao, sr=henry.jia explicitly implement GetChildCount for nsOuterDocAccessible
This commit is contained in:
parent
9e3c9a77c5
commit
39bc3967fa
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user