mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
bug 1261144 - move GetAccessibleAt to EmbeddedObjCollector r=lsocks
This commit is contained in:
parent
ddf532b5f7
commit
57ae90bd8b
@ -30,7 +30,7 @@ EmbeddedObjCollector::Count()
|
||||
}
|
||||
|
||||
Accessible*
|
||||
AccCollector::GetAccessibleAt(uint32_t aIndex)
|
||||
EmbeddedObjCollector::GetAccessibleAt(uint32_t aIndex)
|
||||
{
|
||||
Accessible* accessible = mObjects.SafeElementAt(aIndex, nullptr);
|
||||
if (accessible)
|
||||
|
@ -24,11 +24,6 @@ public:
|
||||
AccCollector(Accessible* aRoot, filters::FilterFuncPtr aFilterFunc);
|
||||
virtual ~AccCollector();
|
||||
|
||||
/**
|
||||
* Return an accessible from the collection at the given index.
|
||||
*/
|
||||
Accessible* GetAccessibleAt(uint32_t aIndex);
|
||||
|
||||
/**
|
||||
* Return index of the given accessible within the collection.
|
||||
*/
|
||||
@ -79,6 +74,11 @@ public:
|
||||
*/
|
||||
uint32_t Count();
|
||||
|
||||
/**
|
||||
* Return an accessible from the collection at the given index.
|
||||
*/
|
||||
Accessible* GetAccessibleAt(uint32_t aIndex);
|
||||
|
||||
protected:
|
||||
// Make sure it's used by Accessible class only.
|
||||
explicit EmbeddedObjCollector(Accessible* aRoot) :
|
||||
|
Loading…
Reference in New Issue
Block a user