Bug 407589 add empty implementation for IAccessibleTable::summary, r=aaronlev, a=mtschrep

This commit is contained in:
surkov.alexander@gmail.com 2007-12-11 01:06:04 -08:00
Родитель 9911fab764
Коммит 6f58a33606
2 изменённых файлов: 10 добавлений и 2 удалений

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

@ -343,7 +343,10 @@ getRowHeaderCB(AtkTable *aTable, gint aRow)
AtkObject*
getSummaryCB(AtkTable *aTable)
{
/* ??? in nsIAccessibleTable, it returns a nsAString */
// Neither html:table nor xul:tree nor ARIA grid/tree have an ability to
// link an accessible object to specify a summary. There is closes method
// in nsIAccessibleTable::summary to get a summary as a string which is not
// mapped directly to ATK.
return nsnull;
}

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

@ -425,7 +425,12 @@ STDMETHODIMP
CAccessibleTable::get_summary(IUnknown **aAccessible)
{
*aAccessible = NULL;
return E_NOTIMPL;
// Neither html:table nor xul:tree nor ARIA grid/tree have an ability to
// link an accessible object to specify a summary. There is closes method
// in nsIAccessibleTable::summary to get a summary as a string which is not
// mapped directly to IAccessible2.
return S_OK;
}
STDMETHODIMP