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

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

Issue 679623002: Check whether aria-expanded attribute is defined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add COMPILE ASSERT for new enum type 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 | « Source/web/WebAXObject.cpp ('k') | 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
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 WebAXRoleUserInterfaceTooltip, 196 WebAXRoleUserInterfaceTooltip,
197 WebAXRoleValueIndicator, 197 WebAXRoleValueIndicator,
198 WebAXRoleWebArea, 198 WebAXRoleWebArea,
199 WebAXRoleWindow, 199 WebAXRoleWindow,
200 }; 200 };
201 201
202 // Accessibility states, used as a bitmask. 202 // Accessibility states, used as a bitmask.
203 enum WebAXState { 203 enum WebAXState {
204 WebAXStateBusy, 204 WebAXStateBusy,
205 WebAXStateChecked, 205 WebAXStateChecked,
206 WebAXStateCollapsed,
207 WebAXStateEnabled, 206 WebAXStateEnabled,
208 WebAXStateExpanded, 207 WebAXStateExpanded,
209 WebAXStateFocusable, 208 WebAXStateFocusable,
210 WebAXStateFocused, 209 WebAXStateFocused,
211 WebAXStateHaspopup, 210 WebAXStateHaspopup,
212 WebAXStateHovered, 211 WebAXStateHovered,
213 WebAXStateIndeterminate, 212 WebAXStateIndeterminate,
214 WebAXStateInvisible, 213 WebAXStateInvisible,
215 WebAXStateLinked, 214 WebAXStateLinked,
216 WebAXStateMultiselectable, 215 WebAXStateMultiselectable,
217 WebAXStateOffscreen, 216 WebAXStateOffscreen,
218 WebAXStatePressed, 217 WebAXStatePressed,
219 WebAXStateProtected, 218 WebAXStateProtected,
220 WebAXStateReadonly, 219 WebAXStateReadonly,
221 WebAXStateRequired, 220 WebAXStateRequired,
222 WebAXStateSelectable, 221 WebAXStateSelectable,
223 WebAXStateSelected, 222 WebAXStateSelected,
224 WebAXStateVertical, 223 WebAXStateVertical,
225 WebAXStateVisited, 224 WebAXStateVisited,
226 }; 225 };
227 226
228 // Text direction, only used for role=WebAXRoleInlineTextBox. 227 // Text direction, only used for role=WebAXRoleInlineTextBox.
229 enum WebAXTextDirection { 228 enum WebAXTextDirection {
230 WebAXTextDirectionLR, 229 WebAXTextDirectionLR,
231 WebAXTextDirectionRL, 230 WebAXTextDirectionRL,
232 WebAXTextDirectionTB, 231 WebAXTextDirectionTB,
233 WebAXTextDirectionBT 232 WebAXTextDirectionBT
234 }; 233 };
235 234
235 // Expanded State.
236 // These values must match blink::AccessibilityExpanded values.
237 // Enforced in AssertMatchingEnums.cpp.
238 enum WebAXExpanded {
239 WebAXExpandedUndefined = 0,
240 WebAXExpandedCollapsed,
241 WebAXExpandedExpanded
242 };
243
236 } // namespace blink 244 } // namespace blink
237 245
238 #endif 246 #endif
OLDNEW
« no previous file with comments | « Source/web/WebAXObject.cpp ('k') | public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698