Bug 1856666 - run snap tests as cron r=releng-reviewers,ahal
[gecko.git] / accessible / generic / ARIAGridAccessible.h
blob35590b0446ff0701ddda4ac253fb71bf5043a4ad
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef MOZILLA_A11Y_ARIAGridAccessible_h_
7 #define MOZILLA_A11Y_ARIAGridAccessible_h_
9 #include "HyperTextAccessible.h"
11 namespace mozilla {
12 namespace a11y {
14 /**
15 * Accessible for ARIA gridcell and rowheader/columnheader.
17 class ARIAGridCellAccessible : public HyperTextAccessible {
18 public:
19 ARIAGridCellAccessible(nsIContent* aContent, DocAccessible* aDoc);
21 NS_INLINE_DECL_REFCOUNTING_INHERITED(ARIAGridCellAccessible,
22 HyperTextAccessible)
24 // LocalAccessible
25 virtual void ApplyARIAState(uint64_t* aState) const override;
26 virtual already_AddRefed<AccAttributes> NativeAttributes() override;
28 protected:
29 virtual ~ARIAGridCellAccessible() {}
32 } // namespace a11y
33 } // namespace mozilla
35 #endif