summaryrefslogtreecommitdiffstats
path: root/accessible/ipc/other/DocAccessibleChild.h
blob: 8973cb6eba3462fb7ac0c4cf3d4bf8c46cbd5f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
/* -*- 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_DocAccessibleChild_h
#define mozilla_a11y_DocAccessibleChild_h

#include "mozilla/a11y/DocAccessibleChildBase.h"

namespace mozilla {
namespace a11y {

class LocalAccessible;
class DocAccessiblePlatformExtChild;
class HyperTextAccessible;
class TextLeafAccessible;
class ImageAccessible;
class TableAccessible;
class TableCellAccessible;

/*
 * These objects handle content side communication for an accessible document,
 * and their lifetime is the same as the document they represent.
 */
class DocAccessibleChild : public DocAccessibleChildBase {
  friend DocAccessiblePlatformExtChild;

 public:
  DocAccessibleChild(DocAccessible* aDoc, IProtocol* aManager)
      : DocAccessibleChildBase(aDoc) {
    MOZ_COUNT_CTOR_INHERITED(DocAccessibleChild, DocAccessibleChildBase);
    SetManager(aManager);
  }

  ~DocAccessibleChild() {
    MOZ_COUNT_DTOR_INHERITED(DocAccessibleChild, DocAccessibleChildBase);
  }

  virtual mozilla::ipc::IPCResult RecvConstructedInParentProcess() override;
  virtual mozilla::ipc::IPCResult RecvRestoreFocus() override;

  /*
   * Return the state for the accessible with given ID.
   */
  virtual mozilla::ipc::IPCResult RecvState(const uint64_t& aID,
                                            uint64_t* aState) override;

  /*
   * Return the native state for the accessible with given ID.
   */
  virtual mozilla::ipc::IPCResult RecvNativeState(const uint64_t& aID,
                                                  uint64_t* aState) override;

  /*
   * Get the name for the accessible with given id.
   */
  virtual mozilla::ipc::IPCResult RecvName(const uint64_t& aID, nsString* aName,
                                           uint32_t* aFlag) override;

  virtual mozilla::ipc::IPCResult RecvValue(const uint64_t& aID,
                                            nsString* aValue) override;

  virtual mozilla::ipc::IPCResult RecvHelp(const uint64_t& aID,
                                           nsString* aHelp) override;

  /*
   * Get the description for the accessible with given id.
   */
  virtual mozilla::ipc::IPCResult RecvDescription(const uint64_t& aID,
                                                  nsString* aDesc) override;
  virtual mozilla::ipc::IPCResult RecvRelationByType(
      const uint64_t& aID, const uint32_t& aType,
      nsTArray<uint64_t>* aTargets) override;
  virtual mozilla::ipc::IPCResult RecvRelations(
      const uint64_t& aID, nsTArray<RelationTargets>* aRelations) override;

  virtual mozilla::ipc::IPCResult RecvIsSearchbox(const uint64_t& aID,
                                                  bool* aRetVal) override;

  virtual mozilla::ipc::IPCResult RecvLandmarkRole(
      const uint64_t& aID, nsString* aLandmark) override;

  virtual mozilla::ipc::IPCResult RecvGroupPosition(
      const uint64_t& aID, int32_t* aLevel, int32_t* aSimilarItemsInGroup,
      int32_t* aPositionInGroup) override;

  virtual mozilla::ipc::IPCResult RecvAttributes(
      const uint64_t& aID, RefPtr<AccAttributes>* aAttributes) override;
  virtual mozilla::ipc::IPCResult RecvScrollToPoint(const uint64_t& aID,
                                                    const uint32_t& aScrollType,
                                                    const int32_t& aX,
                                                    const int32_t& aY) override;

  virtual mozilla::ipc::IPCResult RecvAnnounce(
      const uint64_t& aID, const nsAString& aAnnouncement,
      const uint16_t& aPriority) override;

  virtual mozilla::ipc::IPCResult RecvCaretLineNumber(
      const uint64_t& aID, int32_t* aLineNumber) override;
  virtual mozilla::ipc::IPCResult RecvCaretOffset(const uint64_t& aID,
                                                  int32_t* aOffset) override;

  virtual mozilla::ipc::IPCResult RecvCharacterCount(const uint64_t& aID,
                                                     int32_t* aCount) override;
  virtual mozilla::ipc::IPCResult RecvSelectionCount(const uint64_t& aID,
                                                     int32_t* aCount) override;

  virtual mozilla::ipc::IPCResult RecvTextSubstring(const uint64_t& aID,
                                                    const int32_t& aStartOffset,
                                                    const int32_t& aEndOffset,
                                                    nsString* aText,
                                                    bool* aValid) override;

  virtual mozilla::ipc::IPCResult RecvGetTextAfterOffset(
      const uint64_t& aID, const int32_t& aOffset, const int32_t& aBoundaryType,
      nsString* aText, int32_t* aStartOffset, int32_t* aEndOffset) override;
  virtual mozilla::ipc::IPCResult RecvGetTextAtOffset(
      const uint64_t& aID, const int32_t& aOffset, const int32_t& aBoundaryType,
      nsString* aText, int32_t* aStartOffset, int32_t* aEndOffset) override;
  virtual mozilla::ipc::IPCResult RecvGetTextBeforeOffset(
      const uint64_t& aID, const int32_t& aOffset, const int32_t& aBoundaryType,
      nsString* aText, int32_t* aStartOffset, int32_t* aEndOffset) override;

  virtual mozilla::ipc::IPCResult RecvCharAt(const uint64_t& aID,
                                             const int32_t& aOffset,
                                             uint16_t* aChar) override;

  virtual mozilla::ipc::IPCResult RecvTextAttributes(
      const uint64_t& aID, const bool& aIncludeDefAttrs, const int32_t& aOffset,
      RefPtr<AccAttributes>* aAttributes, int32_t* aStartOffset,
      int32_t* aEndOffset) override;

  virtual mozilla::ipc::IPCResult RecvDefaultTextAttributes(
      const uint64_t& aID, RefPtr<AccAttributes>* aAttributes) override;

  virtual mozilla::ipc::IPCResult RecvTextBounds(
      const uint64_t& aID, const int32_t& aStartOffset,
      const int32_t& aEndOffset, const uint32_t& aCoordType,
      LayoutDeviceIntRect* aRetVal) override;

  virtual mozilla::ipc::IPCResult RecvCharBounds(
      const uint64_t& aID, const int32_t& aOffset, const uint32_t& aCoordType,
      LayoutDeviceIntRect* aRetVal) override;

  virtual mozilla::ipc::IPCResult RecvOffsetAtPoint(const uint64_t& aID,
                                                    const int32_t& aX,
                                                    const int32_t& aY,
                                                    const uint32_t& aCoordType,
                                                    int32_t* aRetVal) override;

  virtual mozilla::ipc::IPCResult RecvSelectionBoundsAt(
      const uint64_t& aID, const int32_t& aSelectionNum, bool* aSucceeded,
      nsString* aData, int32_t* aStartOffset, int32_t* aEndOffset) override;

  virtual mozilla::ipc::IPCResult RecvSetSelectionBoundsAt(
      const uint64_t& aID, const int32_t& aSelectionNum,
      const int32_t& aStartOffset, const int32_t& aEndOffset,
      bool* aSucceeded) override;

  virtual mozilla::ipc::IPCResult RecvAddToSelection(
      const uint64_t& aID, const int32_t& aStartOffset,
      const int32_t& aEndOffset, bool* aSucceeded) override;

  virtual mozilla::ipc::IPCResult RecvRemoveFromSelection(
      const uint64_t& aID, const int32_t& aSelectionNum,
      bool* aSucceeded) override;

  virtual mozilla::ipc::IPCResult RecvScrollSubstringTo(
      const uint64_t& aID, const int32_t& aStartOffset,
      const int32_t& aEndOffset, const uint32_t& aScrollType) override;

  virtual mozilla::ipc::IPCResult RecvScrollSubstringToPoint(
      const uint64_t& aID, const int32_t& aStartOffset,
      const int32_t& aEndOffset, const uint32_t& aCoordinateType,
      const int32_t& aX, const int32_t& aY) override;

  virtual mozilla::ipc::IPCResult RecvText(const uint64_t& aID,
                                           nsString* aText) override;

  virtual mozilla::ipc::IPCResult RecvReplaceText(
      const uint64_t& aID, const nsAString& aText) override;

  virtual mozilla::ipc::IPCResult RecvInsertText(const uint64_t& aID,
                                                 const nsAString& aText,
                                                 const int32_t& aPosition,
                                                 bool* aValid) override;

  virtual mozilla::ipc::IPCResult RecvCopyText(const uint64_t& aID,
                                               const int32_t& aStartPos,
                                               const int32_t& aEndPos,
                                               bool* aValid) override;

  virtual mozilla::ipc::IPCResult RecvCutText(const uint64_t& aID,
                                              const int32_t& aStartPos,
                                              const int32_t& aEndPos,
                                              bool* aValid) override;

  virtual mozilla::ipc::IPCResult RecvDeleteText(const uint64_t& aID,
                                                 const int32_t& aStartPos,
                                                 const int32_t& aEndPos,
                                                 bool* aValid) override;

  MOZ_CAN_RUN_SCRIPT_BOUNDARY
  virtual mozilla::ipc::IPCResult RecvPasteText(const uint64_t& aID,
                                                const int32_t& aPosition,
                                                bool* aValid) override;

  virtual mozilla::ipc::IPCResult RecvImagePosition(
      const uint64_t& aID, const uint32_t& aCoordType,
      LayoutDeviceIntPoint* aRetVal) override;

  virtual mozilla::ipc::IPCResult RecvImageSize(
      const uint64_t& aID, LayoutDeviceIntSize* aRetVal) override;

  virtual mozilla::ipc::IPCResult RecvStartOffset(const uint64_t& aID,
                                                  uint32_t* aRetVal,
                                                  bool* aOk) override;
  virtual mozilla::ipc::IPCResult RecvEndOffset(const uint64_t& aID,
                                                uint32_t* aRetVal,
                                                bool* aOk) override;
  virtual mozilla::ipc::IPCResult RecvIsLinkValid(const uint64_t& aID,
                                                  bool* aRetVal) override;
  virtual mozilla::ipc::IPCResult RecvAnchorCount(const uint64_t& aID,
                                                  uint32_t* aRetVal,
                                                  bool* aOk) override;
  virtual mozilla::ipc::IPCResult RecvAnchorURIAt(const uint64_t& aID,
                                                  const uint32_t& aIndex,
                                                  nsCString* aURI,
                                                  bool* aOk) override;
  virtual mozilla::ipc::IPCResult RecvAnchorAt(const uint64_t& aID,
                                               const uint32_t& aIndex,
                                               uint64_t* aIDOfAnchor,
                                               bool* aOk) override;

  virtual mozilla::ipc::IPCResult RecvLinkCount(const uint64_t& aID,
                                                uint32_t* aCount) override;

  virtual mozilla::ipc::IPCResult RecvLinkAt(const uint64_t& aID,
                                             const uint32_t& aIndex,
                                             uint64_t* aIDOfLink,
                                             bool* aOk) override;

  virtual mozilla::ipc::IPCResult RecvLinkIndexAtOffset(
      const uint64_t& aID, const uint32_t& aOffset, int32_t* aIndex) override;

  virtual mozilla::ipc::IPCResult RecvTableOfACell(const uint64_t& aID,
                                                   uint64_t* aTableID,
                                                   bool* aOk) override;

  virtual mozilla::ipc::IPCResult RecvColIdx(const uint64_t& aID,
                                             uint32_t* aIndex) override;

  virtual mozilla::ipc::IPCResult RecvRowIdx(const uint64_t& aID,
                                             uint32_t* aIndex) override;

  virtual mozilla::ipc::IPCResult RecvColExtent(const uint64_t& aID,
                                                uint32_t* aExtent) override;

  virtual mozilla::ipc::IPCResult RecvGetPosition(const uint64_t& aID,
                                                  uint32_t* aRowIdx,
                                                  uint32_t* aColIdx) override;

  virtual mozilla::ipc::IPCResult RecvGetColRowExtents(
      const uint64_t& aID, uint32_t* aColIdx, uint32_t* aRowIdx,
      uint32_t* aColExtent, uint32_t* aRowExtent) override;

  virtual mozilla::ipc::IPCResult RecvRowExtent(const uint64_t& aID,
                                                uint32_t* aExtent) override;

  virtual mozilla::ipc::IPCResult RecvColHeaderCells(
      const uint64_t& aID, nsTArray<uint64_t>* aCells) override;

  virtual mozilla::ipc::IPCResult RecvRowHeaderCells(
      const uint64_t& aID, nsTArray<uint64_t>* aCells) override;

  virtual mozilla::ipc::IPCResult RecvIsCellSelected(const uint64_t& aID,
                                                     bool* aSelected) override;

