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

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

Issue 1952863003: Implemented the "aria-current" state on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed switch statements to handle NONE case. Created 4 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 }; 249 };
250 250
251 // These values must match blink::AccessibilityOrientation values. 251 // These values must match blink::AccessibilityOrientation values.
252 // Enforced in AssertMatchingEnums.cpp. 252 // Enforced in AssertMatchingEnums.cpp.
253 enum WebAXOrientation { 253 enum WebAXOrientation {
254 WebAXOrientationUndefined = 0, 254 WebAXOrientationUndefined = 0,
255 WebAXOrientationVertical, 255 WebAXOrientationVertical,
256 WebAXOrientationHorizontal, 256 WebAXOrientationHorizontal,
257 }; 257 };
258 258
259 enum WebAXAriaCurrentState {
260 WebAXAriaCurrentStateUndefined = 0,
261 WebAXAriaCurrentStateFalse,
262 WebAXAriaCurrentStateTrue,
263 WebAXAriaCurrentStatePage,
264 WebAXAriaCurrentStateStep,
265 WebAXAriaCurrentStateLocation,
266 WebAXAriaCurrentStateDate,
267 WebAXAriaCurrentStateTime
268 };
269
259 // Only used by HTML form controls and any other element that has 270 // Only used by HTML form controls and any other element that has
260 // an aria-invalid attribute specified. 271 // an aria-invalid attribute specified.
261 enum WebAXInvalidState { 272 enum WebAXInvalidState {
262 WebAXInvalidStateUndefined = 0, 273 WebAXInvalidStateUndefined = 0,
263 WebAXInvalidStateFalse, 274 WebAXInvalidStateFalse,
264 WebAXInvalidStateTrue, 275 WebAXInvalidStateTrue,
265 WebAXInvalidStateSpelling, 276 WebAXInvalidStateSpelling,
266 WebAXInvalidStateGrammar, 277 WebAXInvalidStateGrammar,
267 WebAXInvalidStateOther 278 WebAXInvalidStateOther
268 }; 279 };
(...skipping 28 matching lines...) Expand all
297 WebAXDescriptionFromUninitialized = -1, 308 WebAXDescriptionFromUninitialized = -1,
298 WebAXDescriptionFromAttribute = 0, 309 WebAXDescriptionFromAttribute = 0,
299 WebAXDescriptionFromContents, 310 WebAXDescriptionFromContents,
300 WebAXDescriptionFromPlaceholder, 311 WebAXDescriptionFromPlaceholder,
301 WebAXDescriptionFromRelatedElement, 312 WebAXDescriptionFromRelatedElement,
302 }; 313 };
303 314
304 } // namespace blink 315 } // namespace blink
305 316
306 #endif 317 #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