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.
66 eLastAccType
= eXULTreeType
70 * Generic accessible type, different accessible classes can share the same
71 * type, the same accessible class can have several types.
75 eAutoCompletePopup
= 1 << 1,
82 eListControl
= 1 << 8,
89 eNumericValue
= 1 << 15,
90 eActionable
= 1 << 16, // This is for remote accessibles
92 eLastAccGenericType
= eActionable
,
93 eAllGenericTypes
= (eLastAccGenericType
<< 1) - 1
97 } // namespace mozilla
99 #endif // mozilla_a11y_AccTypes_h