OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 || supportsARIADragging() | 418 || supportsARIADragging() |
419 || supportsARIADropping() | 419 || supportsARIADropping() |
420 || supportsARIAFlowTo() | 420 || supportsARIAFlowTo() |
421 || supportsARIAOwns() | 421 || supportsARIAOwns() |
422 || hasAttribute(aria_labelAttr); | 422 || hasAttribute(aria_labelAttr); |
423 } | 423 } |
424 | 424 |
425 bool AXObject::supportsRangeValue() const | 425 bool AXObject::supportsRangeValue() const |
426 { | 426 { |
427 return isProgressIndicator() | 427 return isProgressIndicator() |
| 428 || isMeter() |
428 || isSlider() | 429 || isSlider() |
429 || isScrollbar() | 430 || isScrollbar() |
430 || isSpinButton(); | 431 || isSpinButton(); |
431 } | 432 } |
432 | 433 |
433 void AXObject::ariaTreeRows(AccessibilityChildrenVector& result) | 434 void AXObject::ariaTreeRows(AccessibilityChildrenVector& result) |
434 { | 435 { |
435 AccessibilityChildrenVector axChildren = children(); | 436 AccessibilityChildrenVector axChildren = children(); |
436 unsigned count = axChildren.size(); | 437 unsigned count = axChildren.size(); |
437 for (unsigned k = 0; k < count; ++k) { | 438 for (unsigned k = 0; k < count; ++k) { |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 } | 971 } |
971 | 972 |
972 const AtomicString& AXObject::roleName(AccessibilityRole role) | 973 const AtomicString& AXObject::roleName(AccessibilityRole role) |
973 { | 974 { |
974 static const Vector<AtomicString>* roleNameVector = createRoleNameVector(); | 975 static const Vector<AtomicString>* roleNameVector = createRoleNameVector(); |
975 | 976 |
976 return roleNameVector->at(role); | 977 return roleNameVector->at(role); |
977 } | 978 } |
978 | 979 |
979 } // namespace blink | 980 } // namespace blink |
OLD | NEW |