Source/WebCore: AXDescription for HTML5 footer
[WebKit-https.git] / Source / WebKit / chromium / public / WebAccessibilityRole.h
1 /*
2  * Copyright (C) 2009 Google Inc. All rights reserved.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions are
6  * met:
7  *
8  *     * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *     * Redistributions in binary form must reproduce the above
11  * copyright notice, this list of conditions and the following disclaimer
12  * in the documentation and/or other materials provided with the
13  * distribution.
14  *     * Neither the name of Google Inc. nor the names of its
15  * contributors may be used to endorse or promote products derived from
16  * this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29  */
30
31 #ifndef WebAccessibilityRole_h
32 #define WebAccessibilityRole_h
33
34 #include "platform/WebCommon.h"
35
36 namespace WebKit {
37
38 // These values must match WebCore::AccessibilityRole values
39 enum WebAccessibilityRole {
40     WebAccessibilityRoleAnnotation = 1,
41     WebAccessibilityRoleApplication,
42     WebAccessibilityRoleApplicationAlert,
43     WebAccessibilityRoleApplicationAlertDialog,
44     WebAccessibilityRoleApplicationDialog,
45     WebAccessibilityRoleApplicationLog,
46     WebAccessibilityRoleApplicationMarquee,
47     WebAccessibilityRoleApplicationStatus,
48     WebAccessibilityRoleApplicationTimer, 
49     WebAccessibilityRoleBrowser,
50     WebAccessibilityRoleBusyIndicator,
51     WebAccessibilityRoleButton,
52     WebAccessibilityRoleCell, 
53     WebAccessibilityRoleCheckBox,
54     WebAccessibilityRoleColorWell,
55     WebAccessibilityRoleColumn,
56     WebAccessibilityRoleColumnHeader,
57     WebAccessibilityRoleComboBox,
58     WebAccessibilityRoleDefinitionListTerm,
59     WebAccessibilityRoleDefinitionListDefinition,
60     WebAccessibilityRoleDirectory,
61     WebAccessibilityRoleDisclosureTriangle,
62     WebAccessibilityRoleDiv,
63     WebAccessibilityRoleDocument,
64     WebAccessibilityRoleDocumentArticle,
65     WebAccessibilityRoleDocumentMath,
66     WebAccessibilityRoleDocumentNote,
67     WebAccessibilityRoleDocumentRegion,
68     WebAccessibilityRoleDrawer,
69     WebAccessibilityRoleEditableText,
70     WebAccessibilityRoleFooter,
71     WebAccessibilityRoleForm,
72     WebAccessibilityRoleGrid,
73     WebAccessibilityRoleGroup,
74     WebAccessibilityRoleGrowArea,
75     WebAccessibilityRoleHeading,
76     WebAccessibilityRoleHelpTag,
77     WebAccessibilityRoleIgnored,
78     WebAccessibilityRoleImage,
79     WebAccessibilityRoleImageMap,
80     WebAccessibilityRoleImageMapLink,
81     WebAccessibilityRoleIncrementor,
82     WebAccessibilityRoleLabel,
83     WebAccessibilityRoleLandmarkApplication,
84     WebAccessibilityRoleLandmarkBanner,
85     WebAccessibilityRoleLandmarkComplementary,
86     WebAccessibilityRoleLandmarkContentInfo,
87     WebAccessibilityRoleLandmarkMain,
88     WebAccessibilityRoleLandmarkNavigation,
89     WebAccessibilityRoleLandmarkSearch,
90     WebAccessibilityRoleLink,
91     WebAccessibilityRoleList,
92     WebAccessibilityRoleListBox,
93     WebAccessibilityRoleListBoxOption,
94     WebAccessibilityRoleListItem,
95     WebAccessibilityRoleListMarker,
96     WebAccessibilityRoleMatte,
97     WebAccessibilityRoleMenu,
98     WebAccessibilityRoleMenuBar,
99     WebAccessibilityRoleMenuButton,
100     WebAccessibilityRoleMenuItem,
101     WebAccessibilityRoleMenuListPopup,
102     WebAccessibilityRoleMenuListOption,
103     WebAccessibilityRoleOutline,
104     WebAccessibilityRoleParagraph,
105     WebAccessibilityRolePopUpButton,
106     WebAccessibilityRolePresentational,
107     WebAccessibilityRoleProgressIndicator,
108     WebAccessibilityRoleRadioButton,
109     WebAccessibilityRoleRadioGroup,
110     WebAccessibilityRoleRowHeader,
111     WebAccessibilityRoleRow,
112     WebAccessibilityRoleRuler,
113     WebAccessibilityRoleRulerMarker,
114     WebAccessibilityRoleScrollArea,
115     WebAccessibilityRoleScrollBar,
116     WebAccessibilityRoleSheet,
117     WebAccessibilityRoleSlider,
118     WebAccessibilityRoleSliderThumb,
119     WebAccessibilityRoleSpinButton,
120     WebAccessibilityRoleSpinButtonPart,
121     WebAccessibilityRoleSplitGroup,
122     WebAccessibilityRoleSplitter,
123     WebAccessibilityRoleStaticText,
124     WebAccessibilityRoleSystemWide,
125     WebAccessibilityRoleTabGroup,
126     WebAccessibilityRoleTabList,
127     WebAccessibilityRoleTabPanel,
128     WebAccessibilityRoleTab,
129     WebAccessibilityRoleTable,
130     WebAccessibilityRoleTableHeaderContainer,
131     WebAccessibilityRoleTextArea,
132     WebAccessibilityRoleTreeRole,
133     WebAccessibilityRoleTreeGrid,
134     WebAccessibilityRoleTreeItemRole,
135     WebAccessibilityRoleTextField,
136     WebAccessibilityRoleToolbar,
137     WebAccessibilityRoleUnknown,
138     WebAccessibilityRoleUserInterfaceTooltip,
139     WebAccessibilityRoleValueIndicator,
140     WebAccessibilityRoleWebArea,
141     WebAccessibilityRoleWebCoreLink,
142     WebAccessibilityRoleWindow,
143 };
144
145 } // namespace WebKit
146
147 #endif