| 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 virtual float maxValueForRange() const { return 0.0f; } | 449 virtual float maxValueForRange() const { return 0.0f; } |
| 450 virtual float minValueForRange() const { return 0.0f; } | 450 virtual float minValueForRange() const { return 0.0f; } |
| 451 virtual String placeholder() const { return String(); } | 451 virtual String placeholder() const { return String(); } |
| 452 virtual String stringValue() const { return String(); } | 452 virtual String stringValue() const { return String(); } |
| 453 virtual const AtomicString& textInputType() const { return nullAtom; } | 453 virtual const AtomicString& textInputType() const { return nullAtom; } |
| 454 | 454 |
| 455 // ARIA attributes. | 455 // ARIA attributes. |
| 456 virtual AXObject* activeDescendant() const { return 0; } | 456 virtual AXObject* activeDescendant() const { return 0; } |
| 457 virtual String ariaAutoComplete() const { return String(); } | 457 virtual String ariaAutoComplete() const { return String(); } |
| 458 virtual String ariaDescribedByAttribute() const { return String(); } | 458 virtual String ariaDescribedByAttribute() const { return String(); } |
| 459 virtual const AtomicString& ariaDropEffect() const { return nullAtom; } |
| 459 virtual void ariaFlowToElements(AccessibilityChildrenVector&) const { } | 460 virtual void ariaFlowToElements(AccessibilityChildrenVector&) const { } |
| 460 virtual void ariaControlsElements(AccessibilityChildrenVector&) const { } | 461 virtual void ariaControlsElements(AccessibilityChildrenVector&) const { } |
| 461 virtual void ariaDescribedbyElements(AccessibilityChildrenVector& describedb
y) const { }; | 462 virtual void ariaDescribedbyElements(AccessibilityChildrenVector& describedb
y) const { }; |
| 462 virtual void ariaLabelledbyElements(AccessibilityChildrenVector& labelledby)
const { }; | 463 virtual void ariaLabelledbyElements(AccessibilityChildrenVector& labelledby)
const { }; |
| 463 virtual void ariaOwnsElements(AccessibilityChildrenVector& owns) const { }; | 464 virtual void ariaOwnsElements(AccessibilityChildrenVector& owns) const { }; |
| 464 virtual bool ariaHasPopup() const { return false; } | 465 virtual bool ariaHasPopup() const { return false; } |
| 465 bool ariaIsMultiline() const; | 466 bool ariaIsMultiline() const; |
| 466 virtual String ariaLabeledByAttribute() const { return String(); } | 467 virtual String ariaLabeledByAttribute() const { return String(); } |
| 467 bool ariaPressedIsPresent() const; | 468 bool ariaPressedIsPresent() const; |
| 468 virtual AccessibilityRole ariaRoleAttribute() const { return UnknownRole; } | 469 virtual AccessibilityRole ariaRoleAttribute() const { return UnknownRole; } |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 // functions called here may only search up the tree (ancestors), not down. | 634 // functions called here may only search up the tree (ancestors), not down. |
| 634 void updateCachedAttributeValuesIfNeeded() const; | 635 void updateCachedAttributeValuesIfNeeded() const; |
| 635 }; | 636 }; |
| 636 | 637 |
| 637 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 638 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 638 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 639 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 639 | 640 |
| 640 } // namespace blink | 641 } // namespace blink |
| 641 | 642 |
| 642 #endif // AXObject_h | 643 #endif // AXObject_h |
| OLD | NEW |