Copy as Markdown

Other Tools

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/accessible/interfaces/nsIAccessibleRole.idl
*/
#ifndef __gen_nsIAccessibleRole_h__
#define __gen_nsIAccessibleRole_h__
#include "nsISupports.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIAccessibleRole */
#define NS_IACCESSIBLEROLE_IID_STR "ad7f32a5-6d5f-4154-a5b8-0fa7aed48936"
#define NS_IACCESSIBLEROLE_IID \
{0xad7f32a5, 0x6d5f, 0x4154, \
{ 0xa5, 0xb8, 0x0f, 0xa7, 0xae, 0xd4, 0x89, 0x36 }}
class NS_NO_VTABLE nsIAccessibleRole : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEROLE_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIAccessibleRole;
enum {
ROLE_NOTHING = 0U,
ROLE_MENUBAR = 1U,
ROLE_SCROLLBAR = 2U,
ROLE_ALERT = 3U,
ROLE_INTERNAL_FRAME = 4U,
ROLE_MENUPOPUP = 5U,
ROLE_MENUITEM = 6U,
ROLE_TOOLTIP = 7U,
ROLE_APPLICATION = 8U,
ROLE_DOCUMENT = 9U,
ROLE_PANE = 10U,
ROLE_DIALOG = 11U,
ROLE_GROUPING = 12U,
ROLE_SEPARATOR = 13U,
ROLE_TOOLBAR = 14U,
ROLE_STATUSBAR = 15U,
ROLE_TABLE = 16U,
ROLE_COLUMNHEADER = 17U,
ROLE_ROWHEADER = 18U,
ROLE_ROW = 19U,
ROLE_CELL = 20U,
ROLE_LINK = 21U,
ROLE_LIST = 22U,
ROLE_LISTITEM = 23U,
ROLE_OUTLINE = 24U,
ROLE_OUTLINEITEM = 25U,
ROLE_PAGETAB = 26U,
ROLE_PROPERTYPAGE = 27U,
ROLE_GRAPHIC = 28U,
ROLE_STATICTEXT = 29U,
ROLE_TEXT_LEAF = 30U,
ROLE_PUSHBUTTON = 31U,
ROLE_CHECKBUTTON = 32U,
ROLE_RADIOBUTTON = 33U,
ROLE_COMBOBOX = 34U,
ROLE_PROGRESSBAR = 35U,
ROLE_SLIDER = 36U,
ROLE_SPINBUTTON = 37U,
ROLE_DIAGRAM = 38U,
ROLE_ANIMATION = 39U,
ROLE_BUTTONDROPDOWN = 40U,
ROLE_BUTTONMENU = 41U,
ROLE_WHITESPACE = 42U,
ROLE_PAGETABLIST = 43U,
ROLE_CANVAS = 44U,
ROLE_CHECK_MENU_ITEM = 45U,
ROLE_DATE_EDITOR = 46U,
ROLE_CHROME_WINDOW = 47U,
ROLE_LABEL = 48U,
ROLE_PASSWORD_TEXT = 49U,
ROLE_RADIO_MENU_ITEM = 50U,
ROLE_TEXT_CONTAINER = 51U,
ROLE_TOGGLE_BUTTON = 52U,
ROLE_TREE_TABLE = 53U,
ROLE_PARAGRAPH = 54U,
ROLE_ENTRY = 55U,
ROLE_CAPTION = 56U,
ROLE_NON_NATIVE_DOCUMENT = 57U,
ROLE_HEADING = 58U,
ROLE_SECTION = 59U,
ROLE_FORM = 60U,
ROLE_APP_ROOT = 61U,
ROLE_PARENT_MENUITEM = 62U,
ROLE_COMBOBOX_LIST = 63U,
ROLE_COMBOBOX_OPTION = 64U,
ROLE_IMAGE_MAP = 65U,
ROLE_OPTION = 66U,
ROLE_RICH_OPTION = 67U,
ROLE_LISTBOX = 68U,
ROLE_FLAT_EQUATION = 69U,
ROLE_GRID_CELL = 70U,
ROLE_NOTE = 71U,
ROLE_FIGURE = 72U,
ROLE_CHECK_RICH_OPTION = 73U,
ROLE_DEFINITION_LIST = 74U,
ROLE_TERM = 75U,
ROLE_DEFINITION = 76U,
ROLE_KEY = 77U,
ROLE_SWITCH = 78U,
ROLE_MATHML_MATH = 79U,
ROLE_MATHML_IDENTIFIER = 80U,
ROLE_MATHML_NUMBER = 81U,
ROLE_MATHML_OPERATOR = 82U,
ROLE_MATHML_TEXT = 83U,
ROLE_MATHML_STRING_LITERAL = 84U,
ROLE_MATHML_GLYPH = 85U,
ROLE_MATHML_ROW = 86U,
ROLE_MATHML_FRACTION = 87U,
ROLE_MATHML_SQUARE_ROOT = 88U,
ROLE_MATHML_ROOT = 89U,
ROLE_MATHML_ENCLOSED = 90U,
ROLE_MATHML_STYLE = 91U,
ROLE_MATHML_SUB = 92U,
ROLE_MATHML_SUP = 93U,
ROLE_MATHML_SUB_SUP = 94U,
ROLE_MATHML_UNDER = 95U,
ROLE_MATHML_OVER = 96U,
ROLE_MATHML_UNDER_OVER = 97U,
ROLE_MATHML_MULTISCRIPTS = 98U,
ROLE_MATHML_TABLE = 99U,
ROLE_MATHML_LABELED_ROW = 100U,
ROLE_MATHML_TABLE_ROW = 101U,
ROLE_MATHML_CELL = 102U,
ROLE_MATHML_ACTION = 103U,
ROLE_MATHML_ERROR = 104U,
ROLE_MATHML_STACK = 105U,
ROLE_MATHML_LONG_DIVISION = 106U,
ROLE_MATHML_STACK_GROUP = 107U,
ROLE_MATHML_STACK_ROW = 108U,
ROLE_MATHML_STACK_CARRIES = 109U,
ROLE_MATHML_STACK_CARRY = 110U,
ROLE_MATHML_STACK_LINE = 111U,
ROLE_RADIO_GROUP = 112U,
ROLE_TEXT = 113U,
ROLE_DETAILS = 114U,
ROLE_SUMMARY = 115U,
ROLE_LANDMARK = 116U,
ROLE_NAVIGATION = 117U,
ROLE_FOOTNOTE = 118U,
ROLE_ARTICLE = 119U,
ROLE_REGION = 120U,
ROLE_EDITCOMBOBOX = 121U,
ROLE_BLOCKQUOTE = 122U,
ROLE_CONTENT_DELETION = 123U,
ROLE_CONTENT_INSERTION = 124U,
ROLE_FORM_LANDMARK = 125U,
ROLE_MARK = 126U,
ROLE_SUGGESTION = 127U,
ROLE_COMMENT = 128U,
ROLE_CODE = 129U,
ROLE_TIME_EDITOR = 130U,
ROLE_LISTITEM_MARKER = 131U,
ROLE_METER = 132U,
ROLE_SUBSCRIPT = 133U,
ROLE_SUPERSCRIPT = 134U,
ROLE_EMPHASIS = 135U,
ROLE_STRONG = 136U,
ROLE_TIME = 137U,
ROLE_GRID = 138U,
ROLE_ROWGROUP = 139U
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleRole, NS_IACCESSIBLEROLE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSIBLEROLE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIACCESSIBLEROLE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSIBLEROLE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIACCESSIBLEROLE(_to) \
#endif /* __gen_nsIAccessibleRole_h__ */