Bug 386282 - nsIAccessible::GetDescription() fails on document accessible, r=me, patch=vasiliy.potapenko

This commit is contained in:
surkov.alexander@gmail.com 2007-07-01 23:14:11 -07:00
Родитель 9bbc9b2f9e
Коммит 2d4068ccd7
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -201,6 +201,13 @@ NS_IMETHODIMP nsDocAccessible::GetValue(nsAString& aValue)
return GetURL(aValue);
}
NS_IMETHODIMP
nsDocAccessible::GetDescription(nsAString& aDescription)
{
aDescription.Truncate();
return NS_OK;
}
NS_IMETHODIMP
nsDocAccessible::GetState(PRUint32 *aState, PRUint32 *aExtraState)
{

Просмотреть файл

@ -76,6 +76,7 @@ class nsDocAccessible : public nsHyperTextAccessibleWrap,
NS_IMETHOD GetRole(PRUint32 *aRole);
NS_IMETHOD GetName(nsAString& aName);
NS_IMETHOD GetValue(nsAString& aValue);
NS_IMETHOD GetDescription(nsAString& aDescription);
NS_IMETHOD GetState(PRUint32 *aState, PRUint32 *aExtraState);
NS_IMETHOD GetFocusedChild(nsIAccessible **aFocusedChild);
NS_IMETHOD GetParent(nsIAccessible **aParent);