1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_a11y_AccTypes_h
8 #define mozilla_a11y_AccTypes_h
14 * Accessible object types. Each accessible class can have own type.
18 * This set of types is used for accessible creation, keep them together in
19 * alphabetical order since they are used in switch statement.
28 eHTMLDateTimeFieldType
,
43 eHTMLTextPasswordFieldType
,
50 * Other accessible types.
65 eLastAccType
= eXULTreeType
69 * Generic accessible type, different accessible classes can share the same
70 * type, the same accessible class can have several types.
74 eAutoCompletePopup
= 1 << 1,
81 eListControl
= 1 << 8,
88 eNumericValue
= 1 << 15,
89 eActionable
= 1 << 16, // This is for remote accessibles
91 eLastAccGenericType
= eActionable
,
92 eAllGenericTypes
= (eLastAccGenericType
<< 1) - 1
96 } // namespace mozilla
98 #endif // mozilla_a11y_AccTypes_h