gecko/accessible/windows/ia2/ia2AccessibleTableCell.h

70 lines
2.1 KiB
C
Raw Normal View History

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:expandtab:shiftwidth=2:tabstop=2:
*/
2012-05-21 04:12:37 -07:00
/* 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 _ACCESSIBLE_TABLECELL_H
#define _ACCESSIBLE_TABLECELL_H
#include "AccessibleTableCell.h"
namespace mozilla {
namespace a11y {
class TableCellAccessible;
Bug 798205 - move ia2 files under ia2 directory, r=tbsaunde --HG-- rename : accessible/src/msaa/ia2AccessibleAction.cpp => accessible/src/windows/ia2/ia2AccessibleAction.cpp rename : accessible/src/msaa/ia2AccessibleAction.h => accessible/src/windows/ia2/ia2AccessibleAction.h rename : accessible/src/msaa/ia2AccessibleComponent.cpp => accessible/src/windows/ia2/ia2AccessibleComponent.cpp rename : accessible/src/msaa/ia2AccessibleComponent.h => accessible/src/windows/ia2/ia2AccessibleComponent.h rename : accessible/src/msaa/ia2AccessibleEditableText.cpp => accessible/src/windows/ia2/ia2AccessibleEditableText.cpp rename : accessible/src/msaa/ia2AccessibleEditableText.h => accessible/src/windows/ia2/ia2AccessibleEditableText.h rename : accessible/src/msaa/ia2AccessibleHyperlink.cpp => accessible/src/windows/ia2/ia2AccessibleHyperlink.cpp rename : accessible/src/msaa/ia2AccessibleHyperlink.h => accessible/src/windows/ia2/ia2AccessibleHyperlink.h rename : accessible/src/msaa/ia2AccessibleHypertext.cpp => accessible/src/windows/ia2/ia2AccessibleHypertext.cpp rename : accessible/src/msaa/ia2AccessibleHypertext.h => accessible/src/windows/ia2/ia2AccessibleHypertext.h rename : accessible/src/msaa/ia2AccessibleImage.cpp => accessible/src/windows/ia2/ia2AccessibleImage.cpp rename : accessible/src/msaa/ia2AccessibleImage.h => accessible/src/windows/ia2/ia2AccessibleImage.h rename : accessible/src/msaa/ia2AccessibleRelation.cpp => accessible/src/windows/ia2/ia2AccessibleRelation.cpp rename : accessible/src/msaa/ia2AccessibleRelation.h => accessible/src/windows/ia2/ia2AccessibleRelation.h rename : accessible/src/msaa/CAccessibleTable.cpp => accessible/src/windows/ia2/ia2AccessibleTable.cpp rename : accessible/src/msaa/CAccessibleTable.h => accessible/src/windows/ia2/ia2AccessibleTable.h rename : accessible/src/msaa/CAccessibleTableCell.cpp => accessible/src/windows/ia2/ia2AccessibleTableCell.cpp rename : accessible/src/msaa/CAccessibleTableCell.h => accessible/src/windows/ia2/ia2AccessibleTableCell.h rename : accessible/src/msaa/ia2AccessibleText.cpp => accessible/src/windows/ia2/ia2AccessibleText.cpp rename : accessible/src/msaa/ia2AccessibleText.h => accessible/src/windows/ia2/ia2AccessibleText.h rename : accessible/src/msaa/CAccessibleValue.cpp => accessible/src/windows/ia2/ia2AccessibleValue.cpp rename : accessible/src/msaa/CAccessibleValue.h => accessible/src/windows/ia2/ia2AccessibleValue.h
2012-10-05 06:04:59 -07:00
class ia2AccessibleTableCell : public IAccessibleTableCell
{
public:
// IUnknown
STDMETHODIMP QueryInterface(REFIID, void**);
// IAccessibleTableCell
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_table(
/* [out, retval] */ IUnknown **table);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnExtent(
/* [out, retval] */ long *nColumnsSpanned);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnHeaderCells(
/* [out, size_is(,*nColumnHeaderCells,)] */ IUnknown ***cellAccessibles,
/* [out, retval] */ long *nColumnHeaderCells);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnIndex(
/* [out, retval] */ long *columnIndex);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowExtent(
/* [out, retval] */ long *nRowsSpanned);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowHeaderCells(
/* [out, size_is(,*nRowHeaderCells,)] */ IUnknown ***cellAccessibles,
/* [out, retval] */ long *nRowHeaderCells);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowIndex(
/* [out, retval] */ long *rowIndex);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowColumnExtents(
/* [out] */ long *row,
/* [out] */ long *column,
/* [out] */ long *rowExtents,
/* [out] */ long *columnExtents,
/* [out, retval] */ boolean *isSelected);
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_isSelected(
/* [out, retval] */ boolean *isSelected);
protected:
ia2AccessibleTableCell(TableCellAccessible* aTableCell) :
mTableCell(aTableCell) {}
TableCellAccessible* mTableCell;
};
} // namespace a11y
} // namespace mozilla
#endif