| 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 virtual AXObject* nextSibling() const { return 0; } | 550 virtual AXObject* nextSibling() const { return 0; } |
| 551 AXObject* firstAccessibleObjectFromNode(const Node*); | 551 AXObject* firstAccessibleObjectFromNode(const Node*); |
| 552 virtual void addChildren() { } | 552 virtual void addChildren() { } |
| 553 virtual bool canHaveChildren() const { return true; } | 553 virtual bool canHaveChildren() const { return true; } |
| 554 bool hasChildren() const { return m_haveChildren; } | 554 bool hasChildren() const { return m_haveChildren; } |
| 555 virtual void updateChildrenIfNecessary(); | 555 virtual void updateChildrenIfNecessary(); |
| 556 virtual bool needsToUpdateChildren() const { return false; } | 556 virtual bool needsToUpdateChildren() const { return false; } |
| 557 virtual void setNeedsToUpdateChildren() { } | 557 virtual void setNeedsToUpdateChildren() { } |
| 558 virtual void clearChildren(); | 558 virtual void clearChildren(); |
| 559 virtual void detachFromParent() { m_parent = 0; } | 559 virtual void detachFromParent() { m_parent = 0; } |
| 560 virtual AXObject* observableObject() const { return 0; } | |
| 561 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } | 560 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } |
| 562 | 561 |
| 563 // Properties of the object's owning document or page. | 562 // Properties of the object's owning document or page. |
| 564 virtual double estimatedLoadingProgress() const { return 0; } | 563 virtual double estimatedLoadingProgress() const { return 0; } |
| 565 AXObject* focusedUIElement() const; | 564 AXObject* focusedUIElement() const; |
| 566 | 565 |
| 567 // DOM and layout tree access. | 566 // DOM and layout tree access. |
| 568 virtual Node* node() const { return 0; } | 567 virtual Node* node() const { return 0; } |
| 569 virtual LayoutObject* layoutObject() const { return 0; } | 568 virtual LayoutObject* layoutObject() const { return 0; } |
| 570 virtual Document* document() const; | 569 virtual Document* document() const; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 static bool includesARIAWidgetRole(const String&); | 660 static bool includesARIAWidgetRole(const String&); |
| 662 static bool hasInteractiveARIAAttribute(const Element&); | 661 static bool hasInteractiveARIAAttribute(const Element&); |
| 663 }; | 662 }; |
| 664 | 663 |
| 665 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 664 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 666 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 665 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 667 | 666 |
| 668 } // namespace blink | 667 } // namespace blink |
| 669 | 668 |
| 670 #endif // AXObject_h | 669 #endif // AXObject_h |
| OLD | NEW |