| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |