| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 // DOM and Render tree access. | 175 // DOM and Render tree access. |
| 176 virtual Node* node() const OVERRIDE; | 176 virtual Node* node() const OVERRIDE; |
| 177 virtual Document* document() const OVERRIDE; | 177 virtual Document* document() const OVERRIDE; |
| 178 virtual FrameView* documentFrameView() const OVERRIDE; | 178 virtual FrameView* documentFrameView() const OVERRIDE; |
| 179 virtual Element* anchorElement() const OVERRIDE; | 179 virtual Element* anchorElement() const OVERRIDE; |
| 180 virtual Widget* widgetForAttachmentView() const OVERRIDE; | 180 virtual Widget* widgetForAttachmentView() const OVERRIDE; |
| 181 | 181 |
| 182 // Selected text. | 182 // Selected text. |
| 183 virtual PlainTextRange selectedTextRange() const OVERRIDE; | 183 virtual PlainTextRange selectedTextRange() const OVERRIDE; |
| 184 virtual String selectedText() const OVERRIDE; | |
| 185 | 184 |
| 186 // Modify or take an action on an object. | 185 // Modify or take an action on an object. |
| 187 virtual void setSelectedTextRange(const PlainTextRange&) OVERRIDE; | 186 virtual void setSelectedTextRange(const PlainTextRange&) OVERRIDE; |
| 188 virtual void setValue(const String&) OVERRIDE; | 187 virtual void setValue(const String&) OVERRIDE; |
| 189 virtual void scrollTo(const IntPoint&) const OVERRIDE; | 188 virtual void scrollTo(const IntPoint&) const OVERRIDE; |
| 190 | 189 |
| 191 // Notifications that this object may have changed. | 190 // Notifications that this object may have changed. |
| 192 virtual void handleActiveDescendantChanged() OVERRIDE; | 191 virtual void handleActiveDescendantChanged() OVERRIDE; |
| 193 virtual void handleAriaExpandedChanged() OVERRIDE; | 192 virtual void handleAriaExpandedChanged() OVERRIDE; |
| 194 virtual void textChanged() OVERRIDE; | 193 virtual void textChanged() OVERRIDE; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 220 void addCanvasChildren(); | 219 void addCanvasChildren(); |
| 221 void addAttachmentChildren(); | 220 void addAttachmentChildren(); |
| 222 void addRemoteSVGChildren(); | 221 void addRemoteSVGChildren(); |
| 223 void addInlineTextBoxChildren(); | 222 void addInlineTextBoxChildren(); |
| 224 | 223 |
| 225 void ariaSelectedRows(AccessibilityChildrenVector&); | 224 void ariaSelectedRows(AccessibilityChildrenVector&); |
| 226 bool elementAttributeValue(const QualifiedName&) const; | 225 bool elementAttributeValue(const QualifiedName&) const; |
| 227 bool inheritsPresentationalRole() const; | 226 bool inheritsPresentationalRole() const; |
| 228 LayoutRect computeElementRect() const; | 227 LayoutRect computeElementRect() const; |
| 229 VisibleSelection selection() const; | 228 VisibleSelection selection() const; |
| 230 String stringForRange(const PlainTextRange&) const; | |
| 231 int indexForVisiblePosition(const VisiblePosition&) const; | 229 int indexForVisiblePosition(const VisiblePosition&) const; |
| 232 }; | 230 }; |
| 233 | 231 |
| 234 DEFINE_AX_OBJECT_TYPE_CASTS(AXRenderObject, isAXRenderObject()); | 232 DEFINE_AX_OBJECT_TYPE_CASTS(AXRenderObject, isAXRenderObject()); |
| 235 | 233 |
| 236 } // namespace WebCore | 234 } // namespace WebCore |
| 237 | 235 |
| 238 #endif // AXRenderObject_h | 236 #endif // AXRenderObject_h |
| OLD | NEW |