1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_a11y_Filters_h__
6 #define mozilla_a11y_Filters_h__
11 * Predefined filters used for nsAccIterator and nsAccCollector.
27 * Return true if the traversed accessible complies with filter.
29 typedef uint32_t (*FilterFuncPtr
) (Accessible
*);
32 * Matches selected/selectable accessibles in subtree.
34 uint32_t GetSelected(Accessible
* aAccessible
);
35 uint32_t GetSelectable(Accessible
* aAccessible
);
38 * Matches row accessibles in subtree.
40 uint32_t GetRow(Accessible
* aAccessible
);
43 * Matches cell accessibles in children.
45 uint32_t GetCell(Accessible
* aAccessible
);
48 * Matches embedded objects in children.
50 uint32_t GetEmbeddedObject(Accessible
* aAccessible
);
52 } // namespace filters
54 } // namespace mozilla