Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: sky/engine/public/web/WebAXEnums.h

Issue 673993002: Remove remaining AX code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sky/engine/public/web/WebAXObject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2013 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 WebAXEnums_h
32 #define WebAXEnums_h
33
34 namespace blink {
35
36 // Accessibility events sent from Blink to the embedder.
37 // These values must match blink::AXObjectCache::AXNotification values.
38 // Enforced in AssertMatchingEnums.cpp.
39 enum WebAXEvent {
40 WebAXEventActiveDescendantChanged,
41 WebAXEventAlert,
42 WebAXEventAriaAttributeChanged,
43 WebAXEventAutocorrectionOccured,
44 WebAXEventBlur,
45 WebAXEventCheckedStateChanged,
46 WebAXEventChildrenChanged,
47 WebAXEventFocus,
48 WebAXEventHide,
49 WebAXEventInvalidStatusChanged,
50 WebAXEventLayoutComplete,
51 WebAXEventLiveRegionChanged,
52 WebAXEventLoadComplete,
53 WebAXEventLocationChanged,
54 WebAXEventMenuListItemSelected,
55 WebAXEventMenuListValueChanged,
56 WebAXEventRowCollapsed,
57 WebAXEventRowCountChanged,
58 WebAXEventRowExpanded,
59 WebAXEventScrollPositionChanged,
60 WebAXEventScrolledToAnchor,
61 WebAXEventSelectedChildrenChanged,
62 WebAXEventSelectedTextChanged,
63 WebAXEventShow,
64 WebAXEventTextChanged,
65 WebAXEventTextInserted,
66 WebAXEventTextRemoved,
67 WebAXEventValueChanged
68 };
69
70 // Accessibility roles.
71 // These values must match blink::AccessibilityRole values.
72 // Enforced in AssertMatchingEnums.cpp.
73 enum WebAXRole {
74 WebAXRoleAlertDialog = 1,
75 WebAXRoleAlert,
76 WebAXRoleAnnotation,
77 WebAXRoleApplication,
78 WebAXRoleArticle,
79 WebAXRoleBanner,
80 WebAXRoleBrowser,
81 WebAXRoleBusyIndicator,
82 WebAXRoleButton,
83 WebAXRoleCanvas,
84 WebAXRoleCell,
85 WebAXRoleCheckBox,
86 WebAXRoleColorWell,
87 WebAXRoleColumnHeader,
88 WebAXRoleColumn,
89 WebAXRoleComboBox,
90 WebAXRoleComplementary,
91 WebAXRoleContentInfo,
92 WebAXRoleDefinition,
93 WebAXRoleDescriptionListDetail,
94 WebAXRoleDescriptionListTerm,
95 WebAXRoleDialog,
96 WebAXRoleDirectory,
97 WebAXRoleDisclosureTriangle,
98 WebAXRoleDiv,
99 WebAXRoleDocument,
100 WebAXRoleDrawer,
101 WebAXRoleEditableText,
102 WebAXRoleEmbeddedObject,
103 WebAXRoleFigcaption,
104 WebAXRoleFigure,
105 WebAXRoleFooter,
106 WebAXRoleForm,
107 WebAXRoleGrid,
108 WebAXRoleGroup,
109 WebAXRoleGrowArea,
110 WebAXRoleHeading,
111 WebAXRoleHelpTag,
112 WebAXRoleHorizontalRule,
113 WebAXRoleIframe,
114 WebAXRoleIgnored,
115 WebAXRoleImageMapLink,
116 WebAXRoleImageMap,
117 WebAXRoleImage,
118 WebAXRoleIncrementor,
119 WebAXRoleInlineTextBox,
120 WebAXRoleLabel,
121 WebAXRoleLegend,
122 WebAXRoleLink,
123 WebAXRoleListBoxOption,
124 WebAXRoleListBox,
125 WebAXRoleListItem,
126 WebAXRoleListMarker,
127 WebAXRoleList,
128 WebAXRoleLog,
129 WebAXRoleMain,
130 WebAXRoleMathElement,
131 WebAXRoleMath,
132 WebAXRoleMatte,
133 WebAXRoleMenuBar,
134 WebAXRoleMenuButton,
135 WebAXRoleMenuItem,
136 WebAXRoleMenuListOption,
137 WebAXRoleMenuListPopup,
138 WebAXRoleMenu,
139 WebAXRoleNavigation,
140 WebAXRoleNote,
141 WebAXRoleOutline,
142 WebAXRoleParagraph,
143 WebAXRolePopUpButton,
144 WebAXRolePresentational,
145 WebAXRoleProgressIndicator,
146 WebAXRoleRadioButton,
147 WebAXRoleRadioGroup,
148 WebAXRoleRegion,
149 WebAXRoleRootWebArea,
150 WebAXRoleRowHeader,
151 WebAXRoleRow,
152 WebAXRoleRulerMarker,
153 WebAXRoleRuler,
154 WebAXRoleSVGRoot,
155 WebAXRoleScrollArea,
156 WebAXRoleScrollBar,
157 WebAXRoleSeamlessWebArea,
158 WebAXRoleSearch,
159 WebAXRoleSheet,
160 WebAXRoleSlider,
161 WebAXRoleSliderThumb,
162 WebAXRoleSpinButtonPart,
163 WebAXRoleSpinButton,
164 WebAXRoleSplitGroup,
165 WebAXRoleSplitter,
166 WebAXRoleStaticText,
167 WebAXRoleStatus,
168 WebAXRoleSystemWide,
169 WebAXRoleTabGroup,
170 WebAXRoleTabList,
171 WebAXRoleTabPanel,
172 WebAXRoleTab,
173 WebAXRoleTableHeaderContainer,
174 WebAXRoleTable,
175 WebAXRoleTextArea,
176 WebAXRoleTextField,
177 WebAXRoleTimer,
178 WebAXRoleToggleButton,
179 WebAXRoleToolbar,
180 WebAXRoleTreeGrid,
181 WebAXRoleTreeItem,
182 WebAXRoleTree,
183 WebAXRoleUnknown,
184 WebAXRoleUserInterfaceTooltip,
185 WebAXRoleValueIndicator,
186 WebAXRoleWebArea,
187 WebAXRoleWindow,
188 };
189
190 // Accessibility states, used as a bitmask.
191 enum WebAXState {
192 WebAXStateBusy,
193 WebAXStateChecked,
194 WebAXStateCollapsed,
195 WebAXStateEnabled,
196 WebAXStateExpanded,
197 WebAXStateFocusable,
198 WebAXStateFocused,
199 WebAXStateHaspopup,
200 WebAXStateHovered,
201 WebAXStateIndeterminate,
202 WebAXStateInvisible,
203 WebAXStateLinked,
204 WebAXStateMultiselectable,
205 WebAXStateOffscreen,
206 WebAXStatePressed,
207 WebAXStateProtected,
208 WebAXStateReadonly,
209 WebAXStateRequired,
210 WebAXStateSelectable,
211 WebAXStateSelected,
212 WebAXStateVertical,
213 WebAXStateVisited,
214 };
215
216 // Text direction, only used for role=WebAXRoleInlineTextBox.
217 enum WebAXTextDirection {
218 WebAXTextDirectionLR,
219 WebAXTextDirectionRL,
220 WebAXTextDirectionTB,
221 WebAXTextDirectionBT
222 };
223
224 } // namespace blink
225
226 #endif
OLDNEW
« no previous file with comments | « no previous file | sky/engine/public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698