Bug 353197. Table interface not exposed for tables in ATK. r=gaoming

This commit is contained in:
aaronleventhal%moonset.net 2006-09-26 16:31:58 +00:00
parent d62029775d
commit 7109904a78
2 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,7 @@ NS_IMETHODIMP nsHTMLTableCellAccessible::GetState(PRUint32 *aResult)
return NS_OK;
}
NS_IMPL_ISUPPORTS_INHERITED0(nsHTMLTableAccessible, nsAccessible)
NS_IMPL_ISUPPORTS_INHERITED1(nsHTMLTableAccessible, nsAccessible, nsIAccessibleTable)
nsHTMLTableAccessible::nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsAccessibleWrap(aDomNode, aShell)

View File

@ -59,7 +59,8 @@ class nsITableLayout;
// Change to |#define SHOW_LAYOUT_HEURISTIC DEBUG| before final release
#define SHOW_LAYOUT_HEURISTIC
class nsHTMLTableAccessible : public nsAccessibleWrap
class nsHTMLTableAccessible : public nsAccessibleWrap,
public nsIAccessibleTable
{
public:
NS_DECL_ISUPPORTS_INHERITED