  virtual mozilla::ipc::IPCResult RecvTableCaption(const uint64_t& aID,
                                                   uint64_t* aCaptionID,
                                                   bool* aOk) override;
  virtual mozilla::ipc::IPCResult RecvTableSummary(const uint64_t& aID,
                                                   nsString* aSummary) override;
  virtual mozilla::ipc::IPCResult RecvTableColumnCount(
      const uint64_t& aID, uint32_t* aColCount) override;
  virtual mozilla::ipc::IPCResult RecvTableRowCount(
      const uint64_t& aID, uint32_t* aRowCount) override;
  virtual mozilla::ipc::IPCResult RecvTableCellAt(const uint64_t& aID,
                                                  const uint32_t& aRow,
                                                  const uint32_t& aCol,
                                                  uint64_t* aCellID,
                                                  bool* aOk) override;
  virtual mozilla::ipc::IPCResult RecvTableCellIndexAt(
      const uint64_t& aID, const uint32_t& aRow, const uint32_t& aCol,
      int32_t* aIndex) override;
  virtual mozilla::ipc::IPCResult RecvTableColumnIndexAt(
      const uint64_t& aID, const uint32_t& aCellIndex, int32_t* aCol) override;
  virtual mozilla::ipc::IPCResult RecvTableRowIndexAt(
      const uint64_t& aID, const uint32_t& aCellIndex, int32_t* aRow) override;
  virtual mozilla::ipc::IPCResult RecvTableRowAndColumnIndicesAt(
      const uint64_t& aID, const uint32_t& aCellIndex, int32_t* aRow,
      int32_t* aCol) override;
  virtual mozilla::ipc::IPCResult RecvTableColumnExtentAt(
      const uint64_t& aID, const uint32_t& aRow, const uint32_t& aCol,
      uint32_t* aExtent) override;
  virtual mozilla::ipc::IPCResult RecvTableRowExtentAt(
      const uint64_t& aID, const uint32_t& aRow, const uint32_t& aCol,
      uint32_t* aExtent) override;
  virtual mozilla::ipc::IPCResult RecvTableColumnDescription(
      const uint64_t& aID, const uint32_t& aCol,
      nsString* aDescription) override;
  virtual mozilla::ipc::IPCResult RecvTableRowDescription(
      const uint64_t& aID, const uint32_t& aRow,
      nsString* aDescription) override;
  virtual mozilla::ipc::IPCResult RecvTableColumnSelected(
      const uint64_t& aID, const uint32_t& aCol, bool* aSelected) override;
  virtual mozilla::ipc::IPCResult RecvTableRowSelected(
      const uint64_t& aID, const uint32_t& aRow, bool* aSelected) override;
  virtual mozilla::ipc::IPCResult RecvTableCellSelected(
      const uint64_t& aID, const uint32_t& aRow, const uint32_t& aCol,
      bool* aSelected) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectedCellCount(
      const uint64_t& aID, uint32_t* aSelectedCells) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectedColumnCount(
      const uint64_t& aID, uint32_t* aSelectedColumns) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectedRowCount(
      const uint64_t& aID, uint32_t* aSelectedRows) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectedCells(
      const uint64_t& aID, nsTArray<uint64_t>* aCellIDs) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectedCellIndices(
      const uint64_t& aID, nsTArray<uint32_t>* aCellIndices) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectedColumnIndices(
      const uint64_t& aID, nsTArray<uint32_t>* aColumnIndices) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectedRowIndices(
      const uint64_t& aID, nsTArray<uint32_t>* aRowIndices) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectColumn(
      const uint64_t& aID, const uint32_t& aCol) override;
  virtual mozilla::ipc::IPCResult RecvTableSelectRow(
      const uint64_t& aID, const uint32_t& aRow) override;
  virtual mozilla::ipc::IPCResult RecvTableUnselectColumn(
      const uint64_t& aID, const uint32_t& aCol) override;
  virtual mozilla::ipc::IPCResult RecvTableUnselectRow(
      const uint64_t& aID, const uint32_t& aRow) override;
  virtual mozilla::ipc::IPCResult RecvTableIsProbablyForLayout(
      const uint64_t& aID, bool* aForLayout) override;
  virtual mozilla::ipc::IPCResult RecvAtkTableColumnHeader(const uint64_t& aID,
                                                           const int32_t& aCol,
                                                           uint64_t* aHeader,
                                                           bool* aOk) override;
  virtual mozilla::ipc::IPCResult RecvAtkTableRowHeader(const uint64_t& aID,
                                                        const int32_t& aRow,
                                                        uint64_t* aHeader,
                                                        bool* aOk) override;

  virtual mozilla::ipc::IPCResult RecvSelectedItems(
      const uint64_t& aID, nsTArray<uint64_t>* aSelectedItemIDs) override;

  virtual mozilla::ipc::IPCResult RecvSelectedItemCount(
      const uint64_t& aID, uint32_t* aCount) override;

  virtual mozilla::ipc::IPCResult RecvGetSelectedItem(const uint64_t& aID,
                                                      const uint32_t& aIndex,
                                                      uint64_t* aSelected,
                                                      bool* aOk) override;

  virtual mozilla::ipc::IPCResult RecvIsItemSelected(const uint64_t& aID,
                                                     const uint32_t& aIndex,
                                                     bool* aSelected) override;

