| 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 bool hasChildren() const { return m_haveChildren; } | 814 bool hasChildren() const { return m_haveChildren; } |
| 815 virtual void updateChildrenIfNecessary(); | 815 virtual void updateChildrenIfNecessary(); |
| 816 virtual bool needsToUpdateChildren() const { return false; } | 816 virtual bool needsToUpdateChildren() const { return false; } |
| 817 virtual void setNeedsToUpdateChildren() { } | 817 virtual void setNeedsToUpdateChildren() { } |
| 818 virtual void clearChildren(); | 818 virtual void clearChildren(); |
| 819 virtual void detachFromParent() { m_parent = 0; } | 819 virtual void detachFromParent() { m_parent = 0; } |
| 820 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } | 820 virtual AXObject* scrollBar(AccessibilityOrientation) { return 0; } |
| 821 | 821 |
| 822 // Properties of the object's owning document or page. | 822 // Properties of the object's owning document or page. |
| 823 virtual double estimatedLoadingProgress() const { return 0; } | 823 virtual double estimatedLoadingProgress() const { return 0; } |
| 824 AXObject* focusedUIElement() const; | |
| 825 | 824 |
| 826 // DOM and layout tree access. | 825 // DOM and layout tree access. |
| 827 virtual Node* node() const { return 0; } | 826 virtual Node* node() const { return 0; } |
| 828 virtual LayoutObject* layoutObject() const { return 0; } | 827 virtual LayoutObject* layoutObject() const { return 0; } |
| 829 virtual Document* document() const; | 828 virtual Document* document() const; |
| 830 virtual FrameView* documentFrameView() const; | 829 virtual FrameView* documentFrameView() const; |
| 831 virtual Element* anchorElement() const { return 0; } | 830 virtual Element* anchorElement() const { return 0; } |
| 832 virtual Element* actionElement() const { return 0; } | 831 virtual Element* actionElement() const { return 0; } |
| 833 String language() const; | 832 String language() const; |
| 834 bool hasAttribute(const QualifiedName&) const; | 833 bool hasAttribute(const QualifiedName&) const; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 948 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 950 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 949 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 951 | 950 |
| 952 } // namespace blink | 951 } // namespace blink |
| 953 | 952 |
| 954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); | 953 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); |
| 955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); | 954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); |
| 956 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); | 955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); |
| 957 | 956 |
| 958 #endif // AXObject_h | 957 #endif // AXObject_h |
| OLD | NEW |