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

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

Issue 2707263011: Test aria-pressed=mixed on windows (Closed)
Patch Set: git cl try Created 3 years, 7 months 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
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 kWebAXRoleTree, 199 kWebAXRoleTree,
200 kWebAXRoleUserInterfaceTooltip, 200 kWebAXRoleUserInterfaceTooltip,
201 kWebAXRoleVideo, 201 kWebAXRoleVideo,
202 kWebAXRoleWebArea, 202 kWebAXRoleWebArea,
203 kWebAXRoleWindow, 203 kWebAXRoleWindow,
204 }; 204 };
205 205
206 // Accessibility states, used as a bitmask. 206 // Accessibility states, used as a bitmask.
207 enum WebAXState { 207 enum WebAXState {
208 kWebAXStateBusy, 208 kWebAXStateBusy,
209 kWebAXStateChecked,
210 kWebAXStateEnabled, 209 kWebAXStateEnabled,
211 kWebAXStateExpanded, 210 kWebAXStateExpanded,
212 kWebAXStateFocusable, 211 kWebAXStateFocusable,
213 kWebAXStateFocused, 212 kWebAXStateFocused,
214 kWebAXStateHaspopup, 213 kWebAXStateHaspopup,
215 kWebAXStateHovered, 214 kWebAXStateHovered,
216 kWebAXStateInvisible, 215 kWebAXStateInvisible,
217 kWebAXStateLinked, 216 kWebAXStateLinked,
218 kWebAXStateMultiline, 217 kWebAXStateMultiline,
219 kWebAXStateMultiselectable, 218 kWebAXStateMultiselectable,
220 kWebAXStateOffscreen, 219 kWebAXStateOffscreen,
221 kWebAXStatePressed,
222 kWebAXStateProtected, 220 kWebAXStateProtected,
223 kWebAXStateReadonly, 221 kWebAXStateReadonly,
224 kWebAXStateRequired, 222 kWebAXStateRequired,
225 kWebAXStateSelectable, 223 kWebAXStateSelectable,
226 kWebAXStateSelected, 224 kWebAXStateSelected,
227 kWebAXStateVertical, 225 kWebAXStateVertical,
228 kWebAXStateVisited, 226 kWebAXStateVisited,
229 }; 227 };
230 228
231 enum class WebAXDefaultActionVerb { 229 enum class WebAXDefaultActionVerb {
(...skipping 18 matching lines...) Expand all
250 // Sort direction, only used for roles = WebAXRoleRowHeader and 248 // Sort direction, only used for roles = WebAXRoleRowHeader and
251 // WebAXRoleColumnHeader. 249 // WebAXRoleColumnHeader.
252 enum WebAXSortDirection { 250 enum WebAXSortDirection {
253 kWebAXSortDirectionUndefined = 0, 251 kWebAXSortDirectionUndefined = 0,
254 kWebAXSortDirectionNone, 252 kWebAXSortDirectionNone,
255 kWebAXSortDirectionAscending, 253 kWebAXSortDirectionAscending,
256 kWebAXSortDirectionDescending, 254 kWebAXSortDirectionDescending,
257 kWebAXSortDirectionOther 255 kWebAXSortDirectionOther
258 }; 256 };
259 257
260 enum WebAXCheckedState { 258 enum WebAXButtonState {
261 WebAXCheckedFalse = 0, 259 WebAXButtonStateOff = 0,
262 WebAXCheckedTrue, 260 WebAXButtonStateOn,
263 WebAXCheckedMixed 261 WebAXButtonStateMixed
264 }; 262 };
265 263
266 // Expanded State. 264 // Expanded State.
267 // These values must match blink::AccessibilityExpanded values. 265 // These values must match blink::AccessibilityExpanded values.
268 // Enforced in AssertMatchingEnums.cpp. 266 // Enforced in AssertMatchingEnums.cpp.
269 enum WebAXExpanded { 267 enum WebAXExpanded {
270 kWebAXExpandedUndefined = 0, 268 kWebAXExpandedUndefined = 0,
271 kWebAXExpandedCollapsed, 269 kWebAXExpandedCollapsed,
272 kWebAXExpandedExpanded 270 kWebAXExpandedExpanded
273 }; 271 };
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 // empty vector. 385 // empty vector.
388 enum class WebAXObjectVectorAttribute { 386 enum class WebAXObjectVectorAttribute {
389 kAriaControls, 387 kAriaControls,
390 kAriaDetails, 388 kAriaDetails,
391 kAriaFlowTo, 389 kAriaFlowTo,
392 }; 390 };
393 391
394 } // namespace blink 392 } // namespace blink
395 393
396 #endif 394 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | third_party/WebKit/public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698