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 * Copyright (C) 2008 Nuanti Ltd. | 3 * Copyright (C) 2008 Nuanti Ltd. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 virtual void colorValue(int& r, int& g, int& b) const { r = 0; g = 0; b = 0;
} | 429 virtual void colorValue(int& r, int& g, int& b) const { r = 0; g = 0; b = 0;
} |
430 virtual String valueDescription() const { return String(); } | 430 virtual String valueDescription() const { return String(); } |
431 virtual float valueForRange() const { return 0.0f; } | 431 virtual float valueForRange() const { return 0.0f; } |
432 virtual float maxValueForRange() const { return 0.0f; } | 432 virtual float maxValueForRange() const { return 0.0f; } |
433 virtual float minValueForRange() const { return 0.0f; } | 433 virtual float minValueForRange() const { return 0.0f; } |
434 virtual String stringValue() const { return String(); } | 434 virtual String stringValue() const { return String(); } |
435 virtual const AtomicString& textInputType() const { return nullAtom; } | 435 virtual const AtomicString& textInputType() const { return nullAtom; } |
436 | 436 |
437 // ARIA attributes. | 437 // ARIA attributes. |
438 virtual AXObject* activeDescendant() const { return 0; } | 438 virtual AXObject* activeDescendant() const { return 0; } |
| 439 virtual String ariaAutoComplete() const { return String(); } |
439 virtual String ariaDescribedByAttribute() const { return String(); } | 440 virtual String ariaDescribedByAttribute() const { return String(); } |
440 virtual void ariaFlowToElements(AccessibilityChildrenVector&) const { } | 441 virtual void ariaFlowToElements(AccessibilityChildrenVector&) const { } |
441 virtual void ariaControlsElements(AccessibilityChildrenVector&) const { } | 442 virtual void ariaControlsElements(AccessibilityChildrenVector&) const { } |
442 virtual void ariaDescribedbyElements(AccessibilityChildrenVector& describedb
y) const { }; | 443 virtual void ariaDescribedbyElements(AccessibilityChildrenVector& describedb
y) const { }; |
443 virtual void ariaLabelledbyElements(AccessibilityChildrenVector& labelledby)
const { }; | 444 virtual void ariaLabelledbyElements(AccessibilityChildrenVector& labelledby)
const { }; |
444 virtual void ariaOwnsElements(AccessibilityChildrenVector& owns) const { }; | 445 virtual void ariaOwnsElements(AccessibilityChildrenVector& owns) const { }; |
445 virtual bool ariaHasPopup() const { return false; } | 446 virtual bool ariaHasPopup() const { return false; } |
446 bool ariaIsMultiline() const; | 447 bool ariaIsMultiline() const; |
447 virtual String ariaLabeledByAttribute() const { return String(); } | 448 virtual String ariaLabeledByAttribute() const { return String(); } |
448 bool ariaPressedIsPresent() const; | 449 bool ariaPressedIsPresent() const; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 // functions called here may only search up the tree (ancestors), not down. | 611 // functions called here may only search up the tree (ancestors), not down. |
611 void updateCachedAttributeValuesIfNeeded() const; | 612 void updateCachedAttributeValuesIfNeeded() const; |
612 }; | 613 }; |
613 | 614 |
614 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 615 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
615 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 616 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
616 | 617 |
617 } // namespace blink | 618 } // namespace blink |
618 | 619 |
619 #endif // AXObject_h | 620 #endif // AXObject_h |
OLD | NEW |