Bug 1867925 - Mark some storage-access-api tests as intermittent after wpt-sync....
[gecko.git] / accessible / xpcom / nsAccessibleRelation.h
blobf8776951f43d7ce96b1d4c09b5803fcee8b38696
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 _nsAccessibleRelation_H_
7 #define _nsAccessibleRelation_H_
9 #include "nsIAccessibleRelation.h"
11 #include "nsCOMPtr.h"
12 #include "nsTArray.h"
13 #include "nsIMutableArray.h"
14 #include "mozilla/Attributes.h"
15 #include "mozilla/a11y/RemoteAccessible.h"
17 namespace mozilla {
18 namespace a11y {
20 class Relation;
22 /**
23 * Class represents an accessible relation.
25 class nsAccessibleRelation final : public nsIAccessibleRelation {
26 public:
27 nsAccessibleRelation(uint32_t aType, Relation* aRel);
29 NS_DECL_ISUPPORTS
30 NS_DECL_NSIACCESSIBLERELATION
32 private:
33 nsAccessibleRelation();
34 ~nsAccessibleRelation();
36 nsAccessibleRelation(const nsAccessibleRelation&);
37 nsAccessibleRelation& operator=(const nsAccessibleRelation&);
39 uint32_t mType;
40 nsCOMPtr<nsIMutableArray> mTargets;
43 } // namespace a11y
44 } // namespace mozilla
46 #endif