2012-07-24 08:58:25 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#ifndef MOZILLA_A11Y_XPCOM_XPACESSIBLETABLECELL_H_
|
|
|
|
#define MOZILLA_A11Y_XPCOM_XPACESSIBLETABLECELL_H_
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace a11y {
|
|
|
|
class TableAccessible;
|
|
|
|
class TableCellAccessible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class xpcAccessibleTableCell
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
xpcAccessibleTableCell(mozilla::a11y::TableCellAccessible* aTableCell) :
|
|
|
|
mTableCell(aTableCell) { }
|
|
|
|
|
|
|
|
protected:
|
|
|
|
mozilla::a11y::TableCellAccessible* mTableCell;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define NS_DECL_OR_FORWARD_NSIACCESSIBLETABLECELL_WITH_XPCACCESSIBLETABLECELL \
|
|
|
|
NS_IMETHOD GetTable(nsIAccessibleTable * *aTable); \
|
2012-08-22 08:56:38 -07:00
|
|
|
NS_IMETHOD GetColumnIndex(int32_t *aColumnIndex); \
|
|
|
|
NS_IMETHOD GetRowIndex(int32_t *aRowIndex); \
|
|
|
|
NS_IMETHOD GetColumnExtent(int32_t *aColumnExtent); \
|
|
|
|
NS_IMETHOD GetRowExtent(int32_t *aRowExtent); \
|
2012-07-24 08:58:25 -07:00
|
|
|
NS_IMETHOD GetColumnHeaderCells(nsIArray * *aColumnHeaderCells); \
|
|
|
|
NS_IMETHOD GetRowHeaderCells(nsIArray * *aRowHeaderCells); \
|
|
|
|
NS_IMETHOD IsSelected(bool *_retval );
|
|
|
|
|
|
|
|
#endif // MOZILLA_A11Y_XPCOM_XPACESSIBLETABLECELL_H_
|