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
|
/* 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_DocAccessiblePlatformExtChild_h
#define mozilla_a11y_DocAccessiblePlatformExtChild_h
#include "mozilla/a11y/PDocAccessiblePlatformExtChild.h"
namespace mozilla {
namespace a11y {
class HyperTextAccessibleWrap;
class DocAccessibleChild;
class DocAccessiblePlatformExtChild : public PDocAccessiblePlatformExtChild {
public:
mozilla::ipc::IPCResult RecvRangeAt(
const uint64_t& aID, const int32_t& aOffset,
const EWhichRange& aRangeType, uint64_t* aStartContainer,
int32_t* aStartOffset, uint64_t* aEndContainer, int32_t* aEndOffset);
mozilla::ipc::IPCResult RecvNextClusterAt(const uint64_t& aID,
const int32_t& aOffset,
uint64_t* aNextContainer,
int32_t* aNextOffset);
mozilla::ipc::IPCResult RecvPreviousClusterAt(const uint64_t& aID,
const int32_t& aOffset,
uint64_t* aPrevContainer,
int32_t* aPrevOffset);
mozilla::ipc::IPCResult RecvTextForRange(const uint64_t& aID,
const int32_t& aStartOffset,
const uint64_t& aEndContainer,
const int32_t& aEndOffset,
nsString* aText);
mozilla::ipc::IPCResult RecvBoundsForRange(const uint64_t& aID,
const int32_t& aStartOffset,
const uint64_t& aEndContainer,
const int32_t& aEndOffset,
nsIntRect* aBounds);
mozilla::ipc::IPCResult RecvLengthForRange(const uint64_t& aID,
const int32_t& aStartOffset,
const uint64_t& aEndContainer,
const int32_t& aEndOffset,
int32_t* aLength);
mozilla::ipc::IPCResult RecvOffsetAtIndex(const uint64_t& aID,
const int32_t& aIndex,
uint64_t* aContainer,
int32_t* aOffset);
mozilla::ipc::IPCResult RecvRangeOfChild(const uint64_t& aID,
const uint64_t& aChild,
int32_t* aStartOffset,
int32_t* aEndOffset);
mozilla::ipc::IPCResult RecvLeafAtOffset(const uint64_t& aID,
const int32_t& aOffset,
uint64_t* aLeaf);
MOZ_CAN_RUN_SCRIPT_BOUNDARY mozilla::ipc::IPCResult RecvSelectRange(
const uint64_t& aID, const int32_t& aStartOffset,
const uint64_t& aEndContainer, const int32_t& aEndOffset);
mozilla::ipc::IPCResult RecvApplyPostSearchFilter(
const nsTArray<uint64_t>& aAccessibles, const int32_t& aLimit,
const EWhichPostFilter& aSearchKey, const nsString& aSearchText,
nsTArray<uint64_t>* aMatches);
private:
HyperTextAccessibleWrap* IdToHyperTextAccessibleWrap(
const uint64_t& aID) const;
};
} // namespace a11y
} // namespace mozilla
#endif
|