| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // Hit testing. | 162 // Hit testing. |
| 163 virtual AccessibilityObject* accessibilityHitTest(const IntPoint&) const; | 163 virtual AccessibilityObject* accessibilityHitTest(const IntPoint&) const; |
| 164 virtual AccessibilityObject* elementAccessibilityHitTest(const IntPoint&) co
nst; | 164 virtual AccessibilityObject* elementAccessibilityHitTest(const IntPoint&) co
nst; |
| 165 | 165 |
| 166 // High-level accessibility tree access. Other modules should only use these
functions. | 166 // High-level accessibility tree access. Other modules should only use these
functions. |
| 167 virtual AccessibilityObject* parentObject() const; | 167 virtual AccessibilityObject* parentObject() const; |
| 168 virtual AccessibilityObject* parentObjectIfExists() const; | 168 virtual AccessibilityObject* parentObjectIfExists() const; |
| 169 | 169 |
| 170 // Low-level accessibility tree exploration, only for use within the accessi
bility module. | 170 // Low-level accessibility tree exploration, only for use within the accessi
bility module. |
| 171 virtual AccessibilityObject* firstChild() const; | 171 virtual AccessibilityObject* firstChild() const; |
| 172 virtual AccessibilityObject* lastChild() const; | |
| 173 virtual AccessibilityObject* previousSibling() const; | |
| 174 virtual AccessibilityObject* nextSibling() const; | 172 virtual AccessibilityObject* nextSibling() const; |
| 175 virtual void addChildren(); | 173 virtual void addChildren(); |
| 176 virtual bool canHaveChildren() const; | 174 virtual bool canHaveChildren() const; |
| 177 virtual void updateChildrenIfNecessary(); | 175 virtual void updateChildrenIfNecessary(); |
| 178 virtual void setNeedsToUpdateChildren() { m_childrenDirty = true; } | 176 virtual void setNeedsToUpdateChildren() { m_childrenDirty = true; } |
| 179 virtual void clearChildren(); | 177 virtual void clearChildren(); |
| 180 virtual AccessibilityObject* observableObject() const; | 178 virtual AccessibilityObject* observableObject() const; |
| 181 | 179 |
| 182 // Properties of the object's owning document or page. | 180 // Properties of the object's owning document or page. |
| 183 virtual double estimatedLoadingProgress() const; | 181 virtual double estimatedLoadingProgress() const; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isAccessibilityRenderObj
ect()); | 253 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isAccessibilityRenderObj
ect()); |
| 256 return static_cast<const AccessibilityRenderObject*>(object); | 254 return static_cast<const AccessibilityRenderObject*>(object); |
| 257 } | 255 } |
| 258 | 256 |
| 259 // This will catch anyone doing an unnecessary cast. | 257 // This will catch anyone doing an unnecessary cast. |
| 260 void toAccessibilityRenderObject(const AccessibilityRenderObject*); | 258 void toAccessibilityRenderObject(const AccessibilityRenderObject*); |
| 261 | 259 |
| 262 } // namespace WebCore | 260 } // namespace WebCore |
| 263 | 261 |
| 264 #endif // AccessibilityRenderObject_h | 262 #endif // AccessibilityRenderObject_h |
| OLD | NEW |