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

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

Issue 1186523002: Clean up unused AX APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 // Expanded State. 239 // Expanded State.
240 // These values must match blink::AccessibilityExpanded values. 240 // These values must match blink::AccessibilityExpanded values.
241 // Enforced in AssertMatchingEnums.cpp. 241 // Enforced in AssertMatchingEnums.cpp.
242 enum WebAXExpanded { 242 enum WebAXExpanded {
243 WebAXExpandedUndefined = 0, 243 WebAXExpandedUndefined = 0,
244 WebAXExpandedCollapsed, 244 WebAXExpandedCollapsed,
245 WebAXExpandedExpanded 245 WebAXExpandedExpanded
246 }; 246 };
247 247
248 // Attribute definition values.
249 // These values must match blink::AccessibilityOptionalBool values.
250 // Enforced in AssertMatchingEnums.cpp.
251 enum WebAXOptionalBool {
252 WebAXOptionalBoolUndefined = 0,
253 WebAXOptionalBoolTrue,
254 WebAXOptionalBoolFalse
255 };
256
257 // These values must match blink::AccessibilityOrientation values. 248 // These values must match blink::AccessibilityOrientation values.
258 // Enforced in AssertMatchingEnums.cpp. 249 // Enforced in AssertMatchingEnums.cpp.
259 enum WebAXOrientation { 250 enum WebAXOrientation {
260 WebAXOrientationUndefined = 0, 251 WebAXOrientationUndefined = 0,
261 WebAXOrientationVertical, 252 WebAXOrientationVertical,
262 WebAXOrientationHorizontal, 253 WebAXOrientationHorizontal,
263 }; 254 };
264 255
265 // Only used by HTML form controls and any other element that has 256 // Only used by HTML form controls and any other element that has
266 // an aria-invalid attribute specified. 257 // an aria-invalid attribute specified.
(...skipping 29 matching lines...) Expand all
296 // because on some platforms this determines how the accessible description 287 // because on some platforms this determines how the accessible description
297 // is exposed. 288 // is exposed.
298 enum WebAXDescriptionFrom { 289 enum WebAXDescriptionFrom {
299 WebAXDescriptionFromPlaceholder, 290 WebAXDescriptionFromPlaceholder,
300 WebAXDescriptionFromRelatedElement 291 WebAXDescriptionFromRelatedElement
301 }; 292 };
302 293
303 } // namespace blink 294 } // namespace blink
304 295
305 #endif 296 #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