accessible/xpcom/xpcAccessibleTableCell.h
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Wed, 17 Jun 2015 04:40:28 -0700
changeset 279976 9a0e53e7fcbf4510f20be2404b3b34c6107a8558
parent 263771 ac4464790ec4896a5188fa50cfc69ae0ffeddc08
child 318024 1dc79d4dac30a35e11d3eb265ed632fcf1b66210
permissions -rw-r--r--
Bumping gaia.json for 4 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/40a9c300245a Author: Martijn <martijn.martijn@gmail.com> Desc: Merge pull request #30572 from mwargers/1112141_2 Bug 1112141 - Intermittent test_homescreen_delete_app_packaged.py TestDeleteApp.test_delete_app | StaleElementException: 2nd attempt ======== https://hg.mozilla.org/integration/gaia-central/rev/97f32c0e6764 Author: Martijn Wargers <mwargers@mozilla.com> Desc: Bug 1112141 - Intermittent test_homescreen_delete_app_packaged.py TestDeleteApp.test_delete_app | StaleElementException: 2nd attempt ======== https://hg.mozilla.org/integration/gaia-central/rev/79e9f8f0db20 Author: Borja Salguero <borjasalguero@users.noreply.github.com> Desc: Merge pull request #30515 from jpruden92/bug1173097-contacts Bug 1173097 - [Contacts][NGA] Extract 'goToSelectTag' functionality to it own .js class ======== https://hg.mozilla.org/integration/gaia-central/rev/b1608faec400 Author: jpruden92 <jorgepruden@gmail.com> Desc: Bug 1173097 - [Contacts][NGA] Extract 'goToSelectTag' functionality to it own .js class

/* -*- 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_xpcAccessibletableCell_h_
#define mozilla_a11y_xpcom_xpcAccessibletableCell_h_

#include "nsIAccessibleTable.h"

#include "xpcAccessibleHyperText.h"

namespace mozilla {
namespace a11y {

/**
 * XPCOM wrapper around TableAccessibleCell class.
 */
class xpcAccessibleTableCell : public xpcAccessibleHyperText,
                               public nsIAccessibleTableCell
{
public:
  explicit xpcAccessibleTableCell(Accessible* aIntl) :
    xpcAccessibleHyperText(aIntl) { }

  NS_DECL_ISUPPORTS_INHERITED

  // nsIAccessibleTableCell
  NS_IMETHOD GetTable(nsIAccessibleTable** aTable) final override;
  NS_IMETHOD GetColumnIndex(int32_t* aColIdx) final override;
  NS_IMETHOD GetRowIndex(int32_t* aRowIdx) final override;
  NS_IMETHOD GetColumnExtent(int32_t* aExtent) final override;
  NS_IMETHOD GetRowExtent(int32_t* aExtent) final override;
  NS_IMETHOD GetColumnHeaderCells(nsIArray** aHeaderCells) final override;
  NS_IMETHOD GetRowHeaderCells(nsIArray** aHeaderCells) final override;
  NS_IMETHOD IsSelected(bool* aSelected) final override;

protected:
  virtual ~xpcAccessibleTableCell() {}

private:
  TableCellAccessible* Intl() { return mIntl->AsTableCell(); }

  xpcAccessibleTableCell(const xpcAccessibleTableCell&) = delete;
  xpcAccessibleTableCell& operator =(const xpcAccessibleTableCell&) = delete;
};

} // namespace a11y
} // namespace mozilla

#endif // mozilla_a11y_xpcom_xpcAccessibletableCell_h_