  virtual mozilla::ipc::IPCResult RecvAddItemToSelection(
      const uint64_t& aID, const uint32_t& aIndex, bool* aSuccess) override;

  virtual mozilla::ipc::IPCResult RecvRemoveItemFromSelection(
      const uint64_t& aID, const uint32_t& aIndex, bool* aSuccess) override;

  virtual mozilla::ipc::IPCResult RecvSelectAll(const uint64_t& aID,
                                                bool* aSuccess) override;

  virtual mozilla::ipc::IPCResult RecvUnselectAll(const uint64_t& aID,
                                                  bool* aSuccess) override;

  virtual mozilla::ipc::IPCResult RecvDoAction(const uint64_t& aID,
                                               const uint8_t& aIndex,
                                               bool* aSuccess) override;

  virtual mozilla::ipc::IPCResult RecvActionCount(const uint64_t& aID,
                                                  uint8_t* aCount) override;

  virtual mozilla::ipc::IPCResult RecvActionNameAt(const uint64_t& aID,
                                                   const uint8_t& aIndex,
                                                   nsString* aName) override;

  virtual mozilla::ipc::IPCResult RecvAccessKey(
      const uint64_t& aID, uint32_t* aKey, uint32_t* aModifierMask) override;

  virtual mozilla::ipc::IPCResult RecvAtkKeyBinding(const uint64_t& aID,
                                                    nsString* aResult) override;

  virtual mozilla::ipc::IPCResult RecvCurValue(const uint64_t& aID,
                                               double* aValue) override;

  virtual mozilla::ipc::IPCResult RecvSetCurValue(const uint64_t& aID,
                                                  const double& aValue,
                                                  bool* aRetVal) override;

  virtual mozilla::ipc::IPCResult RecvMinValue(const uint64_t& aID,
                                               double* aValue) override;

  virtual mozilla::ipc::IPCResult RecvMaxValue(const uint64_t& aID,
                                               double* aValue) override;

  virtual mozilla::ipc::IPCResult RecvStep(const uint64_t& aID,
                                           double* aStep) override;

  virtual mozilla::ipc::IPCResult RecvLanguage(const uint64_t& aID,
                                               nsString* aLocale) override;
  virtual mozilla::ipc::IPCResult RecvDocType(const uint64_t& aID,
                                              nsString* aType) override;
  virtual mozilla::ipc::IPCResult RecvTitle(const uint64_t& aID,
                                            nsString* aTitle) override;
  virtual mozilla::ipc::IPCResult RecvMimeType(const uint64_t& aID,
                                               nsString* aMime) override;
  virtual mozilla::ipc::IPCResult RecvURLDocTypeMimeType(
      const uint64_t& aID, nsString* aURL, nsString* aDocType,
      nsString* aMimeType) override;

  virtual mozilla::ipc::IPCResult RecvChildAtPoint(
      const uint64_t& aID, const int32_t& aX, const int32_t& aY,
      const uint32_t& aWhich, PDocAccessibleChild** aResultDoc,
      uint64_t* aResultID) override;

  virtual mozilla::ipc::IPCResult RecvExtents(const uint64_t& aID,
                                              const bool& aNeedsScreenCoords,
                                              int32_t* aX, int32_t* aY,
                                              int32_t* aWidth,
                                              int32_t* aHeight) override;
  virtual mozilla::ipc::IPCResult RecvExtentsInCSSPixels(
      const uint64_t& aID, int32_t* aX, int32_t* aY, int32_t* aWidth,
      int32_t* aHeight) override;
  virtual mozilla::ipc::IPCResult RecvDOMNodeID(const uint64_t& aID,
                                                nsString* aDOMNodeID) override;

  virtual bool DeallocPDocAccessiblePlatformExtChild(
      PDocAccessiblePlatformExtChild* aActor) override;

  virtual PDocAccessiblePlatformExtChild* AllocPDocAccessiblePlatformExtChild()
      override;

  DocAccessiblePlatformExtChild* GetPlatformExtension();

 private:
  LocalAccessible* IdToAccessibleLink(const uint64_t& aID) const;
  LocalAccessible* IdToAccessibleSelect(const uint64_t& aID) const;
  TextLeafAccessible* IdToTextLeafAccessible(const uint64_t& aID) const;
  ImageAccessible* IdToImageAccessible(const uint64_t& aID) const;
  TableCellAccessible* IdToTableCellAccessible(const uint64_t& aID) const;
  TableAccessible* IdToTableAccessible(const uint64_t& aID) const;
};

}  // namespace a11y
}  // namespace mozilla

#endif